Shopify themes, liquid, logos, and UX
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.
Please let me know if it works by giving it a like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Let’s create a unique website design with PageFly for free now!
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 |
---|---|
210 | |
148 | |
68 | |
46 | |
41 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023