Jump to content

Where is ps_order_detail.product_reference set in the code during Order process


mastershay1

Recommended Posts

Table: ps_order_detail

Column: product_reference

 

This value is set during order process and uses the reference of the product's selected combination, not the product's overall reference. Example: if a product has different colors, the product reference for the red version is used.

 

Where does this override occur in the code?

 

I copied the XLS and PLT fields from the Information tab to the Combination tabs, in the same manner as Reference.

 

Now I just need to have these values override the default XLS and PLT values sent to the database when placing an order, if the combinations have these values assigned.

 

Thanks

 

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