Post by SelfSus » Mon Aug 12, 2024 6:08 pm

Scratching my head here.

I have forced options on a few products e.g. https://www.livingseeds.co.za/tyson-seed-potatoes
If I have the base price (900g) entered in the Data page it then doubles the price on checkout.
Is there a way to get text in the Prices field on the Data page, like Prices from xxxx ?

Right now it's 0.00 on the product page (and Data page) but it does not look great.

TIA

Selfsustainable farmer living the dream. http://www.livingseeds.co.za


User avatar
Active Member

Posts

Joined
Fri May 27, 2011 8:40 pm
Location - ZA

Post by ADD Creative » Mon Aug 12, 2024 7:07 pm

The option price is added to the base price. You could subtract the base price from all the options and set this as the options prices. Otherwise you would need to modify code or look for an extension.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by paulfeakins » Mon Aug 12, 2024 7:12 pm

SelfSus wrote:
Mon Aug 12, 2024 6:08 pm
Is there a way to get text in the Prices field on the Data page, like Prices from xxxx ?
Yes, with an extension or custom code.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by JNeuhoff » Mon Aug 12, 2024 7:25 pm

You could make one of your radio options the default one when the document ready state is triggered, which would use an Ajax call to extension/loadprice for the default option (e.g. the lowest value first option). Could all be done with a simple jquery in your footer.twig.

Or you could use the approach as in your https://www.livingseeds.co.za/valor-seed-potatoes where the product price appears to be the one for the lowest 900g quantity, where your 900g option is zero-priced.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: No registered users and 18 guests