Post by Tamara_89 » Fri Oct 16, 2020 8:13 pm

I am developing a website in Opencart version 2.3. I have to change the price of the product based on user location and weight of the selected product. I am getting the User City from a popup in my home page. That stores the City name in session. I am storing the cities in a separate table. Every Product will have a weights of 250 grams, 500 grams and 1kg.

My requirement is to get the price of the item based on both location and weight. Each city will have different price for the same product.

Can someone suggest me how to achieve this. Explanation in a theoretical way is fine. I can code for that. I just need help with the approach.

provitalize reviews


Newbie

Posts

Joined
Fri Oct 09, 2020 5:18 pm

Post by IP_CAM » Sat Oct 17, 2020 1:14 am

Well, you could use Customer Groups, where each City would consist out of a specific
Customer Group, that's about the only way, to achieve such. I did not find anything better ...
Ernie
---
Live prices depends Region selected
https://www.opencart.com/index.php?rout ... n_id=21330
Group price ( VQMOD )
https://www.opencart.com/index.php?rout ... on_id=7556
Basic Price In Customer Groups
https://www.opencart.com/index.php?rout ... n_id=33047
Discount/Fee based on Amount, Group, GeoZone, Shipping, Payment
https://www.opencart.com/index.php?rout ... n_id=14762

Please don't send me OC Forum Personal Messages, just contact: jti@jacob.ch
---
OC 1.5.6.5 LIGHT Test Site: http://www.bigmax.ch/shop/
OC 1.5.6.5 V-PRO Test Site: http://www.openshop.li/shop/
My Github OC Site: https://github.com/IP-CAM
2'600+ FREE OC Extensions on the World's largest Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 23 guests