No content to show
User Activity
Thank you for your answer @iDoThemes! How would one go about setting a JS variable with liquid. I can't figure out how to get the desired result I am looking for. I have tried the following just to get some output to get started.I've tried this in a ...
10-01-2021
<script>
fetch('/cart.js')
.then(data => {
return data.json();
})
.then(post => {
let itemsArr = post.items;
let handleArr = [];
let variantArr = [];
for(let i = 0; i < item...
09-24-2021
I only want to offer the "continue selling when out of stock" functionality for shipped orders. I would like to hide the local pickup shipping option if a customer has a "continue selling when out of stock" item in their cart.
08-12-2021
Currently found the mailTo option which opens the default email client for the user but I would like to actually just send the email on form submit/button click. Any suggestions?
I built a form and I would like to send it to my own sender email address on submit. Is there any way I can do this WITHOUT an app? Can I simply hook on to the form action for the contact form or something similar to achieve this? Any help would be g...
06-02-2021
To piggy back on this thread, If I want to get my customer data (namely email address) to compare against the email used in the registration process and throw a message if already used, I would have to make a private app and call the Customer API fro...
We want to update the product price in the cart every time the quantity selected changes to show the discounted price. I tried an ajax function and it always seems to be a click behind. Is there a simpler way to update the product price to show the d...
05-19-2021
refactored with fetch but it still has the same issue, showing the previous call data. //Call to cart API
async function start() {
console.log('start', Date.now());
const response = await fetch('/cart.js', {
method: 'GET' ...
Hello!I'm trying to get my product price to update in my cart based on a selected quantity. I have a script working to discount the price 5% when you order 5+ items and 10% when you order 9+ items. I'm just wanting to reflect this on the product pric...