Shopify themes, liquid, logos, and UX
To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more
Hey everyone!
I'm using the Impulse theme and trying to place the quantity selector on the same line as the add to cart button. Could anyone help with this? I've tried a few things but unfortunately, couldn't get this to work myself.
This is how it currently looks:
Thank you!
Solved! Go to the solution
This is an accepted solution.
not required now any details I will manage can you please add below code
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
.product__quantity.product__quantity--button { position: absolute; margin-top: -25px; } .product-single__meta .payment-buttons .cartbutton { display: inline-block; width: calc(100% - 110px); margin-left: 110px; } .product-single__meta .js-qty__num { padding: 11px 25px; }
Hello, @spencer123432
Thanks for post.
Please share your site URL,
So I will check and provide a solution here.
Hey, there.
This is Dallas from the Shopify Social Care Team.
Although this is isn't a Shopify theme and I am not able to send this over to my themes team to get this customized for you, I did want to give you a note of information that you might find helpful if you don't find an answer for this in this forum thread.
Even though our themes team won't be able to help you, our Shopify Experts should be able to customize this for you. There is a fee associated with them, but they are very talented.
I hope that helps you out! Best of luck 😊
Dallas | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Thanks, for the URL.
do you have something like this?
Thanks for update
it's can be done change back end some code so i need you to store details can you please send a personal message i will guide.
Hi @spencer123432,
Do you mean re-positioning the buttons and the quantity selector like this? If that's the case, I suggest you try this pre-made template. The template is a ready-made product page template, but you can also adjust the color, spacing, or positions of the elements, without coding.
It's a free template from PageFly. You can view the full version of it here.
If it’s helpful to you, please let me know by giving it a like or marking it as a solution.
PageFly #1 Shopify Landing Page Builder - Free to use, 24/7 Live Chat Support.
Hesitate to begin? Check out our top brands with successful stories with PageFly’s Case Studies.
This is an accepted solution.
not required now any details I will manage can you please add below code
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
.product__quantity.product__quantity--button { position: absolute; margin-top: -25px; } .product-single__meta .payment-buttons .cartbutton { display: inline-block; width: calc(100% - 110px); margin-left: 110px; } .product-single__meta .js-qty__num { padding: 11px 25px; }
Hi @KetanKumar
I use the same theme and put that code in but this is what i see. Any help on how to correct it would be great! Thank you!
Hello, @LeahandRosemary
Welcome to the Shopify community! Please share your site URL, So I will check and provide a solution here.
Thanks for URL.
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__inventory {
margin-top: -38px;
}
.add-to-cart.btn--secondary {
width: calc(100% - 110px);
margin-left: 110px;
}
Thank you - I changed it a little to make it the same width as the add to bag button. But as you can see below, when i click plus or minus it does not change the quantity and it has now removed the functionality of my cart drawer popping out on the side when i click add to bag.
Any thoughts on how too correct?
Strangely, when i removed "inventory notice" button for the product page it moved the quantity bar. Do you know how to fix this or make it relative so that for the inventory notice button if certain products are low on inventory it does not move the quantity button?
Thanka for udpate
sorry i can't see quantity button right now.
Hey, how did you get the quantity selector up with impulse?
Hi KetanKumar
Would that be applicable to my Supply theme?
I am also looking for ways to do the same button positioning.
User | RANK |
---|---|
115 | |
87 | |
71 | |
65 | |
46 |
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