Shopify Order Metadata

You’d be forgiven for thinking you couldn’t as the docs only mention Product meta and Shop meta. You can add metadata to an existing order that was created through the normal order flow (or an admin order) and not the API. This Stackoverflow answer pointed me in the right direction. My example is in PHP …

Read moreShopify Order Metadata

Post Affiliate Pro Shopify Saletracking

Post Affiliate Pro have a plugin for Shopify and a handy guide here -> https://www.postaffiliatepro.com/integration-methods/integration/shopify/ There are a few issues with their plugin though. Firstly there’s no option to include a Campaign ID, so your clicks will default back the default campaign. Not too much of a problem if you don’t have any commissions on …

Read morePost Affiliate Pro Shopify Saletracking

Update cart contents counter after Ajax update

A short post that will hopefully be helpful to somebody – I’ve had to write this because Shopify have an annoying policy of closing old forum threads when it’d be more useful to keep them open and have them updated. This thread; https://ecommerce.shopify.com/c/shopify-apis-and-technology/t/how-do-i-update-the-cart-counter-immediately-via-ajax-268966 Has an outdated solution for the problem. Problem If you enable the …

Read moreUpdate cart contents counter after Ajax update