Shopify
Shopify
- Online Store, Themes, Edit code. In
theme.liquid, before</head>, paste the script tag. - In
main-product.liquid, under the price, add thekrti-promocontainer and passamount: '{{ product.selected_or_first_available_variant.price | money_without_currency }}'. Callupdate({ amount })onvariant:change. - In
main-cart-footer.liquid, the same container with{{ cart.total_price | money_without_currency }}andsource: 'cart'. - Checkout page: the
KrtiCardgoes under your MyFatoorah option.
Salla
Salla
Theme custom code (header) for the script; the product and cart twig partials for the
containers, with
{{ product.price }} and {{ cart.total }}.Zid
Zid
Theme settings, Custom JS, for the script; the product and cart templates for the containers
with Zid’s product price variable.
WooCommerce
WooCommerce
A snippets plugin or
functions.php: wp_enqueue_script for the script, the
woocommerce_single_product_summary hook for the product container with
$product->get_price(), and woocommerce_cart_totals_after_order_total for the cart with
WC()->cart->get_total('edit').Custom HTML
Custom HTML
Paste the snippets from the quickstart where your page
renders the price and the payment options.