Jump to content

sulis

Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • First Name
    Sulis
  • Last Name
    tiani

sulis's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hallo para developer Ask ini mengenai Facebook Convertion Tracking agar total harga dapat terbaca saya coba masukan script pada module bank transfer payment_return.tpl {if $status == 'ok'} <div class="box"> <p class="cheque-indent"> <strong class="dark">{l s='Your order on %s is complete.' sprintf=$shop_name mod='bankbca'}</strong> </p> {l s='Please send us a bank wire with' mod='bankbca'} <br />- {l s='Amount' mod='bankbca'} <span class="price"> <strong>{$total_to_pay}</strong></span> <br />- {l s='Name of account owner' mod='bankbca'} <strong>{if $bankbcaOwner}{$bankbcaOwner}{else}___________{/if}</strong> <br />- {l s='Include these details' mod='bankbca'} <strong>{if $bankbcaDetails}{$bankbcaDetails}{else}___________{/if}</strong> <br />- {l s='Bank name' mod='bankbca'} <strong>{if $bankbcaAddress}{$bankbcaAddress}{else}___________{/if}</strong> {if !isset($reference)} <br />- {l s='Do not forget to insert your order number #%d in the subject of your bank wire' sprintf=$id_order mod='bankbca'} {else} <br />- {l s='Do not forget to insert your order reference %s in the subject of your bank wire.' sprintf=$reference mod='bankbca'} {/if} <br /> <br /> <strong>{l s='Your order will be sent as soon as we receive payment.' mod='bankbca'}</strong> <br> <br> <strong>{l s='An email has been sent with this information.' mod='bankbca'}</strong> <br> <br />{l s='If you have questions, comments or concerns, please contact our' mod='bankbca'} <strong><a href="{$link->getPageLink('contact', true)|escape:'html':'UTF-8'}">{l s='expert customer support team. ' mod='bankbca'}</a>.</strong> </div> {else} <p class="alert alert-warning"> {l s='We noticed a problem with your order. If you think this is an error, feel free to contact our' mod='bankbca'} <strong><a href="{$link->getPageLink('contact', true)|escape:'html':'UTF-8'}">{l s='expert customer support team. ' mod='bankbca'}</a>.</strong> </p> {/if} {addJsDef purchasedvalue={$total_to_pay} dan menyisipkan script facebook pixel pada order-confirmation.tpl {* * 2007-2016 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <contact@prestashop.com> * @copyright 2007-2016 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {capture name=path}{l s='Order confirmation'}{/capture} <h1 class="page-heading">{l s='Order confirmation'}</h1> {assign var='current_step' value='payment'} {include file="$tpl_dir./order-steps.tpl"} {include file="$tpl_dir./errors.tpl"} {$HOOK_ORDER_CONFIRMATION} {$HOOK_PAYMENT_RETURN} {if $is_guest} <p>{l s='Your order ID is:'} <span class="bold">{$id_order_formatted}</span> . {l s='Your order ID has been sent via email.'}</p> <p class="cart_navigation exclusive"> <a class="button-exclusive btn btn-outline" href="{$link->getPageLink('guest-tracking', true, NULL, "id_order={$reference_order|urlencode}&email={$email|urlencode}")|escape:'html':'UTF-8'}" title="{l s='Follow my order'}">{l s='Follow my order'}</a> </p> {else} <p class="cart_navigation exclusive"> <a class="button-exclusive btn btn-outline" href="{$link->getPageLink('history', true)|escape:'html':'UTF-8'}" title="{l s='Go to your order history page'}">{l s='View your order history'}</a> </p> <p class="cart_navigation exclusive"> <a class="button button-medium btn" href="module/paymentconfirmation/confirm" title="{l s='Confirm Your Payment'}">{l s='Payment Confirmation'}<i class="icon-chevron-right"></i></a> </p> {/if} <script> {literal} fbq('track', 'Purchase', { value: purchasedvalue, }); {/literal} </script> Setelah itu terjadi error : Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/admin/public_html/modules/bankbca/views/templates/hook/payment_return.tpl" on line 57 "" - Unexpected " " <-- thrown in /home/admin/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 57 Mohon bantuannya jika ada kesalahan
×
×
  • Create New...