Post by CJC » Thu Mar 02, 2023 10:13 pm

Hi All,
This just started happening. When you visit shorelinepetroleum.com and click on the order button, you will see the prices. If you then go to the homepage and use the account menu to login and then go back to the order page, the prices are gone and adding a quantity of product to the cart adds it at $0.0. The product pricing is done via the discount tab in the backend. Any ideas where to look to see how this happened? BTW, in settings the 'login to see prices' option is disabled. I've attached 2 screenshots showing the display and developer console when not logged in and logged in.
OC 3.0.3.8, default theme

Thank You.
Image
Image

CJC
Active Member

Posts

Joined
Wed Jun 03, 2020 5:51 am

Post by SohBH » Fri Mar 03, 2023 3:15 pm

Hi
The position of discount price table under description
Is it coded in twig or input in admin description?

View all extensions | Request custom work | Pricing | Contact Me


User avatar
Active Member

Posts

Joined
Mon Nov 02, 2020 12:01 am
Location - Malaysia

Post by paulfeakins » Fri Mar 03, 2023 6:44 pm

Has your host added any server-side caching perhaps?

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


User avatar
Legendary Member
Online

Posts

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

Post by CJC » Fri Mar 03, 2023 10:14 pm

paulfeakins wrote:
Fri Mar 03, 2023 6:44 pm
Has your host added any server-side caching perhaps?
I found it! As you can see from the screenshot, that product has a sliding discount price based on quantity. We also have an extension that moves customers to a different group once they have purchased a certain amount. (That's so we can do targeted marketing). But I never realized that the discount pricing configuration is limited to a specific group. So the account I was testing with happened to be in that other group and of course once I logged in, there was no pricing available because the discounts are all assigned to the 'default' group. So now I have to see if there's any way that discounts can be applied to all groups rather than having to enter them multiple times.
Thanks for looking into this.

CJC
Active Member

Posts

Joined
Wed Jun 03, 2020 5:51 am

Post by CJC » Sat Mar 04, 2023 1:45 am

SohBH wrote:
Fri Mar 03, 2023 3:15 pm
Hi
The position of discount price table under description
Is it coded in twig or input in admin description?
Both. The prices are input in admin, but I repositioned the table by editing the twig.
EDIT: I found out the problem -see previous post.

CJC
Active Member

Posts

Joined
Wed Jun 03, 2020 5:51 am
Who is online

Users browsing this forum: No registered users and 12 guests