Add new payment and shipping parsers for various integrations
- Implemented Google Pay parser in bongooglepay.js - Added Buckaroo 3 payment parser in buckaroo3.js - Introduced DataTrans CW Mastercard parser in datatranscw.js - Created DataTrans CW Credit Card parser in datatranscw_creditcard.js - Developed DHL Assistant shipping parser in dhlassistant.js - Added Estimated Delivery parser in estimateddelivery.js - Implemented Floapay payment parser in floapay.js - Created FS Pickup at Store shipping parser in fspickupatstore.js - Developed Generic Iframe parser in generic_iframe_parser.js - Added Geodis Officiel shipping parser in geodisofficiel.js - Implemented Glob Kurier module shipping parser in globkuriermodule.js - Created Latvija Post Express Pickup Terminal parser in latvijaspastsexpresspastspostterminalslv.js - Developed LP Shipping parser in lpshipping.js - Added Mijora Venipak parser in mijoravenipak.js - Implemented Apple Pay parser in pm_applepay.js - Created Przelewy24 payment parser in przelewy24.js - Developed Pshugls shipping parser in pshugls.js - Added Redsys Insite payment parser in redsysinsite.js - Implemented Tpay payment parser in tpay.js - Updated third-party integration documentation for FedEx DotCom
This commit is contained in:
@@ -14,33 +14,34 @@
|
||||
{assign var='addressesCombobox' value=$addressesList.delivery}
|
||||
{/if}
|
||||
{*otherwise, addressCombobox won't be set and we won't continue*}
|
||||
|
||||
{if isset($addressesCombobox) && $addressesCombobox|@count > 0}
|
||||
{assign var='hideAddressesSelection' value=($addressesCombobox|@count == 1 &&
|
||||
(("invoice" == $addressType && $idAddressInvoice|array_key_exists:$addressesCombobox)
|
||||
|| ("delivery" == $addressType && $idAddressDelivery|array_key_exists:$addressesCombobox)))}
|
||||
(("invoice" == $addressType && array_key_exists($idAddressInvoice, $addressesCombobox))
|
||||
|| ("delivery" == $addressType && array_key_exists($idAddressDelivery, $addressesCombobox))))}
|
||||
<div class="customer-addresses{if $addressesCombobox|@count == 1} hidden-1{/if}">
|
||||
{if $hideAddressesSelection}
|
||||
<a class="custom-link" data-link-action="x-add-new-address">{l s='Add a new address' d='Shop.Theme.Actions'}</a>
|
||||
{/if}
|
||||
<div class="addresses-selection{if $hideAddressesSelection} hidden{/if}">
|
||||
<span class="saved-addresses-label">{l s='Saved addresses:' mod='thecheckout'}</span>
|
||||
<select class="not-extra-field" data-link-action="x-{$addressType}-addresses">
|
||||
<select class="not-extra-field" data-link-action="x-{$addressType|escape:'javascript':'UTF-8'}-addresses">
|
||||
{* <option value="-1">{l s='New' d='Shop.Theme.Catalog'}{l s='...' mod='thecheckout'}</option>*}
|
||||
<option value="-1">{l s='Add a new address' d='Shop.Theme.Actions'}</option>
|
||||
{foreach $addressesCombobox as $address}
|
||||
<option value="{$address.id}"
|
||||
<option value="{$address.id|escape:'javascript':'UTF-8'}"
|
||||
{if "invoice" == $addressType}
|
||||
{if $address.id == $idAddressInvoice && ($isInvoiceAddressPrimary || $idAddressInvoice != $idAddressDelivery )} selected{/if}
|
||||
{if $address.id == $lastOrderInvoiceAddressId && $address.id != $idAddressDelivery && (!$isInvoiceAddressPrimary && $idAddressInvoice == $idAddressDelivery )} selected{/if}
|
||||
{if $address.id == $idAddressDelivery && $idAddressInvoice != $idAddressDelivery} disabled{/if}
|
||||
{* {if $address.id == $idAddressDelivery && $idAddressInvoice != $idAddressDelivery} disabled{/if}*}
|
||||
{if $address.id == $idAddressDelivery} disabled{/if}
|
||||
{else}
|
||||
{if $address.id == $idAddressDelivery && (!$isInvoiceAddressPrimary || $idAddressInvoice != $idAddressDelivery )} selected{/if}
|
||||
{if $address.id == $lastOrderDeliveryAddressId && $address.id != $idAddressInvoice && ($isInvoiceAddressPrimary && $idAddressInvoice == $idAddressDelivery )} selected{/if}
|
||||
{if $address.id == $idAddressInvoice && $idAddressInvoice != $idAddressDelivery} disabled{/if}
|
||||
{* {if $address.id == $idAddressInvoice && $idAddressInvoice != $idAddressDelivery} disabled{/if}*}
|
||||
{if $address.id == $idAddressInvoice} disabled{/if}
|
||||
{/if}
|
||||
>{$address.alias}</option>
|
||||
>{$address.alias|escape:'htmlall':'UTF-8'}{* /id-this:{$address.id}-idInv:{$idAddressInvoice}-idDlv:{$idAddressDelivery}*}</option>
|
||||
{/foreach}
|
||||
<option value="-1">{l s='Add a new address' d='Shop.Theme.Actions'}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user