How to show diferent total on cart shopify
I am showing different prices on the cart based on the quantity of an item, if the item in the cart has more than 6 in the item.quantity it should count the price saved in a metafield, else it shown…
I am showing different prices on the cart based on the quantity of an item, if the item in the cart has more than 6 in the item.quantity it should count the price saved in a metafield, else it shown…
I want to redirect people directly to the checkout page, instead of the cart page. There are in total 5 products. All the customers buy other products, so they all need another checkout link. In the start I tried to…
I'm developing an app for Shopify. Currently under development stage. Until now, I have successfully managed to authorise the app and then redirect it back to admin page using the Embedded App SDK. However, when I return to the admin…
I'm trying to update some data with AJAX on my Shopify theme, I'm also using the CartJS plugin. I have the counter working find but when I come to update the price it doesn't format correctly. It does add all…
I'm new to Shopify app developing and I'm using Node,Express for the back-end and react with polaris libaray. My question is how to get the shop's domain the request is initiating throug h the app. When I searched I could…
E-commerce intermediate, Shopify and Ruby on Rails newbie. How does one go about customizing Shopify files? I have a purchased a theme but want to make some changes to the .liquid files. Do I have to I unzip, edit, re-zip…
This is my code : function verifyRequest($request, $secret) { // Per the Shopify docs: // Everything except hmac and signature... $hmac = $request['hmac']; unset($request['hmac']); unset($request['signature']); // Sorted lexilogically... ksort($request); // Special characters replaced... foreach ($request as $k => $val) {…
I've used Beanstalk and Tower in the past for version control, however, is there a way to connect Shopify to GitHub? Ideally, I'd like to have a copy of my Shopify theme on my desktop to work on, then when…
Based on this tutorial, I tried the below code. I'm trying to add a new script to the web page. request.post(accessTokenRequestUrl, { json: accessTokenPayload }) .then((accessTokenResponse) => { const accessToken = accessTokenResponse.access_token; // DONE: Use access token to make API…
I have an issue In Debut Theme, I would like to display the amount of money saved and percentage of discount for each variant of a product. I have this script in product-template.liquid : {% assign amount_saved = current_variant.compare_at_price |…