Solved

Delete or changing Quantity button in the cart page.

kiki12345
Tourist
15 0 1

Hi, I would like to change the screen when checking out so that a user can only order one item at a time. (I want to prevent users from changing the quantity from one) Is that possible?

On the product page, I can find the "Show quantity selector" button, but I can't find the same button on the cart page. I want to prevent users from ordering more than one.

Best

 

kiki12345_0-1624983689833.png

 

Accepted Solution (1)
Michal17
Shopify Partner
835 73 175

This is an accepted solution.

Hi @kiki12345 

Hope you're having a great day!

can you edit this code for delete quantity section( or select only "one" in quantity) in cart page?

To remove the quantity section, you should comment out these lines of code.

scrnli_05_07_2021_21-21-46.png


If you found this comment useful, hit the 'Like' and 'Accepted solution' buttons.

View solution in original post

Replies 5 (5)

Michal17
Shopify Partner
835 73 175

Hi @kiki12345 

Hope you're having a great day!

What theme do you use? Could you share the source code of product-template.liquid and cart-template.liquid files by following the steps below:

scrnli_22_05_2021_15-34-42.png

kiki12345
Tourist
15 0 1

hi @Michal17 

Thanks for your reply.

These are file of product and cart code.

Product→https://github.com/kazuaki12345/shopifyproduct.git

Cart→https://github.com/kazuaki12345/Shopifycart.git

(Pagefly→https://github.com/kazuaki12345/pagefly.git

Best

kiki

Michal17
Shopify Partner
835 73 175

Hi @kiki12345 

Hope you're having a great day.

You are using PageFly and most pages are generated automatically, so modifying the code to find a solution for you would cancel when the page is generated again by Pagefly.

kiki12345
Tourist
15 0 1

@Michal17 

Thanks!

can you edit this code for delete quantity section( or select only "one" in quantity) in cart page?

I think this is not made by pagefly. 

https://github.com/kazuaki12345/cart.git

 

Best

Michal17
Shopify Partner
835 73 175

This is an accepted solution.

Hi @kiki12345 

Hope you're having a great day!

can you edit this code for delete quantity section( or select only "one" in quantity) in cart page?

To remove the quantity section, you should comment out these lines of code.

scrnli_05_07_2021_21-21-46.png


If you found this comment useful, hit the 'Like' and 'Accepted solution' buttons.