Problem with making the cart open on demand.

Problem with making the cart open on demand.

Bontalexel31
Shopify Partner
28 2 4

Hey guys,

 

I'm adding a small feature to my Theme, and I need the cart to appear after a click on a custom button. My theme is Dawn, and when using Cart type Drawer or Popup notification, I know that my cart is a dialog box.

I try to force it to open by adding the attributes that it has when it begins like "open" and "aria-modal"="true".
but nothing happens.

 

Any idea how to make it work?

Show Variant Options as Text or Colored Swatches with Add to cart Button on Home and Collection Page
Install it now for free!
Swatch Display: https://apps.shopify.com/swatch-display
Replies 2 (2)

oscprofessional
Shopify Partner
16372 2440 3187

Hello @Bontalexel31 ,

Could you please share your store's URL with Us ? This will help me provide a more accurate solution ?

Thank you !!

Hire us | Pass Core Web Vital | B2B Wholesale Experts | Claim Your Free Website Review |
Connect with Us: WhatsApp | Skype: oscprofessionals-87 | Email: pallavi@oscprofessionals.com |
Custom Shopify SolutionsPrivate Apps, Theme Customization & SEO | Digital Marketing |
OSCP Apps: Discount Suite | Wholesale App | Bundle & Upsell | Shipping Discount | and more...
Bontalexel31
Shopify Partner
28 2 4

Hey I'm a developer, not a merchant, so my store is just a test store like the default one you get when you create it with the default development products, the theme is Dawn.

Show Variant Options as Text or Colored Swatches with Add to cart Button on Home and Collection Page
Install it now for free!
Swatch Display: https://apps.shopify.com/swatch-display