Jump to content

Edit History

Jones87

Jones87

Good Morning,

I am creating an online store with Prestashop 1.7.7.7 and I would like to remove the quantity selector that the template brings by default (the template in question also the one that comes by default) since the products are going to be sold by quantity sections (25 , 50,100 ... etc)

original.jpg.db11d66e026830dd274b98e994486548.jpg

Searching in the Prestashop forums and after much searching I found this solution on the route: themes/classic/assets/css/theme.css

.product-quantity .qty {

display:none;}

But the quantity header keeps appearing.

image.png.92e40486b26067ea18da1911faae2f5b.png

 

And if I use:

.product-actions .control-label {

display: none;}

The headers of the combinations I have created also disappear.

1761645818_option2.jpg.68a94a46ff79cbd95e67335ea048b5a9.jpg

 

This other option deletes the header, but the problem is that it also deletes my cart and that I am interested in leaving it to be able to add the products.

.product-add-to-cart {

display:none;}

50753683_option3.jpg.16df92f881f861d2d64f4cdba8851621.jpg

 

I have also tried with this option on the route:

themes/templates/catalog/_partials/product-add-to-cart.tpl

Remove:

<span class="control-label">{l s='Quantity' d='Shop.Theme.Catalog'}</span>

Change:

type="number"
name="qty"
id="quantity_wanted"

to:

type="hidden"
name="qty"

But none of these options have finished solving the problem for me.

Does anyone have any other suggestions?

Thank you so much beforehand.

 

 

 

Jones87

Jones87

Good Morning,

I am creating an online store with Prestashop 1.7.7.7 and I would like to remove the quantity selector that the template brings by default (the template in question also the one that comes by default) since the products are going to be sold by quantity sections (25 , 50,100 ... etc)

original.jpg.db11d66e026830dd274b98e994486548.jpg

Searching in the Prestashop forums and after much searching I found this solution on the route: themes/classic/assets/css/theme.css

.product-quantity .qty {

display:none;}

But the quantity header keeps appearing.

image.png.92e40486b26067ea18da1911faae2f5b.png

 

And if I use:

.product-actions .control-label {

display: none;}

The headers of the combinations I have created also disappear.

1761645818_option2.jpg.68a94a46ff79cbd95e67335ea048b5a9.jpg

 

This other option deletes the header, but the problem is that it also deletes my cart and that I am interested in leaving it to be able to add the products.

.product-add-to-cart {

display:none;}

50753683_option3.jpg.16df92f881f861d2d64f4cdba8851621.jpg

 

I have also tried with this option on the route:

themes/templates/catalog/_partials/product-add-to-cart.tpl

Remove:

<span class="control-label">{l s='Quantity' d='Shop.Theme.Catalog'}</span>

Change:

type="number"
name="qty"
id="quantity_wanted"

to:

type="hidden"
name="qty"

But none of these options have finished solving the problem for me.

Does anyone have any other suggestions?

Thank you so much beforehand.

image.png

image.png

image.png

Jones87

Jones87

Good Morning,

I am creating an online store with Prestashop 1.7.7.7 and I would like to remove the quantity selector that the template brings by default (the template in question also the one that comes by default) since the products are going to be sold by quantity sections (25 , 50,100 ... etc)

image.png.ac3f2b6d29c0a340bccc68979306252a.png

Searching in the Prestashop forums and after much searching I found this solution on the route: themes/classic/assets/css/theme.css

.product-quantity .qty {

display:none;}

But the quantity header keeps appearing.

image.png.92e40486b26067ea18da1911faae2f5b.png

 

And if I use:

.product-actions .control-label {

display: none;}

The headers of the combinations I have created also disappear.

image.png.c4916a3e45076df2154b2ab4679d10aa.png

 

This other option deletes the header, but the problem is that it also deletes my cart and that I am interested in leaving it to be able to add the products.

.product-add-to-cart {

display:none;}

image.png.ab13a89a5ff9fcd1a64d95709476399e.png

 

I have also tried with this option on the route:

themes/templates/catalog/_partials/product-add-to-cart.tpl

Remove:

<span class="control-label">{l s='Quantity' d='Shop.Theme.Catalog'}</span>

Change:

type="number"
name="qty"
id="quantity_wanted"

to:

type="hidden"
name="qty"

But none of these options have finished solving the problem for me.

Does anyone have any other suggestions?

Thank you so much beforehand.

×
×
  • Create New...