Re: The "Add to Basket" button is redirecting to the /cart page instead of opening the drawer

Dear community,

I’ve added an “Add to Cart” button to the featured collection on my homepage by inserting the following code into

snippets/card-product.liquid.

Add to Cart

I’ve set the cart type to “drawer” in the cart options, but when I click the “Add to Cart” button, it redirects me to the /cart page instead of opening the drawer.

Does anyone have any suggestions on how to fix this?

Thanks in advance!

Best regards,
Adrian

Hi @adkowaty

Can you share store URL?

1 Like

Hi @adkowaty

Hi,

  1. go to the theme customization.
  2. Select a Feature collection
  3. search for quick add setting and choose the standard option
    It will resolve your issue of redirecting to the cart page.

Hi Sam,

Sure.

https://vapelounge.uk/ - password: vl

Regards,

Adrian

Hi Sam,

I have this option selected, but still do not work. :confused:

Regards,

Adrian

Which theme you are using?

I can develop the custom code needed to add items to the drawer from the collection feature page. Please connect with me to discuss further.

Hi Sam,

Dawn version 15.1.0

Regards,

Adrian

Sam,

Sorry no budget, anyway thanks for your interest.

Regards,

Adrian