Shopify themes, liquid, logos, and UX
Hello,
I added the featured row (image and text) section to the product page template, all worked out however there is no button I can add under the text. I've been trying to add the button some how on the code but cant find how to add it then under the text. I'd appreciate some help here, thanks.
(my site is rosalynnskin.com and I am using the debutify theme)
Hi @RosalynnSkin ,
Add to cart button already there . which button you want to add?
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community!😊
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
Here's my product page I'm referring too: https://rosalynnskin.com/products/rosalynnskin-hair-removal-handset?variant=40421411848376
I want to include "Add to cart" buttons under each of the text for the 'text and image' sections.
As seen in this snippet, where the button says "Add To Cart".
Hi @RosalynnSkin ,
Copy the code of add to cart button & paste in product-template.liquid file
below text
<form method="post" action="/cart/add">
<input type="hidden" name="id" value="{{ product.variants.first.id }}" />
<input min="1" type="number" id="quantity" name="quantity" value="1"/>
<input type="submit" value="Add to cart" class="btn" />
</form>
Sorry I'm not sure if I wasn't more specific that didn't seem to work.
Similar to a Buy Now button, yet it says "Add to cart", then that button adds it to the cart and takes you to the cart page.
That being said when I paste the code given below it appears at the end of the description however I manually added the text and image section to the product template, and want to add it there under the text in the snippet I attached earlier.
When I pasted the code you gave me under the product template. liquid this appears, which is not what I was going for.
please check theme setting its dissable
Hmm, I just checked it doesnt seem to be an option to enable the button for the image and text section when I imported it into the product page. If I missed it there can you let me know, however I don't believe it is there.
you have just add to cart button then user click got to top
It doesn't seem to be in my theme setting, here's a snippet of what I see. I think it's an HTML issue maybe.
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024