Jump to content

Edit total_customization_wt


Recommended Posts

Hi guys

 

I need modify variable total_customization_wt. I need this:

 

total_customization_wt + X

 

X is a number (additional price). X can be different. X is dependent on the category of the product.

 

if the category ID is 1 => X = 400

if the category ID is 2 => X = 350

if the category ID is 3 => X =0

 

I tried edit shopping-cart-product-line.tpl (because i need it in shopping cart):

 

displayPrice price=$product.total_customization_wt+400

 

This code does not work because it does not save anywhere and it does not solve dependent X with ID.

 

Sorry for my language skills. I have Prestashop 1.4.7

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