Dawn Theme - Add to cart in Image and text section

Show More

There is no option to add to cart in the dawn theme for image with text and rich text on the product page. I can make it go to other pages but not add to cart or at the very least how can I get it to scroll to the product information section. Doesn’t make sense that this is not a native feature.

If I choose the product as the button destination it just refreshes the page. Makes no sense. How can I get it to scroll to the product information section but better if it can act as a add to cart button.

Any help is welcome, thank you. Using the dawn theme.

If the Dawn theme does not have a built-in option to add an “Add to Cart” button directly to the Image with Text or Rich Text section on the product page, you may need to make some customizations to achieve the desired functionality. Here are a couple of approaches you can consider:

  1. Custom JavaScript Solution: You can use custom JavaScript to add an “Add to Cart” functionality or scroll to the product information section when the button is clicked. Here’s a general outline of the steps involved:

    a. Add a unique identifier (e.g., an ID or class) to the product information section in your theme’s HTML code. b. Locate the code for the Image with Text or Rich Text section in your theme’s code files. c. Add an “Add to Cart” button or any other desired button element to the section. d. Attach an event listener to the button using JavaScript. e. In the event listener, you can use Shopify’s AJAX API to add the product to the cart or use JavaScript’s scroll functionality to scroll to the product information section.

@brettybpoo You need to customize the according to your features which you want into your site.(You can take help from expert or who’s familiar with the themes and know how to do customization) or you can use another theme.