Jump to content

[CLOSED] - Cart Rules for Products - How to identify


prestatent

Recommended Posts

Prestashop 1.6.0.8

 

Hi

 

To cut a long story short, I'm creating vouchers via coding and want to add vouchers only for products that the customer has already bought. I'm stuck at one database table however.

 

"CART_RULE_PRODUCT_RULE_VALUE" has entries for each product already bought. See images for details via the backoffice.

 

What I want to know is, how do the entries in this table link to actual products on "PRODUCTS" table?

 

Thanks for any help you can give.

post-374128-0-93832600-1414753360_thumb.jpg

post-374128-0-83890900-1414753364_thumb.jpg

Edited by prestatent (see edit history)
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...