Jump to content

Price drop is empty after manual record entry in ps_specific_price table


Recommended Posts

I am importing XML data and adding products directly into database with php code. It works fine, i can edit the product successfully. Checkout also working fine.

 

I am also manually adding records to specific_price table. I can view it in Specific Prices section when i edit the product. But ALL OF THE ITEMS does not appear in the Price Drop page (the page is empty)

 

When i add new SPECIFIC PRICE from back office to any product, everything starts working fine. All products are started displaying in Price Drop.

 

I believe i am missing some function call or a table which activates price drop or something similar.

 

Any help is appreciated.

 

PS version 1.6.09

 

 

Link to comment
Share on other sites

update the priority able too like:

 

Db::getInstance()->Execute('
INSERT INTO `'._DB_PREFIX_.'specific_price_priority` (
`id_specific_price_priority` ,
`id_product` ,
`priority`
)
VALUES (
NULL ,  \''.$veri3['id_product'].'\',  \''.$veri2['priority'].'\'
);');
}
Link to comment
Share on other sites

×
×
  • Create New...