- Home
- Browse
- Fig Trees
- Mercedes Gem, own roots, 4x9 tree pot(58242769)
× Bidding has ended on this item.
"); if (!$(this).is(":visible")) { $(this).fadeTo(1000, 1, function () { $(this).slideDown(500); }); } }); } if (data.Accepted) { //prepare success system message systemMessage = "
×" + contextMessageDictionary["ActionSuccess"] + "
"; if (!$(".awe-rt-ListingActionMessage").is(":visible") || $(".awe-rt-ListingActionMessage").html() == "") { $(".awe-rt-ListingActionMessage").hide(); $(".awe-rt-ListingActionMessage").html(systemMessage); $(".awe-rt-ListingActionMessage").slideDown(); } else { $(".awe-rt-ListingActionMessage").fadeOut(200, function () { $(this).html(systemMessage); $(this).fadeIn(200); }); } //render checkout button if a lineitem was returned if ((autoGenerateInvoices || ownerAllowsInstantCheckout) && data.LineItemID) { var checkoutUrl = 'https://figbid.com/Home/Checkout'; if (autoCheckoutForBuyNow) { window.location = checkoutUrl; } var checkoutHtml = '
' + '' + '' + '' + '' + '' + '' + 'Checkout' + '' + '' + '
'; if ($(".detail__context-menu").find(".btn__detail__checkout").length == 0) { $(".detail__context-menu").prepend(checkoutHtml).show(); } else { jslog("skipped rendering checkout button because one already exists."); } } if (data.LineItemID && !highlightCheckoutButtonForBuyNow) { //render contact seller button if one does not already exist if (true && $("a.btn__detail__contactuser").length == 0 && showMessageToSeller) { var contactSellerUrl = '/Account/SendListingMessage?receiver=Trustyfarms&template=ask_listing_question&listingID=58242769&returnUrl=%2FListing%2FDetails%2F58242769%2FMercedes-Gem-own-roots-4x9-tree-pot'; var contactSellerHtml = '
' + '' + '' + '' + '' + '' + '' + 'Contact Seller' + '' + '' + '
'; $(".detail__context-menu").append(contactSellerHtml).show(); jslog("contact button rendered for line item #" + data.LineItemID); } //render feedback button if (true) { var feedbackUrl = '/Account/SubmitFeedback?LineItemID=REPLACELINEITEMID&ListingID=58242769&Receiver=Trustyfarms' .replace("REPLACELINEITEMID", data.LineItemID); var feedbackHtml = '
' + '' + '' + '' + '' + '' + '' + 'Feedback' + '' + '' + '
'; var feedbackHtmlList = '
'; if ($(".detail__feedback").length == 0) { $(".detail__context-menu").append(feedbackHtml).show(); } else { $(".detail__feedback-dropdown-menu").append(feedbackHtmlList); } jslog("feedback button rendered for line item #" + data.LineItemID); } } } else { //ReasonString is populated, prepare a Negative System message if (contextMessageDictionary[data.ReasonString]) { systemMessage = "
×" + contextMessageDictionary[data.ReasonString] + "
"; } else { systemMessage = "
×" + data.ReasonString + "
"; } if (!$(".awe-rt-ListingActionMessage").is(":visible") || $(".awe-rt-ListingActionMessage").html() == "") { $(".awe-rt-ListingActionMessage").hide(); $(".awe-rt-ListingActionMessage").html(systemMessage); $(".awe-rt-ListingActionMessage").slideDown(); } else { $(".awe-rt-ListingActionMessage").fadeOut(200, function () { $(this).html(systemMessage); $(this).fadeIn(200); }); } } } else { //Context is null, but ReasonString is populated, prepare a Negative System message if (contextMessageDictionary[data.ReasonString]) { systemMessage = "
×" + contextMessageDictionary[data.ReasonString] + "
"; } else { systemMessage = "
×" + data.ReasonString + "
"; } if (!$(".awe-rt-ListingActionMessage").is(":visible") || $(".awe-rt-ListingActionMessage").html() == "") { $(".awe-rt-ListingActionMessage").hide(); $(".awe-rt-ListingActionMessage").html(systemMessage); $(".awe-rt-ListingActionMessage").slideDown(); } else { $(".awe-rt-ListingActionMessage").fadeOut(200, function () { $(this).html(systemMessage); $(this).fadeIn(200); }); } } } }); //render checkout button if the listing ends successfully and the winner is viewing $(document).on("SignalR_UpdateListingStatus", function (event, data) { if ($.inArray(data.ListingID, interestingListings) < 0) return; if (autoGenerateInvoices || ownerAllowsInstantCheckout) { if (data.Status == "Successful" && data.LineItemID && data.LineItemPayerUN == "") { var checkoutUrl = 'https://figbid.com/Home/Checkout'; var checkoutHtml = '
' + '' + '' + '' + '' + '' + '' + 'Checkout' + '' + '' + '
'; if ($(".detail__context-menu").find(".btn__detail__checkout").length == 0) { $(".detail__context-menu").prepend(checkoutHtml).show(); } else { jslog("skipped rendering checkout button because one already exists."); } } if (data.Status == "Successful" && data.LineItemID && data.LineItemPayerUN == "") { //render contact seller button if one does not already exist if (true && $("a.btn__detail__contactuser").length == 0 && showMessageToSeller) { //"/Account/SendListingMessage?receiver=tester1&template=ask_listing_question&listingID=166614&returnUrl=%2FListing%2FDetails%2F166614%2Ftest-item-J" var contactSellerUrl = '/Account/SendListingMessage?receiver=Trustyfarms&template=ask_listing_question&listingID=58242769&returnUrl=%2FListing%2FDetails%2F58242769%2FMercedes-Gem-own-roots-4x9-tree-pot'; var contactSellerHtml = '
' + '' + '' + '' + '' + '' + '' + 'Contact Seller' + '' + '' + '
'; $(".detail__context-menu").append(contactSellerHtml).show(); jslog("contact button rendered for line item #" + data.LineItemID); } //render feedback button if (true) { var feedbackUrl = '/Account/SubmitFeedback?LineItemID=REPLACELINEITEMID&ListingID=58242769&Receiver=Trustyfarms' .replace("REPLACELINEITEMID", data.LineItemID); var feedbackHtml = '
' + '' + '' + '' + '' + '' + '' + 'Feedback' + '' + '' + '
'; var feedbackHtmlList = '
'; if ($(".detail__feedback").length == 0) { $(".detail__context-menu").append(feedbackHtml).show(); } else { $(".detail__feedback-dropdown-menu").append(feedbackHtmlList); } jslog("feedback button rendered for line item #" + data.LineItemID); } } } }); $(document).on("SignalR_UpdateInvoiceStatus", function (event, data) { if ($.inArray(data.ListingID, interestingListings) < 0) return; jslog("SignalR_UpdateInvoiceStatus (listing, invoice, status, payer): " + data.ListingID + ", " + data.InvoiceID + ", " + data.InvoiceStatus + ", " + data.InvoicePayerUN); //show "View Invoice" or "Checkout" button if applicable if (data.InvoicePayerUN == aweUserName) { //get result of /RealTime/IsInvoicePayable?invoiceId=nnnnnn var promise = Proxy.invokeAsync("IsInvoicePayable", { invoiceId: data.InvoiceID }, function(result) { var checkoutUrl = 'https://figbid.com/Home/Checkout'; if (result.isPayable) { //invoice is payable if (autoCheckoutForBuyNow) { window.location = checkoutUrl; } if ($("a.btn__detail__checkout").length == 0) { //render checkout button if one does not already exist var checkoutHtml = '
' + '' + '' + '' + '' + '' + '' + 'Checkout' + '' + '' + '
'; $(".detail__context-menu").prepend(checkoutHtml).show(); jslog("checkout button rendered for invoice #" + data.InvoiceID); } } else { //the invoice is not payable, so instead of 'checkout' button, render 'view invoice' button if one does not already exist ///change Invoice text to Checkout if ($("a.btn__detail__invoices").length == 0) { var viewInvoiceHtml = '
' + '' + '' + '' + '' + '' + '' + 'View Invoice' + '' + '' + '
'; $(".detail__context-menu").append(viewInvoiceHtml).show(); jslog("view invoice button rendered for invoice #" + data.InvoiceID); } } //only render the contact and/or feedback buttons if either // a) the web.config setting HighlightCheckoutButtonForBuyNow is set to False, or // b) the invoice is not payable if (!highlightCheckoutButtonForBuyNow || !result.isPayable) { //render contact seller button if one does not already exist if (true && $("a.btn__detail__contactuser").length == 0 && showMessageToSeller) { var contactSellerUrl = '/Account/SendListingMessage?receiver=Trustyfarms&template=ask_listing_question&listingID=58242769&returnUrl=%2FListing%2FDetails%2F58242769%2FMercedes-Gem-own-roots-4x9-tree-pot'; var contactSellerHtml = '
' + '' + '' + '' + '' + '' + '' + 'Contact Seller' + '' + '' + '
'; $(".detail__context-menu").append(contactSellerHtml).show(); jslog("contact button rendered for invoice #" + data.InvoiceID); } //render feedback button if (true) { var feedbackUrl = '/Account/SubmitFeedback?LineItemID=REPLACELINEITEMID&ListingID=58242769&Receiver=Trustyfarms' .replace("REPLACELINEITEMID", data.LineItemID); var feedbackHtml = '
' + '' + '' + '' + '' + '' + '' + 'Feedback' + '' + '' + '
'; var feedbackHtmlList = '
'; if ($(".detail__feedback").length == 0) { $(".detail__context-menu").append(feedbackHtml).show(); } else { $(".detail__feedback-dropdown-menu").append(feedbackHtmlList); } jslog("feedback button rendered for invoice #" + data.InvoiceID); } } }, function(error) { jslog("Error retrieving invoice status (1): " + error); } ); promise.fail(function (jqXHR, textStatus) { jslog("Error retrieving invoice status (2): " + textStatus); }); } }); $('.seller_return_policy').click(function (event) { event.preventDefault(); $('html, body').animate({ scrollTop: $(".details_return_policy").offset().top }, 2000); }); });
×" + 'There are only 1 items available. Please select a lower quantity to purchase.' + "
×" + 'There are only 1 items available. Please select a lower quantity to purchase.' + "