Jump to content

cedrowa

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by cedrowa

  1. Nie mam takiego mechanizmu. Założenie było takie, żeby potwierdzić to w koszyku. Możesz podać przykład takiego modułu?
  2. Cześć, potrzebuję dodać checkbox w koszyku z potwierdzeniem pełnoletności, niby nic trudnego ale muszę go połączyć z konkretną kategorią (kategoriami) - innymi słowy, checkbox musi się wyświetlić tylko wtedy, gdy w koszyku jest produkt z danej kategorii. Chcę to zrobić w order-carrier.tpl ale nie umiem napisać warunku do sprawdzenia ID kategorii produktów. Proszę o pomoc w ogarnięciu tematu. Presta 1.6.1.24
  3. Hi, I'm looking for a similar solution to Presta 1.7 Do you have any info about a solution suitable for Presta 1.7?
  4. Hi, I have a partial solution for EAN codes. In the public_html / themes / (template-name) /templates/catalog/_partials/product-details.tpl file, the following code should be added to the condition around line 80, between {/if} and {/block} {if isset($product.ean13) && $product.ean13 neq ''} <section class="product-features"> <p class="h6">{l s='Specific References' d='Shop.Theme.Catalog'}</p> <dl class="data-sheet"> <dt class="name">{l s='EAN' d='Shop.Theme.Catalog'}</dt> <dd class="value">{$product.ean13}</dd> </dl> </section> {/if} This is the second (additional) condition to the existing one. In total, this code snippet should look like this: {* if product have specific references, a table will be added to product details section *} {block name='product_specific_references'} {if !empty($product.specific_references)} <div class="specific-references"> {foreach from=$product.specific_references item=reference key=key} <div> <label class="label">{$key}</label> <span>{$reference}</span> </div> {/foreach} </div> {/if} {if isset($product.ean13) && $product.ean13 neq ''} <section class="product-features"> <p class="h6">{l s='Specific References' d='Shop.Theme.Catalog'}</p> <dl class="data-sheet"> <dt class="name">{l s='EAN' d='Shop.Theme.Catalog'}</dt> <dd class="value">{$product.ean13}</dd> </dl> </section> {/if} {/block} Presta 1.7.7.4 Remember to make a copy of this file before modifying!
  5. Cześć, pytanie sprzed dwóch lat, ale trafiłem tu szukając podobnej solucji. Kolejności kombinacji nie ustalamy w karcie produktu, tylko w zakładce atrybuty&cechy. Przesuwając je góra dół, ustalamy kolejność wyświetlaną w produkcie na front endzie.
×
×
  • Create New...