Shopify themes, liquid, logos, and UX
I found a guide on the forum to add a back order button for items that are out of stock - the add to cart button changes to back order - this works very well however I get "Required parameter missing or invalid: items"
I dont want to have every product set "continue selling when out of stock" as the customer doesnt know it might not ship straight away. we have over 4000 products on our site so backorder will work very well.
The guide I followed is here :
Welcome to shopify community.
Can you share the code you added pls? Which theme are you using?
we have the venture theme and the code for the snippet is :
{% if product.available %}
<form action="/cart/add" method="post">
<button type="submit" class="btn">Add to cart</button>
</form>
{% else %}
<button class="btn">Backorder (Usually ships within 48 hours)</button>
{% endif %}
and then added in to the code on page is
{% render 'backorder-button' %}
Actually liquid theme
https://kartingcentre.com.au/collections/chassis-components-1/products/otk-engine-stop-bolt
as you click on the now back order button - it pops up with the error immediately and doesnt add anything to the cart
OK, Thank you. Since it is out of stock. So it should not add to cart. What behavior you expect after click the back order button?
do you just expect to remove the error, right?
really want an option for someone to have the ability to still order the product even though its sold out - however dont want to set the product as sellable if its sold out as it wont give a warning that its on back order
looking at the comments from the first link I shared it seems entirely possible ?
I think it is possible. Replace your current code with below cope snippet.
<form action="/cart/add" method="post">
{% if product.available %}
<button type="submit" class="btn">Add to cart</button>
{% else %}
<button class="btn" type="submit">Backorder (Usually ships within 48 hours)</button>
{% endif %}
</form>
Feel free to reach out if you need any further assistance
sadly same issue with missing parameter
Do you allow sell product that out of stock?
Can you check if it selected?
if not, try selected it and retry the back order to see if it works.
Hey Peter!
Were you still having issues with this? Just wanted to suggest considering using an app for handling back-order products. We just launched one called Early Bird which makes setting up back-orders for your entire catalog super easy.
It also means no theme modifications or liquid code (one-click setup, removed completely on uninstall).
You can choose to activate back-orders for your entire catalog (even 4000 products!), or only for specific products you choose, and it will show clear messaging/labels that it's a back-order once the stock reaches 0. And you can of course edit this messaging/styles as needed.
Feel free to check it out on our Free plan to see if it works for you! I'd be happy to help get you set up too if you have any questions or issues.
Here's an example product with some of the different options we offer (password is "demo"). Hope it helps!
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024