
It is possible to have the product qty field on the result page ?
Like this module : https://addons.prestashop.com/demo/FO21493.html
Thanks.
Regards.
Remy
It is possible to have the product qty field on the result page ?
Like this module : https://addons.prestashop.com/demo/FO21493.html
Thanks.
Regards.
Remy
Hello Remy,
I apologize for the delay.
Do you mean search result page?
If so, it is not possible to configure search results page in Themler directly.
Gina
Themler Support
We have added the module (https://addons.prestashop.com/demo/FO21493.html) but Themler doesnt recognize it.
We can customize the result page (see picture) but the module is not anchored in the Themler products list...
Do you see a way to fix this ?
Regards :)
je peux ajouter ce code :
<form action method class>
<input type="hidden" name="token" value="{$static_token|escape:'htmlall':'UTF-8'}">
<input type="hidden" value="{$product.id_product|intval}" name="id_product">
<input type="hidden" value="{$product.quantity|intval}" name="product_quantity">
{if $product.available_for_order}
<input type="number" min="{if isset($product.product_attribute_minimal_quantity) && $product.product_attribute_minimal_quantity >= 1}{$product.product_attribute_minimal_quantity|intval}{else}{$product.minimal_quantity|intval}{/if}" class="input-group form-control number-quantity" name="qty" value="{if isset($product.product_attribute_minimal_quantity) && $product.product_attribute_minimal_quantity >= 1}{$product.product_attribute_minimal_quantity|intval}{else}{$product.minimal_quantity|intval}{/if}" data_allow_order="{if $product.allow_oosp || !$is_stock_management}1{/if}">
{if ($product.allow_oosp || $product.quantity > 0)}
<button data-button-action="add-to-cart" class="btn btn-primary button-quantity">{l s='Add to cart' mod='productlistquantity'}</button>
{else}
<button class="btn btn-primary button-quantity" disabled >{l s='Add to cart' mod='productlistquantity'}</button>
{/if}
{/if}
</form>
il s'affiche très bien
Mais peut on l'ajuster pour qu'il soit fonctionnel?
We can add this code - the appaerance is ok but it is not bind to the database - how to do that ?
Remy
J'ai trouvé !
tout est ici :
https://www.arnaud-merigeau.fr/ajouter-le-champ-quantite-dans-la-liste-produit-de-prestashop/