Jump to content

Search the Community

Showing results for tags 'smarty variables'.

  • 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


Found 4 results

  1. I am looking to implement the Google Trusted Store Order Confirmation Module Code onto my website. I am able to upload the code on the order-confirmation.tpl file but some of the smarty variables are not working properly. Specifically the ones listed below. {$smarty.get.id_product} {$priceDisplay} {$smarty.now} {$product.product_name} Below is the code I currently have: <!-- START Google Trusted Stores Order --> <div id="gts-order" style="display:none;" translate="no"> <!-- start order and merchant information --> <span id="gts-o-id">{$smarty.get.id_product}</span> <span id="gts-o-domain">{$base_dir_ssl}</span> <span id="gts-o-email">{$cookie->email}</span> <span id="gts-o-country">US</span> <span id="gts-o-currency">USD</span> <span id="gts-o-total">{$priceDisplay}</span> <span id="gts-o-discounts">{$priceDisplay}</span> <span id="gts-o-shipping-total">{$priceDisplay}</span> <span id="gts-o-tax-total">{$use_taxes}</span> <span id="gts-o-est-ship-date">{$smarty.now}</span> <span id="gts-o-est-delivery-date">{$smarty.now}</span> <span id="gts-o-has-preorder">N</span> <span id="gts-o-has-digital">N</span> <!-- end order and merchant information --> <!-- start repeated item specific information --> <!-- item example: this area repeated for each item in the order --> <span class="gts-item"> {foreach from=$products item=product name=products} <span class="gts-i-name">{$product.product_name}</span> <span class="gts-i-price">{$priceDisplay}</span> <span class="gts-i-quantity">{$cart_qties}</span> <span class="gts-i-prodsearch-id">{$product.id_product}</span> <span class="gts-i-prodsearch-store-id">{$cart->id_shop}</span> <span class="gts-i-prodsearch-country">US</span> <span class="gts-i-prodsearch-language">EN</span> {/foreach} </span> <!-- end item 1 example --> <!-- end repeated item specific information --> </div> <!-- END Google Trusted Stores Order --> Are the global variables wrong? I am using Prestashop v. 1.6.1
  2. hello, i am trying to modify custom bought module and i have stucked. i have an array of carriers with name and price; if carrier price = 0, then show "free delivery" else show price 1/ i need to show "free delivery" also when product price > free delivery limit (free delivery limit should be taken automatically from settings or manually hard coded) 2/ showing "free delivery" also when there is product price < free delivery limit but (cart ammount + product price) > free delivery limit any clues how to do it in .tpl? {foreach from=$final_carriers item=carrier} {if $carrier.price == 0 } <li>{$carrier.name} : <strong>Free delivery!</strong></li> {else} <li>{$carrier.name} : <strong>{convertPrice price=$carrier.price}</strong></li> {/if} {/foreach}
  3. Hello, Is the Prestashop Version 1.6.0.6 ignoring not registered smarty variables? If so, how can I change this so that they are not ignored? Many thanks for your help. chello
  4. on Prestashop 1.5, I try to get product->description in hookProductTab PHP module. - the module hookProductTab is called before ProductController function initContent(), so it seems impossible to get module description - what is the best way to get product->description even in ProductController the following code does not work $tplproducts = $smarty->tpl_vars['product']->value; $m1 = $tplproducts->description_short; Is there a solution to get product->description in hookProductTab PHP module ?
×
×
  • Create New...