Jump to content

Adding new product attributes directly to database did not work


user2020

Recommended Posts

Hello,

I've had a request to making sweeping changes to all product pages on the prestashop.  As a test I created php-mysql code to add the new attributes directly to the following tables in database for a test product:

stock_available

product_attribute_shop

product_attribute

product_attribute_combination

layered_product_attribute

I've created new attributes via back office and confirmed the additions in the following tables:

attribute

attribute_group_language

attribute_lang

Despite adding those new attributes, the additions did not show up on the test product page.  Is there some kind of flag somewhere in database that needs to be turned on?  I've searched everywhere in database for anything related to attributes and thought I covered everything (search terms used to find tables containing the following column names:  id_attribute, id_product_attribute, id_stock_available, id_product, id_attribute_group).

Thanks in advance for any tips you can provide.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...