nunorosado Posted November 26, 2014 Share Posted November 26, 2014 Hello so I have created a new var at product page and that is working! i want to call that var at the pop up but i did everything and i can't call that var can anyone help me how to call that var please. Best Regards Nuno rosado Link to comment Share on other sites More sharing options...
vekia Posted November 27, 2014 Share Posted November 27, 2014 how you defined it (and where) and how you're trying to call it? Link to comment Share on other sites More sharing options...
nunorosado Posted December 1, 2014 Author Share Posted December 1, 2014 I just declare the var in the top of the file like this <!-- block list of products --> <div class="cart_block_list{if isset($blockcart_top) && !$blockcart_top}{if isset($colapseExpandStatus) && $colapseExpandStatus eq 'expanded' || !$ajax_allowed || !isset($colapseExpandStatus)} expanded{else} collapsed unvisible{/if}{/if}"> {if $products} <dl class="products"> {foreach from=$products item='product' name='myLoop'} {assign var='tipoficha' value=$product.ean13} and i just call like this <div class="layer_cart_product col-xs-12 col-md-6"> <span class="cross" title="{l s='Close window' mod='blockcart'}"></span> <h2> <i class="icon-ok"></i>{l s='Product successfully added to your shopping cart' mod='blockcart'} </h2> <div class="product-image-container layer_cart_img"> </div> <div class="layer_cart_product_info"> <span id="layer_cart_product_title" class="product-name"></span> <span id="layer_cart_product_attributes"></span> <div> <strong class="dark">{l s='Quantity' mod='blockcart'}</strong> <span id="layer_cart_product_quantity"></span> </div> <div> <strong class="dark">{l s='Total' mod='blockcart'}</strong> <span id="layer_cart_product_price"></span> {$product->ean13} </div> </div> </div> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now