Jump to content

Edit History

lateral

lateral

Hi

The issue looks connected to setting the Minimum Quantity to anything greater than “1”.  
 

Have you tried setting this with a Product in one of your test Backends to see if you can reproduce it?

 

I appreciate your help  

 

I have also checked the product-list.tpl and I think this block of code maybe where this issue is?

 

<div class="button-container">
                            {if ($product.id_product_attribute == 0 || (isset($add_prod_display) && ($add_prod_display == 1))) && $product.available_for_order && !isset($restricted_country_mode) && $product.minimal_quantity <= 1 && $product.customizable != 2 && !$PS_CATALOG_MODE}
                                {if ($product.allow_oosp || $product.quantity > 0)}
                                    {if isset($static_token)}
                                        <a class="button ajax_add_to_cart_button btn btn-default" href="{$link->getPageLink('cart',false, NULL, "add=1&amp;id_product={$product.id_product|intval}&amp;token={$static_token}", false)|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='Add to cart'}" data-id-product="{$product.id_product|intval}">
                                            <span>{l s='Add to cart'}</span>
                                        </a>
                                    {else}
                                        <a class="button ajax_add_to_cart_button btn btn-default" href="{$link->getPageLink('cart',false, NULL, 'add=1&amp;id_product={$product.id_product|intval}', false)|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='Add to cart'}" data-id-product="{$product.id_product|intval}">
                                            <span>{l s='Add to cart'}</span>
                                        </a>
                                    {/if}
                                {else}
                                    <span class="button ajax_add_to_cart_button btn btn-default disabled">
                                        <span>{l s='Add to cart'}</span>
                                    </span>
                                {/if}
                            {/if}
                            </br>
                            <a itemprop="url" class="button lnk_view btn btn-default" href="{$product.link|escape:'html':'UTF-8'}" title="{l s='View'}">
                                <span>{l s='More'}</span>
                            </a>
                        </div>

 

Cheers 

Greg

 

 

lateral

lateral

Hi

The issue looks connected to setting the Minimum Quantity to anything greater than “1”.  
 

Have you tried setting this with a Product in one of your test Backends to see if you can reproduce it?

I appreciate your help  

Cheers 

Greg

 

 

×
×
  • Create New...