Jump to content

Search the Community

Showing results for tags 'Add to cart'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Help and Support
    • PrestaShop Download
    • PrestaShop Addons
  • News and Announcements
    • PrestaShop news and releases
    • PrestaShop Beta
    • PrestaShop Blogs
    • PrestaShop Meetups
  • International community (English)
    • General topics
    • PrestaShop Merchants
    • PrestaShop Developers
    • Taxes, Translations & Laws
    • Community Modules and Themes
  • Forum francophone
    • Discussion générale
    • Aide et support communautaire
    • PrestaShop pour les marchands
    • PrestaShop pour les développeurs
    • Adaptation aux lois Québécoises
    • Modules et thèmes gratuits
    • Modules et thèmes payants
  • Foro en Español
    • Discusión general
    • Soporte de la comunidad y ayuda
    • Comerciantes PrestaShop
    • Desarrolladores PrestaShop
    • Módulos y plantillas gratuitas
  • Forum italiano
    • Forum generale
    • Aiuto e supporto della Community
    • Commercianti PrestaShop
    • Sviluppatori PrestaShop
    • Aspetti legali sull'eCommerce
    • Moduli e template gratuiti
  • Deutsches Forum
    • Generelle Fragen
    • Support und Hilfe aus der Community
    • e-Commerce/Versand-Handel mit Prestashop
    • Prestashop-Entwickler
    • Anpassung an deutsches Recht
    • Kostenlose Module und Templates
    • Generelle Fragen Copy
  • Nederlandstalig forum
    • Algemeen
    • Hulp en ondersteuning, van en voor de community
    • PrestaShop-winkeliers
    • PrestaShop-ontwikkelaars
    • Het aanpassen van PrestaShop
    • Gratis modules en templates
  • Fórum em Português
    • Fórum Geral
    • Ajuda e Suporte da Comunidade
    • Lojistas que utilizam o PrestaShop
    • Desenvolvedores PrestaShop
    • Legislação específica
    • Módulos e temas gratuitos
  • Polskie forum
    • Forum ogólne
    • Wsparcie i pomoc użytkowników
    • Oferty twórców PrestaShop
    • Deweloperzy PrestaShop
    • Darmowe Moduły i Szablony
  • Dansk forum
    • Generelt forum
    • Hjælp og support fra fællesskabet
    • PrestaShop for købmænd
    • PrestaShop for udviklere
    • Love og regler
    • Gratis moduler og temaer
  • České fórum
    • Instalasi, Konfigurasi dan upgrade
    • Obecná diskuze
    • Bezplatné moduly a šablony
    • PrestaShop vývojáři
    • PrestaShop obchodníci
  • Bahasa Indonesia
    • Diskusi Umum
    • Podpora a pomoc komunity
    • Laporan Bug
    • Jasa, Promosi & Lowongan Kerja
  • Svenskt forum
    • Allmän diskussion
    • Installation, konfigurering och uppdatering
  • Forumul românesc
    • Discuţii generale
    • Instalare, configurare şi upgrade
  • Pусский язык
    • Обсуждение скрипта
    • Установка, Настройка, Обновление
    • Прием багов
  • Slovenské fórum
    • Všeobecná diskusia
    • Podpora a pomoc komunity
    • PrestaShop obchodníci
    • PrestaShop vývojári
    • Bezplatné moduly a šablóny
  • Türkçe Topluluğu
    • Genel Konular
    • Topluluk desteği ve yardım
    • PrestaShop Tüccarları
    • Prestashop Geliştiricileri
    • Ücretsiz Modül ve Temalar
  • Diễn đàn tiếng Việt
    • Thảo luận chung
    • Hỗ trợ từ cộng đồng
    • Dành cho chủ doanh nghiệp / cửa hàng
    • Dành cho lập trình viên
  • PrestaShop Communities
    • اللغه العربيه [Arabic]
    • Ελληνικά [Greek]
    • עִבְרִית [Hebrew]
    • 中文
    • Magyar [Hungarian]
    • 日本語 [Japanese]
    • Lietuviškai [Lithuanian]
    • انجمن فارسی [Persian]
    • ไทย [Thai]
    • Malaysia [Malaysian]
    • Eesti [Estonian]
    • Slovenščina [Slovenian]
    • Српски [Serbian]
  • IP. Board Forum
    • IP. Board Forum Questions and Issues
  • Archive
    • Zapłać Moduły i Szablony [ARCHIVE]
    • Moduly, upravy a dizajn [ARCHIVE]
    • Phát triển và các mô-đun [ARCHIVE]
    • Yazılım, Modül ve Tema [ARCHIVE]
    • Модули, Шаблоны [ARCHIVE]
    • Module şi teme [ARCHIVE]
    • Pengembangan dan Modul [ARCHIVE]
    • Moduler och teman [ARCHIVE]
    • Ecommerce x PrestaShop [ARCHIVE BOARD]
    • Vývoj a moduly [ARCHIVE]
    • Kostenpflichtige Module, Templates [ARCHIVE]
    • Módulos y temas pagos [ARCHIVE]
    • Módulos e temas pagos [ARCHIVE]
    • Servizi commerciali [ARCHIVE]
    • Forum - Feedback Contributor
    • PrestaShop Cloud

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


  1. Please somebody help, when i click on add to cart button, nothing is happen but when i reload the page value added in cart. same as when i remove from cart nothing happen but when reload page, value removed from cart. ajax cart is on and no error in console............... feeling frustrated please help, What can be the problem?
  2. Bonjour, depuis aujourd'hui nos clients ne peuvent ajouter aucun produit à leur panier . Quand on clique il ne se passe rien. www.vepsi.shop J'ai déjà appelé 1&1 pour upgrader notre formule car ce n'est pas la première fois que nous avons des soucis ou erreurs. Une idée sur comment régler ce problème ? Merci à vous ! Leslie - - - - Hello Everyone, Since this morning, our clients can't add to cart any product. When you click on the button nothing happens and in preview mode it says Error. www.vepsi.shop Already called 1&1 to upgrade our solution as we've had several error issues since we started. Any idea on how to solve this problem? Thks a lot, Leslie
  3. Hello all, bougth prestashop theme, changed color, style ect for my need on localhost server. Today I bought a hosting and uploaded website to live server. First time i uploaded entirely customised theme from localhost to server, and it's working, but there was one problem. I've noticed that After adding product to cart, the popup module (i think ajax) doesnt show the product price, product image, shipping ect. I thought that first time I was wrong somewhere. Second time I uploaded to server default theme from 0 to check, and the problem still exist. I'm attaching the few shots how it's look like. Besides that, When I was installing the prestashop i had few things I need to change. I contacted my hosting provider, they suggested for short_open_tag to create .users.ini file and to write there rule, but that doesn't worked. I've messaged second time for them and waiting for the response now and solution. I'm writing here to capture another view angle for problem from people who are using prestashop and knowing well it, it would be very helpfull to find answer for this.
  4. Hi, I have some minor problem with add to cart button in categories in ps1.7.5.1 Add to cart button still working even the product is out of stock and back-order is disabled. But in the product page it's working properly. Pleas see the following link for reference https://www.overzeas.net/en/298-homer-zhu-custom-made Thank you in advance for the reply : )
  5. Hallo zusammen Prestashop Version 1.7.X Bin in der /product-add-to-cart.tpl Datei und möchte gerne das "zum Warenkorb hinzufügen" ausblenden, wenn der Lagerbestand leer ist. Kann mir jemand sagen wie ich herausfinden kann, in welcher Variable der Wert Lagerbestand gespeichert ist? Bisher habe ich folgendes: --------------------------------------------------- <div class="add"> <button style="background: {$belvg_color_value_btn}; border-color: {$belvg_color_value_btn_border}; color: {$belvg_color_value_btn_txt}" class="btn btn-primary add-to-cart" data-button-action="add-to-cart" type="submit" {if !$product.add_to_cart_url} disabled {/if} > <i class="material-icons shopping-cart">&#xE547;</i> {l s='Add to cart' d='Shop.Theme.Actions'} </button> {block name='product_availability'} <span id="product-availability"> {if $product.show_availability && $product.availability_message} {if $product.availability == 'available'} <i class="material-icons product-available">&#xE5CA;</i> {elseif $product.availability == 'last_remaining_items'} <i class="material-icons product-last-items">&#xE002;</i> {else} <i class="material-icons product-unavailable">&#xE14B;</i> {/if} {$product.availability_message} {/if} </span> {/block} Danke für eure Unterstützung.
  6. Cześć wszystkim, mam problem z przyciskiem dodaj do koszyka. Na sstronie głównej mam 3 moduły, chcę aby na każdym produkcie był przycisk dodaj do koszyka. Tak aby klient od razu mógł dodać produkt do koszyka bez potrzeby podglądnięcia go, czy wejście w jego kartę produktową. Posiadam PS 1.7.5.1, czy to normalne że takiej opcji nie ma? Tryb demo też takiej opcji nie ma.
  7. I've found tutorials on how to do this in other versions of Presta but haven't seen anything that is confirmed to work 100% for Prestashop 1.7.5+. I'm creating a module that requires 1 or 2 customization fields per product and I want to simplify the process of ordering by eliminating the "Save Customization" button and having the customization saved when the add to cart button is clicked. I've found this: http://nemops.com/save-prestashop-custom-fields-add-to-cart-2/#.XEyrgVxKiUk (posted wrong link originally) But it doesn't work the latest presta
  8. I have problem: "Add to cart" button works just in case defalut comboination is in stock. When defalut combination is out of stock in category list You could see "view" button. Example 1 Product X with given combinations: A combination (defalut combination) - 0 products available B combination - 2 products available C combination - 3 products available D combination - 4 products available In this case there's no "add to cart" button in list of category products Product X with given combinations: A combination (defalut combination) - 1 products available B combination - 0 products available C combination - 0 products available D combination - 0 products available In this case You can see "add to cart" button under product picture on category page Example: https://skiracecenter.pl/36-narty-damskie "DODAJ" means add to cart "WIĘCEJ" mean view more
  9. Hi, I have 1.7.4.2 version prestashop and have issues with my cart (ajax mode enabled). http://shop.smartshape.pl/prestashop_1.7.4.2/ Sometimes I can't add product to the cart, when I press the 'add to cart' button the cart popups and its empty. Sometimes when I click 'add to cart' the cart poupup isn't happening and the cart icon is dissaperaing from teh header and I have to back to the main page and click the cart icon there. Then products is in the cart already. Customer will be able to buy something but it will be complicated. Please help me asap if you know what is wrong. I wanted to start my shop yesterday... I saw a lot of solutions but I m just a beginner and I am able to manage UI of presta, not the code. Is it possible to solve the problem in my level?
  10. Hi, I'd like to have Add To Cart button full width (on mobile) like most website these days (especially Shopify). How can I do that? Thank you. Prestashop Version 1.6.1.11
  11. Bonjour tout le monde, Je vous écris car je suis en train de mettre en place un site pour un client qui fait des objets publicitaires et je fais face depuis quelques jours à un soucis assez pénible. En effet dans les objets publicitaires et calendriers (le textile est géré autrement) lors de l'ajout au panier le produit est bien ajouté au panier mais non seulement cela ne m'affiche pas visuellement le produit dans le panier mais j'ai le panier qui disparaît! je dois recharger la page pour le voir ! Et idem si je veux supprimer un produit. Pour information je suis sur la version 1.7.2.2 de prestashop avec un thème acheté. Je n'ai pas d'erreur dans la console ni même en mode debug. J'ai essayé de voir et tester différentes solutions mais pour le moment rien n'a fonctionné...du coup si quelqu'un aurait une idée d'où ce situe le soucis je suis preneur! Sinon une solution qui pourrait être éventuellement jouable (bien que contraignante pour l'utilisateur je trouve) serait de faire un refresh de la page en cas d'ajout de produit ou suppression de produit. Mais je ne retrouve pas sur cette version de Prestashop où modifier le code pour faire ça. Je vous met le lien temporaire du site (notamment une page produit pour que vous puissiez reproduire le bug) : Lien d'une page produit Pour rappel : Version Prestashop : Prestashop 1.7.2.2 Thème utilisé : Zro03 - Supermarket Store Modules de personnalisations utilisés : Personnalisation de produit 5.0 (pour les objets et calendrier) , Personnalisation et options pour vos produits (pour le textile) Je vous remercie par avance pour votre aide
  12. Hello, I have problem with "Add to cart" button. I've insert it on category view, and everything was working great. But few weeks later (I've done upgrade from 1.7.2.4 to 1.7.3.3) I've realised that it stopped working. Add to cart modal form have message that product was added to cart succesfuly, but nothing info about product that we added is showing, and nothing is added to cart. When I add to cart from product page everything works ok. Maybe someone had the same problem??
  13. Hi, I need to create a bulk discount pricing function in my new Prestashop site. Discount Pricing I have set up at the moment: The more you buy of a certain category, the lower the price goes, until it reaches the minimum. (This I have already done using a free module: Category Quantity Discount). In the cart the discount shows, with the percentage reduced and the new price per product. The Job: I need that in the main product page, under each product, has a function that the price changes every time you add to cart. With static text displaying the minimum reachable price: Add to cart 1st round: €5.00 Minimum price: €4.00 Add to cart 2nd round: €4.80 €5.00 Minimum price: €4.00 Please see 3 screen shots to show functionality. Many Thanks!
  14. Bonjour à tous, Je suis en train de travailler sur la page produit de mon site Prestashop et je me rends compte que le bouton "Ajouter au panier" fait bien son boulot en arrière-plan, mais ne redirige pas vers la page Panier et/ou ne rafraichit plus la page et le nombre d'articles dans le panier. En clair, visuellement rien ne se passe, mais si je rafraichis moi même la page, l'article a bien été ajouté au panier. Pourtant il y a qq jours quand j'ai commencé le développement, le rafraichissement fonctionnait bien, il y a donc sans doute une modif que j'ai apporté, responsable de ce petit bug, mais impossible de la trouver... - J'ai vérifié que l'option "Panier Ajax" était active (même si je pense que ça n'est pas lié à ce module) - J'ai remplacé l'ensemble de mon product.tpl par celui du thème par défaut et le problème persiste - Le souci donc doit venir d'ailleurs, d'un élément zappé et qui doit pourtant être utile Auriez-vous une idée ou qq éclaircissements sur la manière dont fonctionne cette partie d'ajout au panier ? Voici mon formulaire pour info : <form action="{$urls.pages.cart}" method="post" id="add-to-cart-or-refresh"> <input type="hidden" name="token" value="{$static_token}"> <input type="hidden" name="id_product" value="{$product.id}" id="product_page_product_id"> <input type="hidden" name="id_customization" value="{$product.id_customization}" id="product_customization_id"> <table width="100%"><tr> <td><div class="product_price" itemprop="price" content="{$product.price_amount}">{$product.price}</div></td> <td class="right"> {if $product.availability!="unavailable"} <div class="product-add-to-cart"> {if !$configuration.is_catalog} <span class="product_quantity"> <label for="quantity_wanted">{l s='Quantity' d='Shop.Theme.Catalog'}</label> <input type="number" name="qty" id="quantity_wanted" value="{$product.quantity_wanted}" class="input-group" min="{$product.minimal_quantity}" /> </span> <button class="btn btn-primary add-to-cart btn_rouge upcase txt_blanc" type="submit" name="add" data-button-action="add-to-cart" {if !$product.add_to_cart_url}disabled{/if}>{l s='Add to cart' d='Shop.Theme.Actions'}</button> {/if} </div> {else} {if $product.show_availability} <p id="product-availability">{$product.availability_message}</p> {/if} {if $product.availability_date} <p id="product-availability-date"> <label>{l s='Availability date:' d='Shop.Theme.Catalog'} </label> <span>{$product.availability_date}</span> </p> {/if} <div class="product-out-of-stock">{hook h='actionProductOutOfStock' product=$product}</div> {/if} </td> </tr></table> <input class="product-refresh ps-hidden-by-js" name="refresh" type="submit" value="{l s='Refresh' d='Shop.Theme.Actions'}"> </form> et ma partie Panier dans mon header : <div id="nav_panier"> <a href="{$urls.pages['cart']}"><img src="{$urls.img_url}ico_panier.png" /></a> <a href="{$urls.pages['cart']}">Panier</a> <a href="{$urls.pages['cart']}"><div id="nav_panier_qty" class="ajax_cart_quantity hidden">{$cart.products_count}</div></a> </div>
  15. Hi, My product has 2 prices (discount price, old price) . I want to add two buttons that add product with different price. How I can do it?
  16. Hi, I would like to know if it's possible to add multiple products to the cart using an URL from an external website. I succeed with only one product, but not with two or more. Does someone have a solution?
  17. Γειά σας, Χρειάζομαι την βοήθεια σας. Υπάρχει ένα εικονίδιο σε σχήμα ματιού που εμφανίζεται στις φωτογραφίες των προϊόντων όταν κάνουμε mouse-over. Το εικονίδιο αυτό εξυπηρετά ως shortcut για πιο γρήγορη αγορά αφού παρακάμπτει τις πληροφορίες του προϊόντος. Υπάρχει κάποιος τρόπος απενεργοποίησης του; Έχω Prestashop 17.3.0 Εΰχαριστώ
  18. Hello, i'm running 2 prestashop stores on version 1.6.12 and when i add something to the cart it shows the regular Continue shopping or Proceed to checkout modal, however, this is not responsibe, so when i go to the site in my mobile device it only shows a part of the modal and i cannot proceed. I would like to know if there's a way to make the modal responsibe or disable it completely for mobiles. Thank you.
  19. i need to show some of my products only to certain users, but by default prestashop 1.7 shows to the user (that can't see that category) the message "You haven't got access to this category", which i don't like very much. I've been looking for some addons, but no one does the work i need, that's to say just disabling the view of the product for those customers who can't see it. Most of them show the message "You can't buy this product", and i don't really like it. An alternative could be showing the button "ask for a quotation" to those customers who can't see the price of the product, Is it possibile to display the button "ask for a quotation", thus disabling the button add to cart, only on selected products (coming from different categories)? I'm imagining some module that adds a tab to my product page, where i check the possibility to show the ask for a quotation or the selected group of customers. Any idea? i'm i asking something impossible? Thank you for your help.
  20. Hello, In my Prestashop I want to sell product that has many parts. What I want to achieve is when person goes to that product, he can edit quantities of every part and then click one 'Add To Cart' button to add all parts to the Cart. I tried to achieve that with attributes, but problem is that you must choose attribute, then edit quantity, then add to cart , and then select next one and so on. I thought about adding every part as a new product, but then shop could become messy and adding attributes for one product is much faster and more organised. Conclusion: Editing Quantity of attributes and adding them all at once to cart is what I want to achieve, but other solutions are welcome:) Thanks!
  21. So i'm trying to add a button after every line in the quantityDiscount box, so if i have a quantityDiscount for a quantity of 2, there's a button that adds 2 products to the cart and so on. I have tried this: (where 6 is {$quantity_discount.quantity|intval} ) <a href="{$link->getPageLink('cart',false, NULL, "add=6&id_product={$product->id|intval}&qty=6&token={$static_token}", false)|escape:'html':'UTF-8'}" data-id-product="{$product->id}" data-id-product="{$product->id}" rel="nofollow" title="Add to cart">{l s='Add to cart'}</a> And: <a href="{$link->getPageLink('cart',false, NULL, "add=1&id_product={$product->id|intval}&qty=6&token={$static_token}", false)|escape:'html':'UTF-8'}" data-id-product="{$product->id}" data-id-product="{$product->id}" rel="nofollow" title="Add to cart">{l s='Add to cart'}</a> And: <a href="{$link->getPageLink('cart',false, NULL, "add=6&id_product={$product->id|intval}&qty=1&token={$static_token}", false)|escape:'html':'UTF-8'}" data-id-product="{$product->id}" data-id-product="{$product->id}" rel="nofollow" title="Add to cart">{l s='Add to cart'}</a> But they all just adds 1 to the cart.
  22. Ik ben gebonnen met het vernieuwen van mijn webshop van versie 1.4.9.0. naar de nieuwste versie 1.7.2.4. Ik heb de nieuwe versie in test folder geinstalleerd. Allereerst onderzocht of de database om te zetten was naar de nieuwe versie. Heb daarvoor de module "MigrationPro: PrestaShop to PrestaShop Migration Tool" aangeschaft. Dat werkt prima (alleen de nieuwe versie logt na een bepaalde tijd uit waardoor de database conversie blijft hangen/pauzeert wat ik eerst niet door had). Producten, orders etc werden goed overgenomen vanuit de oude database en goed getoond. Ben daarna verder gegaan met de theme keuze en heb een nieuwe theme aangeschaft. Ben daarna veel tijd kwijt geweest in het aanpassen en inregelen van de nieuwe theme (is toch wel veel veranderd sinds wat v 1.4 kon en wat v. 1.7 kan qua sliders en instellingen van themes). Op zich was ik wel klaar om de upgrade volledig te gaan doorvoeren (de normale shop was nog werkend online en de test shop was om te zien of alles goed te upgraden was voordat ik dat met de werkelijk shop zou doen). Bij een laatste test waarbij ik het volledige bestel proces nog eens wou doorlopen bleek er iets niet goed te zijn: Mijn theme laat op de foto's op de home page en category page een add to cart knop zien waarbij je een kortere weg hebt om deze te bestellen. Daarnaast kan je op de foto klikken om op de product pagina te komen waar alle opties van het artikel te zien zijn (maat-kleur) met ook een add to cart knop. Ik kan nu geen artikelen aan het winkelmandje toevoegen. De knop op de product pagina werkt niet (niet aan te klikken - <button class="btn btn-primary add-to-cart" data-button-action="add-to-cart" type="submit" disabled="">). Toevallig vond ik bij een van mijn artikelen in één specifieke maat dat deze wel te bestellen was maar alle andere maten niet... Vreemd genoeg werk de knop op de foto in de home page en category page wel maar dan kan je geen maten kiezen dus dat help ook niet. Ik vroeg mij af of er iets in de database conversie niet goed is gegaan (ergens een setting van een product) of dat er iets aan de theme mankeert. Als ik naar de basic theme terug ga werkt het bij hetzelfde product wel goed (dan zou je denken het ligt aan de theme) Als ik in de aangekochte theme een product toevoeg werkt ook alles na behoren (dan zou je denken dat het aan de database ligt) Staat er misschien los van maar misschien ook niet: ik krijg op één module die bij de aangekochte theme hoort een foutmelding bij het opslaan van de wijzigingen (slider - foto - tekst - instellingen): "Ajax Error!!!! error". Ik kan mij van de oude versie herinneren dat cart ook iets met Ajax te maken had maar in de nieuwe versie kan ik daar niets over vinden (help werkt ook niet goed in de nieuwe versie). Opmerking: De instelling "Toon de knop "voeg toe aan winkelwagen" als het product attributen heeft " staat op NEE maar de theme houdt daar kennelijk geen rekening mee (of alleen vanwege het niet juiste werken van het geheel). Vreemd genoeg valt me nu net pas op dat als je op de Quick View knop klik hij het product laat zien maar laat bij de afbeelding een soort slide show zien van allerlei andere producten in dezelfde category..... Voorraadbeheer staat overigens UIT. Was ook zo in oude webshop/versie. Iemand een idee waar dit alles aan kan liggen? Iedere hulp is welkom aangezien ik nu niet meer weet waar ik moet zoeken en wie van de twee ik hierop kan aanspreken (de theme maker of de migration module maker).
  23. Hi, Prestashop 1.7 latest On my shop, I need to display a button or link to add to the product attributes basket like the example below: So I removed the default button "Add to cart", I hid (type hidden) the quantity field with a fixed value of 1. In my themes based on the classic themes, I edited templates / catalog / _partials / product-variants.tpl and deleted all the default codes. I have written a simple code to get all the information I need to display (I will customize the display as the image above with CSS when add to cart will work). The "Add to Cart" link does not work. Nothing is happening : {assign var=prate value=($product.rate/100)+1} {foreach from=$groups key=id_attribute_group item=group} <!--{$group.name|escape:'htmlall':'UTF-8'} :--> {foreach from=$group.attributes key=id_attribute item=group_attribute} {assign var="myAttrName" value=" - "|explode:$group_attribute.name} {assign var=txattr value=$group_attribute.attribute_impacts+$product.price_tax_exc} {assign var=txattr_wt value=$txattr*$prate} <div>PRODUCT ID {$product.id} -> {$myAttrName[0]|escape:'htmlall':'UTF-8'} - > {$myAttrName[1]|escape:'htmlall':'UTF-8'} -> group[{$id_attribute_group}] -> ID ATTR {$id_attribute} -> HT PRICE IMPACT {Tools::displayPrice($group_attribute.attribute_impacts)} -> HT PRODUCT {Tools::displayPrice($product.price_tax_exc)} -> HT RESULT PRICE {Tools::displayPrice($txattr)} -> TTC {Tools::displayPrice($txattr_wt|string_format:"%d")} <br><a class="exclusive button ajax_add_to_cart_button" href="{$link->getPageLink('cart', true, NULL, "qty=1&id_product={$product.id|intval}&id_product_attribute={$id_attribute}&token={$static_token}&add")}" rel="ajax_id_product_{$product.id|intval}" title="{l s='Add to cart'}">{l s='Add to cart'}</a> </div> {/foreach} {/foreach} Display : PRODUCT ID 4 -> Non commercial licence - > 8k image -> group[1] -> ID ATTR 25 -> HT PRICE IMPACT €0.00 -> HT PRODUCT €49.00 -> HT RESULT PRICE €49.00 -> TTC €58.00 -> Add to cart PRODUCT ID 4 -> Commercial licence - > 8k image -> group[1] -> ID ATTR 26 -> HT PRICE IMPACT €350.00 -> HT PRODUCT €49.00 -> HT RESULT PRICE €399.00 -> TTC €478.00 -> Add to cart PRODUCT ID 4 -> Commercial licence - > 16k image -> group[1] -> ID ATTR 27 -> HT PRICE IMPACT €550.00 -> HT PRODUCT €49.00 -> HT RESULT PRICE €599.00 -> TTC €718.00 -> Add to cart How to format the link or button to add a product attribute to the cart from the product card, keeping the effect of the confirmation that opens to go to cart or continue shopping? Thanks
  24. Hi Thank you for taking the time to read my question. I recently moved my store to a new server and have found 2 issues that I think may be related. Firstly if I enter the URL www.layella.com I get the maintenance page (I have checked all the possible solutions for this after asking previously) However if I enter www.layella.com/index.php or www.layella.com/en I get the shop as I expect. So it's not redirecting properly. The second issue is that when I try to add to cart I get this error: Impossible to add the product to the cart. textStatus: 'parsererror' errorThrown: 'SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data' responseText: With the response text being the under maintenance page. I'm stuck as to where to check next. Any ideas and help would be gratefully received. Thanks Sue
  25. When the user click on the button "Add to cart" I want this product to go to the "Favorite list" too. How can I do it? Thanks
×
×
  • Create New...