Jump to content

Specific Prices for Customers not working


PeterVD

Recommended Posts

Hello,

 

 

I've been having this problem (attaching a picture with it), where Fixed Price does not work.

 

I also searched the forum for several answers, none of them worked or were developed enough to solve them, does anyone know how to fix this? Or is this a known bug in the new version?

 

 

(It used to work before (version 1.6.0.x) I upgraded to version 1.6.1.1)

post-959164-0-21553600-1443623618_thumb.png

Link to comment
Share on other sites

ALTER TABLE `ps_specific_price` ENGINE=MyISAM;

ALTER IGNORE TABLE `ps_specific_price` ADD UNIQUE KEY `id_product_2` (`id_cart`,`id_product`,`id_shop`,`id_shop_group`,`id_currency`,`id_country`,`id_group`,`id_customer`,`id_product_attribute`,`from_quantity`,`id_specific_price_rule`,`from`,`to`);

 

Tried to use this, but it gives me an error 

 

Comando SQL:

ALTER IGNORE TABLE `ps_specific_price` ADD UNIQUE KEY `id_product_2` ( `id_cart` , `id_product` , `id_shop` , `id_shop_group` ,`id_currency` , `id_country` , `id_group` , `id_customer` , `id_product_attribute` , `from_quantity` , `id_specific_price_rule` , `from` , `to`) ;
 

Mensagens do MySQL : dot.gif

#1062 - Duplicate entry '0-4010-0-0-0-0-2-0-0-1-0-0000-00-00 00:00:00-0000-00-00 00:00:00' for key 'id_product_2' 

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