<script type="text/javascript">
{% if customer %}
{% assign customerid = '"<?php echo base_url('checkout?id='.$postdata['cart_id']); ?>' | append: '&customer=' | append: customer.id | append: '"' %}
{% else %}
{% assign customerid = '"<?php echo base_url('checkout?id='.$postdata['cart_id']); ?>' | append: '"' %}
{% endif %}
var checkouturl = {{customerid}};
window.location.replace(checkouturl);
</script>
Shopify, Shopify Apps, Magento, WordPress, Codeigniter, Joomla, Big Commerce | PHP
Showing posts with label Concat. Show all posts
Showing posts with label Concat. Show all posts
Monday, 24 June 2019
How to concat string and variable in Liquid Shopify in PHP with proxy URL
Subscribe to:
Posts (Atom)