Search the Community
Showing results for tags 'Crossselling'.
-
My product detail page has a crosselling product carousel, theme developers told me it's based on PS_CROSSELLING so i'm posting this here. The issue, at least for what i could understand by testing, is that it has something to do with the template/cache. Extract of the template code: other.tpl product.tpl pl_grid_layout is set to 1, im sure of this looking at the HTML code + theme setting, so inside product-minature-1 i have this: {block name='product_add_cart'} {include file='catalog/_partials/miniatures/_partials/product-miniature-btn.tpl' nocache} {/block} Looks like that if i leave it like this,everything works fine (see attachments, i can see all the carousel product detail info (title,description,stars). If i remove nocache and i have active cache setting in backend (see screenshots) then only the first product has all the info, the following one has not even generated HTML for those parts. Looking at the compiled smarty file i can say that changing that "nocache" actually change what is generated drastically. Another way to make this work is to simply disable cache in backend setting, but since it's a production webiste with some decent traffic i would like to keep cache enabled and find a solution for this. I couldn't find any way to debug this, enabling debug mode, forcing php to show errors, looking at server log didn't help in any way, Any suggestion/fix for this? Thanks SOFTWARE VERSION: Prestashop: 1.7.4.2 (migrated form an old 1.6.x if it can help understand something with MigrationPro) Theme: warehouse 4.1.7
- 2 replies
-
- crossselling
- product
-
(and 1 more)
Tagged with:
-
Hello, My shop is built withe Prestashop 1.5.6.2. In the crossselling tpl file, I can see the following : "{if count($orderProducts) > 5 Such code is included four times in the crossselling tpl file. As a consequence : - when the amount of crossselling items is > 5, the items are displayed next to each other (on a single line) - when the amount of crossselling items is < 5, the items are displayed one under the other (as a column) This second layout is not very nice. So, I should prefer to always have the crossselling items displayed on a single line. I am somewhat reluctant of changing > 5 to > 1. Would you know why ">5" has been added in the crossselling tpl file ? I thank you in advance for any reply. Patrick
-
Hallo zusammen Ich habe die Anforderung für ein spezielleres Modul. Vielleicht kennt jemand von euch ne Lösung. Wenn ein Kunde einen Gin in den Warenkorb legt, möchte ich dass dann gleich eine Meldung erscheint, dass dazu ja ein Tonic gut passt. Ich stell mir vor, dass ich diese "Hinweise" erstelle mit einem Titel, Textblock und dem oder den dazupassenden Produkten. Wichtig ist zu sagen, dass ich kein Modul suche, welches Preisnachlässe gibt, wenn was im Warenkorb ist. Hat mit der Gesetzgebung in der Schweiz zu tun. Es darf für Spirituosen keine Rabatte gewährt werden. Hat jemand von euch eine Idee? Herzlichen Dank für eure Hinweise. Urs
- 4 replies
-
- module
- prestashop
-
(and 2 more)
Tagged with:
-
Bonsoir, Dans la perspective de mettre à jour ma boutique de la version 1.5.6.1 vers la version 1.6.1.11, je développe un nouveau thème en local sous wamp. Je souhaite optimiser la visibilité des produits en promotions sur les différents modules/pages de la boutique en affichant le prix barré + le pourcentage ou le montant de la réduction ainsi qu'un bandeau avec le % ou le montant de la réduction. J'ai réussi à le faire pour la plupart des modules et pages, non sans mal, mais je bloque vraiment sur le module Crossselling/Vente Croisée. J'ai modifié le fichier template du module dans mon thème en m'inspirant de ce que j'avais déjà fait mais sans succès. Je n'obtiens absolument aucun changement. Seul le prix s'affiche, ce qui ne permet pas d'identifier que le produit en question est en promotion. Voici le code que j'ai modifié pour l'affichage du prix barré et du montant ou du pourcentage de la réduction sous la photo (je n'ai pas encore essayé d'ajouter le bandeau) : {if $crossDisplayPrice AND $orderProduct.show_price == 1 AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE} <span class="price_display"> {if isset($orderProduct.specific_prices) && $orderProduct.specific_prices && ($orderProduct.displayed_price|number_format:2 !== $orderProduct.price_without_reduction|number_format:2)} <span class="price special-price">{convertPrice price=$orderProduct.displayed_price}</span> <span class="old-price">{displayWtPrice p=$orderProduct.price_without_reduction}</span> {if $orderProduct.specific_prices.reduction && $orderProduct.specific_prices.reduction_type == 'percentage'} <span class="price-percent-reduction small">-{$orderProduct.specific_prices.reduction * 100}%</span> {/if} {if $orderProduct.specific_prices.reduction && $orderProduct.specific_prices.reduction_type == 'amount'} <span class="price-amount-reduction small">{$orderProductPriceWithoutReduction-$orderProduct.specific_prices.reduction|floatval} €</span> {/if} {else} <span class="price">{convertPrice price=$orderProduct.displayed_price}</span><br /> {/if} </span> {else} <br /> {/if}
- 2 replies
-
- crossselling
- prix barré
- (and 5 more)
-
Hi, Is it possible to show the discount offer and discounted price in the crossselling module products? Thanks
- 3 replies
-
- crossselling
- ventes croisées
-
(and 3 more)
Tagged with:
-
Hallo und frohes neues Jahr. Ich habe folgendes Problem: Nach Aktivierung des Moduls Cross Selling von Prestashop werden die "von Anderen gekauften" Produkte zwar angezeigt aber nur mit grossen Bildern und abgehacktem Text. Sieht bescheiden aus. (s. Screenshot) Kann man dieses Modul irgendwie bearbeiten dass die von Anderen gekauften Produkte so wie die "Produkte in der selben Kategorie" angezeigt werden ? ODER Das eine Listenansicht wie bei den Produkten in der Kategorieübersicht gezeigt wird ? Auf jeden Fall sind die jetzt gezeigten Bilder einfach zu gross und passen nicht ins Schema. Etwas mehr Text wäre auch nicht schlecht. Danke für die Hilfe Gruss aus Schweden Frank
-
Hi Techies, My prestashop Version is 1.5.4.1. I have installed Crossselling with custom hook as displayCrossSelling. My module is working perfect, it showing its tpl file contents, but products are not showing. here is the link http://store.unikmobil.dk/da/quick-order Its working perfect on product page, and its showing products for all products. Please check this and help me for getting products. Thanks in advance.
- 7 replies
-
- crossselling
- not working
-
(and 5 more)
Tagged with:
-
Hi, I am using the cross selling module and it works well, except that rather than displaying the item one next to each other, it shows them one below each other. I saw a previous post on this where the css was not loaded but it is not my case as the css is loaded (it is also in module -> position -> displayHeader). So I have no idea what I am doing wrong. Please see below the css and tpl file below...I made some small changes to have it in bold and similar stuff...is there anything I am missing? Thanks a lot for your help! Lorenzo CSS: #crossselling h2.productscategory_h2 { margin:40px 0 20px 0; padding:10px 0; border-bottom:1px solid #ccc; font-size:18px; color:#333 } #crossselling {overflow:hidden} #crossselling ul {text-align:center;list-style:none} #crossselling li { float:left; margin:5px; width:168px; height:250px; } #crossselling li a.lnk_img {display:block} #crossselling li a img {border:1px solid #ccc} #crossselling li p.product_name {text-align:center} #crossselling_list { list-style:none; overflow: hidden; width: 125px; text-align:center; font-weight: bold; } #crossselling_scroll_left, #crossselling_scroll_right { background: url('img/thumbs_left.gif') no-repeat center; text-indent: -3000px; display: block; width: 9px; height: 18px; float: left; margin-top: 30px } #crossselling_scroll_right { background-image: url('img/thumbs_right.gif') } TPL: {if isset($orderProducts) && count($orderProducts)} <div id="featured-products_block_center" class="block products_block clearfix"> <script type="text/javascript">var cs_middle = {$middlePosition_crossselling};</script> <p class="title_block">{l s='Customers who bought this product also bought:' mod='homefeatured'}</p> <div id="{if count($orderProducts) > 5}crossselling{else}crossselling_noscroll{/if}"> {if count($orderProducts) > 5}<a id="crossselling_scroll_left" title="{l s='Previous' mod='crossselling'}" href="javascript:{ldelim}{rdelim}">{l s='Previous' mod='crossselling'}</a>{/if} <div id="crossselling_list"> <ul {if count($orderProducts) > 5}style="width: {math equation="width * nbImages" width=107 nbImages=$orderProducts|@count}px"{/if}> {foreach from=$orderProducts item='orderProduct' name=orderProduct} <li> <a href="{$orderProduct.link}" title="{$orderProduct.name|htmlspecialchars}" class="lnk_img"><img src="{$link->getImageLink($orderProduct.link_rewrite, $orderProduct.id_image, 'home_default')}" height="{$homeSize.height}" width="{$homeSize.width}" alt="{$orderProduct.name|escape:html:'UTF-8'}" /></a> <a href="{$orderProduct.link}" title="{$orderProduct.name}">{$orderProduct.name}</a> {if $crossDisplayPrice AND $orderProduct.show_price == 1 AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE} <span class="price_display"> <span class="price">{convertPrice price=$orderProduct.displayed_price}</span> </span><br /><p></p> {else} <br /> {/if} <!-- <a title="{l s='View' mod='crossselling'}" href="{$orderProduct.link}" class="button_small">{l s='View' mod='crossselling'}</a><br /> --> </li> {/foreach} </ul> </div> {if count($orderProducts) > 5}<a id="crossselling_scroll_right" title="{l s='Next' mod='crossselling'}" href="javascript:{ldelim}{rdelim}">{l s='Next' mod='crossselling'}</a>{/if} </div> </div>
-
- cross selling
- crossselling
-
(and 2 more)
Tagged with:
-
How can I change the layout of the built-in cross selling module? Now the items are displayed below each other (see attachment) but I want it next to each other (on one line).
-
I have upgraded my prestashop from 1.3 to 1.5.4.1. There is something wrong with the crossselling module in its image display. I have turned on the category list and crossselling list. The category list is showing up correctly while the crossselling list is showing the broken images. What I observe is that For the category list product image link, it is under format of {product_id}-{image_id}-medium_default/{image_name} For the crossselling list product image link , it is under the format of {image_id}-medium_default/{image_name} Why does the crossselling list miss out the {product_id} in the image path? I checked the codes, both are calling the same way of getImageLink. Category List: <img class="bordercolor" src="{$link->getImageLink($categoryProduct.link_rewrite, $categoryProduct.id_image, 'medium_default')}" alt="{$categoryProduct.name|htmlspecialchars}"> Crossselling List: <img class="bordercolor" src="{$link->getImageLink($orderProduct.link_rewrite, $orderProduct.id_image, 'medium_default')}" alt="{$orderProduct.name|htmlspecialchars}"> Anyone can share some ideas how to fix this issue?
-
Hej. Efter opgradering fra Prestashop 1.4.8.2 til 1.5.3.1 oplever problemer med Krydssalg / Crosselling (Andre kunder købte også Det er kun på checkoutsiden, hvor de skulle vises under kurven. Billederne vises simpelthen ikke. Jeg har fundet en lidt lignende fejl dette topic: www.prestashop.com/forums/topic/213211-crossselling-images-dont-show-ps-153/ Jeg har implementeret løsningen, men det tyder dog på at det ikke er den samme fejl. URL'en til det billede der ikke bliver vist står som: domainname.dk/286-medium_default/productname.jpg Det giver god mening når billedet ikke eksisterer på den URL. Product ID, mangler simpelthen fra URL'en Det burde se sådan ud: domainname.dk/57-286-medium_default/productname.jpg Hvor productid = 57- Hvis jeg indsætter "domainname.dk/57-286-medium_default/productname.jpg" i min browser vises billedet som mangler. Jeg har kigget i crosselling.php - og kan se at der står den kalder "product_id" Altså: 57- mangler i URL'en Er der nogle der ved om den skulle være ændret efter opdateringen fra 1.4.8.2 to 1.5.3.1? Jeg vedhæfter crosselling.php - Se linje 161 og 215 Jeg vedhæfter også et screendump Placering: /modules/crossselling Håber der er nogle der kan hjælpe :-) crossselling.php
-
- Krydssalg
- Crossselling
-
(and 2 more)
Tagged with:
-
Hola de nuevo, me gustaria saber como podria añadir precios en los modulos "productscategory" que es el de ventas cruzadas y tambien en el modulo ""crossselling" que es similar, supongo que es procedimiento para poner el precio tambien sera el mismo. os pongo una imagen para que veais los 2 modulos: