Troubleshooting: Customized Product Shows as Sold Out in Cart - add/cart.js error

If you are experiencing an issue where a product customized with Qstomizer appears as “sold out” in the cart and cannot be checked out or a cart/add.js error is thrown, this guide will help you identify and resolve the problem.

Important: This issue is typically related to your Shopify store’s inventory or shipping settings, not the Qstomizer app itself. Qstomizer does not control checkout or inventory management.
Steps to Diagnose and Resolve
  1. Check Inventory Settings:
    For the product linked to your Qstomizer template (and all its variants), ensure the Shopify setting “Continue selling when out of stock” is enabled.
    This allows customers to purchase customized products even if inventory is zero.
  2. Review Shipping Address Settings:
    If you have multiple shipping addresses, verify that your default shipping address is correctly configured and able to deliver products.
    In many circumstances, this issue can be resolved by updating the default shipping address.
  3. Check your Locations:
    Check your existing Locations and verify that the location that serves the product is able to ship the products.
    Usually the inventory of the product that is causing the issue is not assigned to the right location or the location is not allowed to ship the product.
  4. Contact Shopify Support:
    If the issue persists after checking inventory and shipping settings, contact Shopify Support for further assistance.
    Shopify support can access your store’s backend and help resolve checkout or configuration issues.
More Deatils.

The "cart/add.js" error message error when clicking "continue purchase" button is typically caused by your Shopify Location Fulfillment settings.

Why this happens.

When a custom product is generated, Shopify automatically assigns it to your Default Location. If that location is not authorized to fulfill online orders, Shopify’s API will block the sale and report the item as out of stock, even if you have inventory elsewhere.

How to Fix It (Step-by-Step)

1. Enable Online Fulfillment

You must ensure your primary location is allowed to ship products.

  1. In your Shopify Admin, go to Settings > Locations.
  2. Select your Default location.
  3. Scroll to the Fulfillment section.
  4. Ensure the toggle "Use inventory at this location to fulfill online orders" is switched ON.
  5. Check that Shipping displays as "On".

2. Resolving a "Greyed Out" Toggle

If Shopify prevents you from clicking the toggle at your default location:

  1. Go to Settings > Locations and click on a different location.
  2. Click "Set as default" (or Change default location) and save.
  3. Go back to your original location settings; the Fulfillment toggle will now be clickable.
  4. Turn it ON and save.
  5. You may now switch the "Default" status back to this location if desired.

3. Verify Shipping Origins

  1. Go to Settings > Shipping and Delivery.
  2. In the Shipping section, click on your General Profile.
  3. Ensure your default location is listed under Shipping origins so Shopify knows it can ship from there.
Summary Checklist
  • - Fulfillment Toggle: Must be ON for the Default Location.
  • - Default Location: Must be an active shipping origin in your Shipping Profiles.
  • - Inventory Tracking: While the app creates products automatically, ensuring your store settings allow for sales from all locations prevents API rejection.
Need more help? If you have followed these steps and the issue remains unresolved, please contact our support team with details about your store and the affected product.