Jump to content

Issue with attributes and unit prices


mlandry

Recommended Posts

Hello everybody,

 

I’m currently setting up my Prestashop store and I’ve decided to sell some gift certificates for my business (a gym).

 

For each kind of subscription, there is an attribute (length) with 3 values (1 month, 3 months, 6 months and 12 months (1 year)).

 

Obviously, the price of the gift certificate increases depending on the length of the subscription. But when I want to set a “unit price” to show the price of the subscription per month, it simply doesn’t work. I’ve tried to adjust the impact on unit price in each value, but everything stays the same.

 

Here is my price structure :

 

1 month : 55 $

3 months : 153 $ (51$ / month)

6 months : 264 $ (44 $ / month)

12 months : 408 $ (34 $ / month)

 

But here is the result in my store, no matter what I specify in the “unit price” impact in my values :

 

1 month : 55 $ (55 $ / month)

3 months : 153 $ (153 $ / month)

6 months : 264 $ (264 $ / month)

12 months : 408 $ (408 $ / month)

 

I’ve done some research on many forums, and it appears I’m not the only one to have that kind of problem. I’ve tried many solutions that were provided, but none seems to work in my case. I’ve come to understand that the issue might be in the product.js file of my theme, but I don’t know where to start. And it’s an issue that I absolutely have to solve, because the laws where I operate my business say that it is mandatory to show the total price AND the price per month for each type of subscription.

 

You can see the problem for yourself in the attached files (sorry, they are in French, but I hope you’ll understand anyway).

 

Thank you very much for your help!

 

 

post-1244286-0-92087100-1462494568_thumb.png

post-1244286-0-75420800-1462494569_thumb.png

post-1244286-0-51796600-1462494570_thumb.png

post-1244286-0-99020000-1462494570_thumb.png

post-1244286-0-66810600-1462494571_thumb.png

post-1244286-0-41587200-1462494572_thumb.png

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