Re: Problem with making the cart open on demand.

Problem with making the cart open on demand.

Bontalexel31
Shopify Partner
28 2 3

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
16115 2409 3121

Hello @Bontalexel31 ,

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

Thank you !!

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing | Oscp Upsell & Cross sell App : Free | Oscp Sales & Volume Discount App : Free | Custom Pricing Wholesale App : Free
Bontalexel31
Shopify Partner
28 2 3

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