Post by tomeda » Wed Jan 20, 2021 10:53 pm

I have an issue with the OC pricing. As my prices change based on product size options.

In the product regular price, I put the smallest size option price (20.0000 for example), then for the smallest size option L, I use 0.0000 price, then for XL option the price is + 2.0000, XXL + 4.0000, 3XL is +6.0000.

But as I am using option stock subtract, at some point the L size becomes "0" stock and in the front end, L size is removed. The regular price is still (20.0000), and when the user selects the XL option the price becomes 22.0000, and there the inconvenience occurs as people are expecting to pay 20.0000 not 22.0000.

Is there any solution that can auto change the regular price if option quantity is greater than 0 and option price is greater than 0?

OpenCart SEO Services
http://tomeda.bg


User avatar
New member

Posts

Joined
Thu Mar 19, 2015 4:48 am


Post by straightlight » Wed Jan 20, 2021 10:55 pm

OC version.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by tomeda » Wed Jan 20, 2021 11:09 pm

OC 2.1.0.2

Attachments

Продукти (1).jpg

Продукти (1).jpg (77.7 KiB) Viewed 1236 times


OpenCart SEO Services
http://tomeda.bg


User avatar
New member

Posts

Joined
Thu Mar 19, 2015 4:48 am


Post by straightlight » Wed Jan 20, 2021 11:11 pm

That's pretty old. The issue you're reporting about might of been fixed a long time ago already.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by tomeda » Wed Jan 20, 2021 11:27 pm

I'm not sure about that. By fixed what do you mean? Do you know what are the affected files and where can I download them? Thanks!

OpenCart SEO Services
http://tomeda.bg


User avatar
New member

Posts

Joined
Thu Mar 19, 2015 4:48 am


Post by straightlight » Wed Jan 20, 2021 11:39 pm

tomeda wrote:
Wed Jan 20, 2021 11:27 pm
I'm not sure about that. By fixed what do you mean? Do you know what are the affected files and where can I download them? Thanks!
You can either download them from Opencart.com and rely on recent updates or take a look at the master branch for the files based on the routes on the URL you are using and reporting about. You can also search on the Marketplace by using the search bar on the left or by looking on Google.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by tomeda » Thu Jan 21, 2021 4:57 am

I just checked the OC3, and there is the same thing.

I think you didn't understand me.

I'll try to explain:

Product regular price is: 14.99

I have options:

XS + 0.0000 Price (Quantity - 0)
S + 3.0000 (Quantity - 2)
M + 5.0000 (Quantity - 5)
and so on...

On the front end, on the product page, I see the regular price 14.99 for that product. What I want is to see the regular price + the next option price with the available quantity.

For example the regular price 14.99+3= 17.99 this is the price I want to see when I visit the product.

If:

XS + 0.0000 Price (Quantity - 0)
S + 3.0000 (Quantity - 0)
M + 5.0000 (Quantity - 5)

I want to see price 19.99

Attachments

Без име.jpg

Без име.jpg (57.52 KiB) Viewed 1156 times

Продукти (2).png

Продукти (2).png (80.05 KiB) Viewed 1163 times

Продукти (3).png

Продукти (3).png (28.39 KiB) Viewed 1163 times


OpenCart SEO Services
http://tomeda.bg


User avatar
New member

Posts

Joined
Thu Mar 19, 2015 4:48 am


Post by by mona » Thu Jan 21, 2021 5:31 am

I kind of thought that earlier today, but I was not sure.
Flanders has some great live price with options extensions and he is a great developer.
https://www.opencart.com/index.php?rout ... r=flanders

If you are not sure which one, contact him, he will go through it with you - he has a variety of versions
from showing the price change in products to having the first option price in categories.

Feel free to search LIVE PRICE WITH OPTIONS in the marketplace - it is a well covered modification to opencart

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by straightlight » Thu Jan 21, 2021 7:06 am

Feel free to search LIVE PRICE WITH OPTIONS in the marketplace - it is a well covered modification to opencart
https://www.opencart.com/index.php?rout ... n_id=11794

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by tomeda » Thu Jan 21, 2021 5:45 pm

Will take a look at it.

For me, I think the whole process should happen in the admin area, not on the front end.

If option is available and option price is greater than 0 and quantity is greater 0 , than regular price is .... (respecting option sort order).

OpenCart SEO Services
http://tomeda.bg


User avatar
New member

Posts

Joined
Thu Mar 19, 2015 4:48 am

Who is online

Users browsing this forum: No registered users and 9 guests