Disappeared: Add To Cart Button

Solved
sofiapc
Excursionist
25 0 2

Hello,

 

We noticed that the "Add to Cart" button has disappeared from our product pages when we create new pages:

https://onetreeplanted.org/collections/canada/products/copy-of-quebec-test

 

This is how the page is supposed to look like (old version of page):

https://onetreeplanted.org/collections/canada/products/quebec

 

Could this have something to do with the "Gift Wizard" app (which is responsible for showing the "Gift These Trees" button)?

 

Any help/feedback would be appreciated.

 

Thank you in advance!

 

 

Note: we did not make any updates or install new apps recently. The most recent update was from "PageFly" app 2 weeks ago.

0 Likes
Paul_West
Shopify Partner
248 9 62

There is some css that says:

 

 
form[action^="/cart/add"] [type=submit] {
    visibility: hidden;
}
0 Likes
sofiapc
Excursionist
25 0 2

Hello Paul,

 

Thank you for your reply!

Yes, in fact, it appears that the button is there, but being hidden by the CSS.

 

Is there a way to find out why this is happening?

 

We tried looking in the styles.scss.liquid file but were not able to find any code that is hiding the button.

 

Thanks again!

0 Likes

This is an accepted solution.

Hello @sofiapc 

 

Please paste below code in style file and check.

form[action^="/cart/add"] .purchase-details__buttons #ergeergds[type=submit] {
    visibility: visible;
}

 

Above solution is the alternative solution to your queries. To fix the actual functionality, we have to debug the code and also, we have to check the settings.

 

Please let me know if you have any question. 

Regards,
PSD Webdesigns
support@psdwebdesigns.com
sofiapc
Excursionist
25 0 2

Hi @PSD_Webdesigns,

 

Yes, that seems to have worked, thank you!

 

Also, in terms of fixing the actual functionality, where would I go to check the settings?

 

Thanks again!

0 Likes
Ste9h
New Member
2 0 0

Hi,

 

This is also happening in my store which has Atlantic theme. I did add some code due to a Google issue which may have impacted it. I can't seem to fix it any help would be appreciated:

enahnce-confidence.myshopify.com

Kind Regards,

 

Steph

0 Likes