Post by tonythackray » Fri Mar 27, 2020 1:07 am

I am trying to create a product that will be charged per letter and size, its a custom design for vinyl lettering. The product is designed through a custom html page and added to the cart using a curl post.

I am having trouble getting the cost to be calculated correctly, in the html it is calculated using js, but when input in OC it takes the price of the product.

I can see two ways around it, neither I can work out...
1) Overwrite the OC price with the calculated js price

2)Set the OC product up with options for the number of letters and have a price multiplier from these.

Has anyone done something similar, I know there are custom product designers, but haven't found any that will charge per letter and size.

Thanks

Newbie

Posts

Joined
Tue Oct 15, 2019 7:33 pm

Post by IP_CAM » Fri Mar 27, 2020 10:28 am

Better get a Professional, already familiar with such Custom Coding, you problem
won't be solvable around here, I assume ... ;)

PRICE BY FORMULA + live price update
https://www.opencart.com/index.php?rout ... n_id=22281
---
price by function + LIVE PRICE UPDATE
https://www.opencart.com/index.php?rout ... n_id=23399
---
Product price based on price matrix
https://www.opencart.com/index.php?rout ... n_id=32393

Contact: jti@jacob.ch
---
Demos:
OpenCart LIGHT 1.5.6.5: http://www.openshop.li/light/
OpenCart V-PRO 1.5.6.5: http://www.velomech.ch/shop/
V-PRO Multi Theme View: http://www.openshop.li/shop/
---
Downloads:
Free Github OC Downloads: https://github.com/IP-CAM
1'900+ FREE OC Extensions from the world's largest Github OC Archive.
---
Image


User avatar
Legendary Member

Posts

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

Post by paulfeakins » Fri Mar 27, 2020 6:59 pm

tonythackray wrote:
Fri Mar 27, 2020 1:07 am
1) Overwrite the OC price with the calculated js price
Would be very easy for a customer to pay less than they should.

You should pay a developer such as ourselves or one from Commercial Support.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Expert Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom
Who is online

Users browsing this forum: mantolis and 12 guests