Dawn Theme: Complementary Product Block Displays Incorrect Price

Dawn Theme: Complementary Product Block Displays Incorrect Price

wickedbride
Excursionist
33 2 26

I'm having a weird issue where the complementary products block is showing the wrong price on a product. When the page first loads, the kits are $29, but after a few seconds when the page finishes loading, they're $39. The correct price is $29. Shopify help says there is so much custom coding in my theme (Dawn) that they can't help me, and the bug doesn't reoccur when testing in a fresh copy of Dawn. The glitch happens on both desktop and mobile.

 

Example page is: https://www.wickedbride.com/products/future-mrs-wedding-planning-binder-1

 

Screenshot 2024-06-24 at 2.06.31 PM.png

 

 

Does anyone know what could possibly cause a glitch like this? I've checked the product pages, the coding for the block - I can't find anything wrong.

 

A second issue I'm having is that on Chrome, only 1 of the kits will display (and if I take out the option, the block disappears altogether), but if I open up an Incognito browser, both will display)

 

A non-incognito Chrome window running OSX14.5:

 

Screenshot 2024-06-24 at 1.43.55 PM.png

 

Any help is appreciated - I did have a developer do some work a little while back and he disconnected my theme from Shopify and attached it to GitHub without my permission, which essentially rendered it a custom theme, which Shopify won't support. I know I need to start over eventually in a fresh copy of Dawn but I've done SO much custom code over the last 2 years I wouldn't even know where to start.

Replies 2 (2)

suyash1
Shopify Partner
9585 1199 1540

@wickedbride - with css sale price 29 is been hidden and regular price 39 is shown, add this css to the end of yor base.css file and check

 

.complementary-products__container .price__container .price__regular{diplay:none !important; viibility:hidden !important;}

.complementary-products__container .price__container .price-item--sale{display: block;}

.complementary-products__container .price__container s.price-item--regular{diplay:none !important; viibility:hidden !important;}
Support me | To build shopify pages use pagefly | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
wickedbride
Excursionist
33 2 26

Thanks so much - but unfortunately this didn't work. I'm not sure where it's pulling the $39 price from because the item is $29, it's not on sale, that's the regular price.

 

For now, I'm just going to change it to a text block, I guess - it's not as nice as displaying the product thumbnails, but it's a workaround for now until I can sort this out. I just don't want people not purchasing because they're seeing a price $10 higher.