Announcement
Collapse
No announcement yet.
SOLD OUT button not displaying
Collapse
X
-
I figured it out - it should have been js-PROD that I changed it to. <mvt:doh>It works now</mvt:doh>
-
I realize I started this for the Suivant ReadyTheme but I'm having a similar issue with Iron & Wool. I created a new PROD page template, I copied everything over from a working PROD page template, I changed the body ID to body id="PROD" but the words "SOLD OUT" do not appear on the copy. The button is grayed out but no text on the button change. So why would it work on the on the page template and not this one? I changed the body ID so that the javascript would work for the page. This has me truly baffled.
Leave a comment:
-
Update: Changing 'Track Low Stock Level' from 'Default' to 'No' makes the greyed out button appear when Inventory is 0. That solved my problem.
Leave a comment:
-
Thank you. Unfortunately, the Coustic snippet is the code already in the PROD display layout.
Leave a comment:
-
Update the Add to cart input on the Product Display Layout template
Suivant Readytheme FIX:
<mvt:if expr="( l.settings:product:inv_level EQ 'out' )">
<input type="submit" value="Add to Cart" data-value="Add to Cart" id="js-add-to-cart" class="button button-block uppercase add-to-cart bg-teal bold" disabled />
<mvt:else>
<input type="submit" value="Add to Cart" data-value="Add to Cart" id="js-add-to-cart" class="button button-block uppercase add-to-cart bg-teal bold" />
</mvt:if>
Coustic Readytheme FIX:
<mvt:if expr="( l.settings:product:inv_level EQ 'out' )">
<input type="submit" value="Add to Cart" data-value="Add to Cart" id="js-add-to-cart" class="button button-medium uppercase add-to-cart button-pill" disabled />
<mvt:else>
<input type="submit" value="Add to Cart" data-value="Add to Cart" id="js-add-to-cart" class="button button-medium uppercase add-to-cart button-pill" />
</mvt:if>
Leave a comment:
-
I would recommend contacting support so they can access the administration portal to review all the settings.
Leave a comment:
-
Originally posted by Matt Zimmermann View PostIt is controlled through the outofstock functionOkay, I reverted the code back, I have the Add to Cart back. Back to not displaying the Sold Out when the inventory level is 0:Code:// ---- Update Button For "Out Of Stock" ---- // function outOfStock () { var button = $('#js-add-to-cart'), buttonText = button.val(); if (button.is(':disabled') == true) { button.addClass('bg-gray').val('Sold Out'); } else { button.removeClass('bg-gray').val(buttonText); }; }; outOfStock ();
http://www.celebrate365.com/product/TG634SLV.html
Leave a comment:
-
If I add the value data-value="Add to Cart" what happens when it's Sold Out? I seem to recall this is dynamically generated at least in other ReadyThemes, yes?Originally posted by Matt Zimmermann View PostHi Leslie,
It would appear that the value attribute for your button is being removed, most like because of the version of out of stock function you are using. If you add data-value="Add to Cart", the display should come back.
Leave a comment:
-
Hi Leslie,
It would appear that the value attribute for your button is being removed, most like because of the version of out of stock function you are using. If you add data-value="Add to Cart", the display should come back.
Leave a comment:
-
Something is really, really squirrelly now. The Add to Cart button is not displaying:
http://www.celebrate365.com/product/TG1644.html
FYI - the Add to Cart is displaying on the Quick View (but the Sold Out is displaying as Add to Cart).
Last edited by lesliekirk; 10-20-17, 06:42 AM.
Leave a comment:
-
Never did get an answer on my issue - should I open a ticket? Yes, the inventory setting are tracking out of stock. Yes, the inventory level is at 0.Originally posted by lesliekirk View Post
Okay, so should I open a support ticket? Will support be able to look at this and figure it out?
Leave a comment:
-
And as Pamela has mentioned to me, setting one of the attributes to the default, increases returns. (It's sort of like using radio buttons for the payment methods and having one pre-selected - the customer doesn't understand why the credit card keeps failing...)Originally posted by Pamela Hazelton View Post
Any way to turn that function off via the admin? On attribute items it makes customers think the item is not available before they've selected a size...
Leave a comment:
Leave a comment: