Jump to content

Niller

Members
  • Posts

    138
  • Joined

  • Last visited

Contact Methods

Profile Information

  • Location
    Denmark
  • Activity
    Agency

Niller's Achievements

Newbie

Newbie (1/14)

0

Reputation

1

Community Answers

  1. 0 Im trying to show the correct combination image on my Prestashop for which color you want your product: My test is here: https://testfiskpaakrogen.dk/433-savage-gear-3d-line-thru-sandeel.html For now i can only show the "main" image for the product, and not the correct combination image, besides that the big picture is changing when choosing another color (farve) Right now this is the code generating the list of images to choose from. <ul id="color_to_pick_list" class="p5 clearfix"> {assign var="default_colorpicker" value=""} {foreach from=$group.attributes key=id_attribute item=group_attribute} {assign var='img_color_exists' value=file_exists($col_img_dir|cat:$id_attribute|cat:'.jpg')} <li{if $group.default == $id_attribute} class="selected"{/if}> <a href="{$link->getProductLink($product)|escape:'html':'UTF-8'}" id="color_{$id_attribute|intval}" name="{$colors.$id_attribute.name|escape:'html':'UTF-8'}" class="color_pick{if ($group.default == $id_attribute)} selected{/if}"{if !$img_color_exists && isset($colors.$id_attribute.value) && $colors.$id_attribute.value} style="background:{$colors.$id_attribute.value|escape:'html':'UTF-8'};"{/if} title="{$colors.$id_attribute.name|escape:'html':'UTF-8'}" {if $img_color_exists}style="background: url({$img_col_dir}{$id_attribute|intval}.jpg) repeat;"{/if}> {if $group.name == 'Størrelse'}<option value="{$id_attribute|intval}" title= "{$group_attribute|escape:'html':'UTF-8'}">{$group_attribute|escape:'html':'UTF-8'}</option>{else}<div class="atrimg"><img src="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large_default')|escape:'html':'UTF-8'}" style="height: 110px;"><div class="colorspan">{$group_attribute|escape:'html':'UTF-8'}</div></div>{/if}</a> </li> {if ($group.default == $id_attribute)} {$default_colorpicker = $id_attribute} {/if} {/foreach} </ul> If you open the url, there is a smarty variable debug popup. Best, Lasse
  2. Hello. What is the best procedure when someone need money back for some reason, after the payment is accepted, invoice is created and so on. I need the credit slip for showing the money is transfered back and for my economy system, but i dont need the refusion of products? Best, Lasse
  3. Is it possible to jump over the Address field, when checking out as Guest in 1.6.1.17? Best Lasse
  4. any1 know the way or module to make facebook dynamic product ads work? best regards
  5. But how do i get the right product id in the pixel code?
  6. Hey. ID and price of the product viewed. So i can use the pixel for dynamic retargeting ads, on visited products The code is in the header.tpl <head> tag. best regards
  7. Hello Prestashoppers. I have this facebook pixel: How do i get the right ID and PRICE in the pixel, so i can make dynamic ads? <!-- Facebook Pixel Code --> {literal} <script> !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, document,'script','https://connect.facebook.net/en_US/fbevents.js'); fbq('init', 'PIXELID'); fbq('track', "PageView"); fbq('track', 'ViewContent', { content_type: 'product', //either 'product' or 'product_group' content_ids: ['ID'], //array of one or more product ids in the page value: ['Price'], //OPTIONAL, but highly recommended currency: 'DKK' //REQUIRED if you a pass value }); </script> <noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=1731795127080034&ev=PageView&noscript=1" /></noscript> {/literal} <!-- End Facebook Pixel Code --> Best regards
  8. On alle products if you click on their picture
  9. Hello Prestashoppers. What's the easiest take on making a fancybox responsive? My URL is: http://fiskpaakrogen.dk Lasse
×
×
  • Create New...