Jump to content

[SOLVED] Just a little question for color picker


Recommended Posts

hello..i was wondering if there is an sql statement to enable the color picker for all my products by default. I have the same color picker for all my products

this is written by rocky and i think that this can be modified for the color picker but i don't know how :(

TRUNCATE `ps_product_attribute_image`;
INSERT INTO `ps_product_attribute_image` SELECT `id_product_attribute`, `id_image` FROM `ps_product_attribute` pa LEFT JOIN `ps_image` i ON (pa.`id_product` = i.`id_product`);


please help

Thanks !
Link to comment
Share on other sites

  • 3 months later...

Hey there
I have same color picker problem but my mysql knowledge limited so can somebody please tell me step by step how can I solve it from PHP myadmin. Otherwise I have to click 1000+ links at back office and enable color picker one by one.
Thanks

Link to comment
Share on other sites

Click on the Gözat tab to browse your products. You can select multiple rows and then click the pencil icon to edit them, then change all the "id_color_default" values to the id_attribute_group of the color group you want to use on the product.

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...