Jump to content

Add custom pricing?


theterri41

Recommended Posts

Hi!

So I use PrestaShop together with a module called "tshirtecommerce".
And I've written a code that calculates the amount of custom text and updates the price accordingly.
The problem is that I would like to save the custom calculated price to the product so when the product appears in the checkout stage, the custom price will be combined with the basic price.
For example:

A shirt costs 10 dollars.
The user adds custom text that amounts to 4 dollars.
When the user adds the product to the cart, the product should be 14 dollars instead of 10 dollars.

Thank you in advance!

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