No content to show
User Activity
I came across this thread looking for a solution to an incorrect percentage off being displayed on the site. Figured I'd post the solution I ended up using. {%- assign price_save = compare_at_price | minus: price -%}
{%- assign price_save_money = pri...
02-07-2022
I'm using Vanilla JS - so using the xhr method. But I'm running into this same issue. I'm trying to post a cart attribute after shipping has been selected and a customer clicks "Continue to payment". Console returns a 200 indicating it was successful...
Using JS to modify the DOM seems the way to go. In my opinion there is nothing hacky about that. Liquid is a templating language and only rendered on the back end. The discount code functionality is built into the Shopify checkout experience. The the...
After some searching myself it turns out Shopifys local dev tools are not compatible with node 17. The fix I found was to roll back my node version and use the long term support version with this command: nvm install --lts My output from that comma...
After some searching myself it turns out Shopifys local dev tools are not compatible with node 17. The fix I found was to roll back my node version and use the long term support version with this command: nvm install --lts My output from that comma...
11-24-2021
Cheers, mate! That did the trick!
11-24-2021
Hi Folks. I'm writing some javascript to add multiple items to the cart. The problem I'm having is that cart.js is complaining that my JSON is invalid some how. (cart is sending back a 400) Here's a valid JSON string that uses read variant ID's: [{"i...
05-12-2021
Looks like that was the wrong approach. I had to create unique information in the properties so I adjusted the timestamp field we had - boom worked.
Hey folks,Trying to generate a unique hash in JS using md5 to use as a part of a cart line item duplication feature I'm developing.First, we sell laser engraved products, so in our add-to-cart process we capture text information from the customer whi...
My Accepted Solutions
Subject | Views | Posted |
---|---|---|
1837 | 01-25-2022 01:35 PM | |
1304 | 05-12-2021 03:49 PM |