No content to show
User Activity
07-30-2023
We use Storefront API to power our website with products data and cart functionality.Recently, our monitor (Sentry) showed a large number of network errors. This hugely affects our business as many customers fail to add/remove items from their cart.D...
The properties has to be an array of objects, and each object must contain "name" and "value" fields:[
{
"name": "price",
"value": "100"
}
]
I need to add a note for each line item in draft orders.In the Shopify Admin docs, I found the "properties" field: properties: An array of custom information for an item that has been added to the draft order, often used to provide product customizat...
In our website, we use DraftOrder REST API to create draft order for customers after they add items to their cart and fill in their shipping details. In the checkout form, we validate the email input using a regex that accepts all types of domains.Th...
02-27-2023
We're implementing a store credit system. We want to decrease the total amount of the cart by a specific amount, without using discount codes.As a user can apply both discount code and store credits.What is the best way to apply store credits to the ...
11-28-2022
Solved it by adding discountAllocation inside lines, not the cart directly, as some discounts are applied to the whole cart, and others are applied to the line items. lines(first: 100) {
edges {
node {
id
...
10-12-2022
I create a cart with a working discount code, and it successfully updates the cost according to the discount applied: mutation CartCreate($input: CartInput!) {
cartCreate(input: $input) {
cart {
id
discountCodes {
code
applic...
We have exactly the same problem
My Accepted Solutions
Subject | Views | Posted |
---|---|---|
1640 | 07-17-2023 11:28 AM | |
1082 | 11-28-2022 01:52 AM |