-
Posts
23 -
Joined
-
Last visited
Everything posted by Nakatika
-
Main description replacing 1.6
Nakatika replied to Nakatika's topic in Configuring and using PrestaShop
<!-- description and features --> {if (isset($product) && $product->description) || (isset($features) && $features) || (isset($accessories) && $accessories) || (isset($HOOK_PRODUCT_TAB) && $HOOK_PRODUCT_TAB) || (isset($attachments) && $attachments) || isset($product) && $product->customizable} <div id="more_info_block" class="clearBoth"> <ul id="more_info_tabs" class="nolist idTabs idTabsShort clearfix"> {if $product->description}<li><a id="more_info_tab_more_info" href="#idTab1">{l s='More info'}</a></li>{/if} {if $features}<li><a id="more_info_tab_data_sheet" href="#idTab2">{l s='Data sheet'}</a></li>{/if} {if $attachments}<li><a id="more_info_tab_attachments" href="#idTab9">{l s='Download'}</a></li>{/if} {if isset($accessories) AND $accessories}<li><a href="#idTab4">{l s='Accessories'}</a></li>{/if} {if isset($product) && $product->customizable}<li><a href="#idTab10">{l s='Product customization'}</a></li>{/if} {$HOOK_PRODUCT_TAB} </ul> <div id="more_info_sheets" class="sheets align_justify"> {if isset($product) && $product->description} <!-- full description --> <div id="idTab1" class="rte">{$product->description}</div> {/if} {if isset($features) && $features} <!-- product's features --> <ul id="idTab2" class="bullet"> {foreach from=$features item=feature} {if isset($feature.value)} <li><span>{$feature.name|escape:'htmlall':'UTF-8'}</span> {$feature.value|escape:'htmlall':'UTF-8'}</li> {/if} {/foreach} </ul> {/if} {if isset($attachments) && $attachments} <ul id="idTab9" class="bullet"> {foreach from=$attachments item=attachment} <li><a href="{$link->getPageLink('attachment', true, NULL, "id_attachment={$attachment.id_attachment}")|escape:'html'}">{$attachment.name|escape:'htmlall':'UTF-8'}</a></li> {/foreach} </ul> {/if} {if isset($accessories) AND $accessories} <!-- accessories --> <div id="idTab4"> <ul id="product_list" class="nolist grid"> {foreach from=$accessories item=accessory name=accessories_list} {*{if ($accessory.allow_oosp || $accessory.quantity_all_versions > 0 || $accessory.quantity > 0) AND $accessory.available_for_order AND !isset($restricted_country_mode)}*} {if $accessory.available_for_order AND !isset($restricted_country_mode)} {assign var='accessoryLink' value=$link->getProductLink($accessory.id_product, $accessory.link_rewrite, $accessory.category)} <li class="col-lg-4 col-sm-6 col-xs-6 col-ms-12"> <div> <p class="icons"> {if isset($accessory.new) && $accessory.new == 1}<span class="new_list">{l s='New'}</span>{/if} {if isset($accessory.on_sale) && $accessory.on_sale && isset($accessory.show_price) && $accessory.show_price && !$PS_CATALOG_MODE}<span class="on_sale_list">{l s='Sale'}</span> {elseif isset($accessory.reduction) && $accessory.reduction && isset($accessory.show_price) && $accessory.show_price && !$PS_CATALOG_MODE}<span class="discount_list">{l s='Promotion'}</span>{/if} </p> <a href="{$accessoryLink|escape:'html'}"><img class="img-responsive" src="{$link->getImageLink($accessory.link_rewrite, $accessory.id_image, 'ph_home')|escape:'html'}" alt="{$accessory.name|escape:'htmlall':'UTF-8'}" /></a> <div class="desc"> <h3><a href="{$accessoryLink|escape:'html'}" title="{l s='View product'} {$accessory.name|escape:'htmlall':'UTF-8'}">{$accessory.name|truncate:40:'...'|escape:'htmlall':'UTF-8'}</a></h3> {if $accessory.show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}<span class="price">{if $priceDisplay != 1}{displayWtPrice p=$accessory.price}{else}{displayWtPrice p=$accessory.price_tax_exc}{/if}</span>{/if} <div class="info"> <div class="buttons-wrapper"> {if $theme_options['control_display_add2cart_accessories']} {if ($accessory.id_product_attribute == 0 || (isset($add_prod_display) && ($add_prod_display == 1))) && $accessory.available_for_order && !isset($restricted_country_mode) && $accessory.minimal_quantity <= 1 && $accessory.customizable != 2 && !$PS_CATALOG_MODE} {if ($accessory.allow_oosp || $accessory.quantity > 0)} {if isset($static_token)} <a class="ajax_add_to_cart_button pull-left button yellow" rel="ajax_id_product_{$accessory.id_product|intval}" href="{$link->getPageLink('cart',false, NULL, "add=1&id_product={$accessory.id_product|intval}&token={$static_token}", false)|escape:'html'}" title="{l s='Add to cart'}">{l s='Add to cart'}</a> {else} <a class="ajax_add_to_cart_button pull-left button yellow" rel="ajax_id_product_{$accessory.id_product|intval}" href="{$link->getPageLink('cart',false, NULL, "add=1&id_product={$accessory.id_product|intval}", false)|escape:'html'}" title="{l s='Add to cart'}">{l s='Add to cart'}</a> {/if} {else} {/if} {/if} {/if} {if !$accessory.available_for_order || isset($restricted_country_mode) || $accessory.quantity < 1 && !$accessory.allow_oosp} {if $theme_options['control_display_noavailable_text']} <span class="noavailable_text">{$theme_options['control_noavailable_text']}</a></span> {/if} {/if} {if $theme_options['control_display_view_accessories']} <a href="{$accessory.link|escape:'html'}" title="{l s='View product'}" class="pull-right button">{l s='View product'}</a> {/if} </div> </div><!-- .info --> </div><!-- .desc --> </div> </li> {/if} {/foreach} </ul> </div> {/if} -
Main description replacing 1.6
Nakatika replied to Nakatika's topic in Configuring and using PrestaShop
www.aplenksave.lt -
-
Sveiki, ar kam pavyko atnaujinti 1.6 versiją į 1.7 sklandžiai? Naudoju 1click update modulį. Man meta šią klaidą: [Ajax / Server Error for action upgradeDb] textStatus: "error " errorThrown:"Internal Server Error " jqXHR: " "
-
-
Sorry, I misunderstand. Could you explain more detailed, how can I solve this problem?
-
Thank you. What I want is to return customers, when they click on the product in my e-shop. How to make this product shown in facebook for customer which viewed it on my website? For the moment I paste this event in product.tpl : {literal} <script> fbq('track', 'ViewContent', { content_ids: ['100','200'], content_type: 'product', value: 40.25, currency: 'EUR' }); </script> {/literal}
-
One more question. I think FB do not recognize add to cart action, maybe I should add something in conversion value?
-
Are you sure? How facebook will recognize when customers click "add to cart", if code will be in header.tpl ?
-
Hello, I already installed base code of FB pixel to header.tpl and it works fine. But where exactly in prestashop I should install the following event codes? Search Add to Cart View Content Complete Registration
-
How to add product ID for all my existing products
Nakatika replied to Nakatika's topic in General topics
I adding with Date Kick. So what I need is REFERENCE (not ID). How can I add reference to all my products? PS 1.6.1.11 -
How to add product ID for all my existing products
Nakatika replied to Nakatika's topic in General topics
-
Hello, Facebook Products Feed requiring field "Product ID". I have more than 1000 products in my list, but I did not fill the Product ID from beginning , because this field was not "must". How can I add ID's for all my products?
-
Could you explain me please how can I hook testimonials module in left column ONLY on HOME page ? Editing positions in backoffice not working in my case. Should I change something in this code? header.tpl {if $page_name == 'module-blockwishlist-mywishlist' OR $page_name == 'guest-tracking'} {hook h='displayLeftColumn'} {/if} my website: www.aplenksave.lt
-
Ačiū už pagalba, atsisiunčiau Web Developer, bet gal gali pasakyti kuri ten funkcija leidžia pamatyti kurį konkrečiai failą man reikia redaguoti?
-
Sveiki, prašau pagelbėti. Atsitiktinai pamačiau, kad apmokėjimų žingsneliuose turiu didelę bėda. Visa info yra susiliejusi, nes fonas baltas ir šrifto spalva yra balta..Neįsivaizduoju kaip ta spalva pasikeitė ir kaip ją gražint į juodą. Prisegiau print screena.
-
Aciu labai !
-
Sveiki, gal kas zinote kaip sukurti papildoma laukeli, kad klientai pirkdami batus, galetu pasirinkti bateliu dydi? http://www.aplenksave.lt