Shopify themes, liquid, logos, and UX
Hi,
This question has been raised a few times, but I can't get it up and working (outdated posts?) and I have an additional question regarding the design.
As I am using Debut theme there is by default no "add to cart" button below the products on the homepage/collection pages. I would like to add an "add to cart" button in the same style as if you would create a Buy button for an external site (Sales Channels > Buy button > Create a buy button). Please find an image below.
Can anyone help me out? Thanks in advance!Buy button
Solved! Go to the solution
thanks
i have update my color collection page proper code so can you please update
also if you need same as product page it can be done some customization code
Hey i was wondering if you could help me too.
I have added in thr add to cart button on my best sellers collection on the homepage but its not aligned
Its also not going to cart just an invalid page can you help me too?
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.
thanks for store URL, please add this code
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
.product-card__title {min-height: 50px;isplay: inline-block;}
oh wow
thanks so much
Any idea how to fix the add to cart so it goes to the cart page and not an error?
also can we straighten the add to cart button?
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.
sorry but you have add wrong code please add this code
<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>
Thank you so much
I have done that now
Is it possible to move the view all button down?
and line up hte add to cart buttons - it looks quite messy on mobile
Yes, please add this css code
.product-card__title {
min-height: 50px;
display: inline-block;
}
where does it go?
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
Hello there, I have done this, but on mobile, i have very weird spacing on my buttons. (see photo) Can you advise how to correct that?
Thanks
sorry for this issue 'bt i can't see any photos also please share store url
sorry i can't see your attachment bt can you please try this code
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
@media only screen and (max-width: 749px) {
.btn, .shopify-payment-button .shopify-payment-button__button--unbranded {font-size: 12px;}
}
Here is what I am referring to.
do you have like this?
User | RANK |
---|---|
135 | |
91 | |
76 | |
64 | |
52 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022