How to show quantity on guest viewing …

This topic has 6 replies, 2 voices, and was last updated 1 years, 4 months ago ago by Tony Rodriguez

  • Avatar: Golden Eagle
    Shehzad Ghazi
    Participant
    November 28, 2022 at 00:23

    we are membership based site, so no price is shown anywhere till you register with the site.

    so we have 2 type of products, single product and variable product, and all are manage stock.

    we are using the barn2 table for variation, so in the table, for guest, we have enable the stock to be shown, but price we have put in table that it shall be hidden, so table colums read “login to view prices” all set.

    but in the single product, no stock levels are showing, and nowhere it says login to view prices….! price is not shown as its not suppose too, but it should have an option to show the stock atleast,

    yet on the home page, stock is showing just fine.

    so how to show stock on single product,

    also on the home page, we just want stock to show, not number of items to be sold. as being new site, all the items are zero, we may enable once we get more items in sold status

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    November 28, 2022 at 05:50

    Hello, @Shehzad Ghazi,

    First of all, your provided WP Admin Login details are not correct/working: https://postimg.cc/9rXHWXJy

    And you are using the third-party plugin for this functionality as this is not the default functionality of the Theme or WooCommerce. Please check the particular plugin setting, if it has some options for your needs, Otherwise, please try to contact the plugin Author as that is the third-party plugin issue.

    By default in our theme, we have the option to show the stock status on a single product page and you can turn it ON/OFF from XStore >> Theme Settings >> WooCommerce >> Single Product Builder >> Add to Cart & Quantity: https://postimg.cc/5X1Y9CDn

    For removing the stock numbers from the home page, I can provide you the Custom CSS for it, but I am not able to inspect your site as you have restrictions too.

    So if you will remove that restriction, I will check it again and prepare the Custom CSS for it for you.

    Thanks for your understanding.

    Regards 8Themes Team.

    Avatar: Golden Eagle
    Shehzad Ghazi
    Participant
    November 28, 2022 at 14:33

    Okay. I will update you with correct credential

    Please contact administrator
    for this information.
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    November 29, 2022 at 06:35

    Hello, @Shehzad Ghazi,

    In order to solve your issue simply go to the Dashboard >> XStore >> Theme OPtions >> Theme Custom CSS >> Global and then paste the below code at the bottom of the CSS box there.

    .page-id-20 .product-stock.step-1 span.stock-out{display:none !important;}
    .page-id-20 .product-stock.step-1 .stock-in{width:100% !important;}

    Then save settings and check back to your site after clearing the browser cache.

    The result will appear like this: https://postimg.cc/QFbDJJJM

    Regards 8Themes Team.

    Avatar: Golden Eagle
    Shehzad Ghazi
    Participant
    December 6, 2022 at 00:01

    great it worked, but I think there shall be seperate option to show quantity and sold quantity, as some of us dont want to show how many we have sold, it shall record for sure, but when we in the position to show large quantity sold, we shall later enable that option, it would help with toggle for brand new site.
    its just suggestion

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    December 6, 2022 at 05:13

    Hello, @Shehzad Ghazi,

    Thanks for your suggestion, You can post your request here – https://www.8theme.com/taskboard/ , so our dev team read it. If it takes votes from other customers, our dev team will try to add it in one of the next updates.

    Thanks for contacting us.
    Have a nice day 🙂

    Topic Closed.
    Regards 8Themes Team.

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘how to show quantity on guest viewing …’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.