Hide quantity and buy now button in auction product page

This topic has 8 replies, 3 voices, and was last updated 5 months, 1 weeks ago ago by Rose Tyler

  • Avatar: razr1911
    razr1911
    Participant
    November 26, 2023 at 23:29

    Greetings,

    i wanna hide quantity and buy now button in woocommerce auction product page specfically i tried css it hides it in all product pages can you guide me how can i achieve this using filter or css.

    https://ibb.co/Gvk5Hn7

    7 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    November 27, 2023 at 05:34

    Hello, @razr1911,

    Thank you for reaching out to us.

    We have reviewed the screenshot you provided and it appears to show a single product page. However, based on your message, we understand that you wish to conceal this on a single auction page. Could you please clarify if you are indeed referring to the single product page?

    To assist you further, we kindly request that you provide the specific URL of the page in question, as well as the administrative credentials for your WordPress site under the private content area of this topic. This will enable us to examine the issue directly on your website and provide you with the appropriate support.

    We appreciate your cooperation and look forward to resolving your concern.

    Best Regards,
    The 8Theme Team

    Avatar: razr1911
    razr1911
    Participant
    November 27, 2023 at 07:06

    Yes indeed its for single product page i was reffering earlier, but in auction category product page is own seperate category.

    i have one more request to take a look into debug tool at admin header area i am facing some issues with sales booster with my other plugin conflicting with auction page i can’t increase or decrese bid on the page.

    https://ibb.co/PWsDfdC

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 27, 2023 at 08:53

    Hello, @razr1911,

    Thank you for getting in touch with us.

    1/ To hide the quantity and buy now button from 1 particular page link to that you provided, the next custom CSS code can be added in Theme Options > Theme custom CSS:

    .postid-4108 .quantity, .postid-4108 .et-single-buy-now, .postid-4108 div.quantity~.et-or-wrapper {
        display:none;
    }

    For new questions, please open up new topics – https://www.8theme.com/forums/xstore-wordpress-support-forum/

    2/ Please note that we do not give a guarantee for full theme compatibility with all existing 3rd party plugins. Sometimes, not always, you need additionally customize the theme or plugin to make them work together. Unfortunately, it’s not possible for the author to make the theme compatible with all the existing plugins and additional customization is outside the scope of our basic support.

    However, if you wish a developers team can personally assist you via the customization service.
    To get started, please follow this link to send your requirements – https://www.8theme.com/contact-us/
    https://prnt.sc/HMCEfKd9tQL- , and they will prepare a detailed estimate for the customization work.

    Best regards,
    The 8Theme Team

    Avatar: razr1911
    razr1911
    Participant
    November 27, 2023 at 21:15

    Howdy,
    i think you read my message wrong earlier, let me rephrase to you so that you can get a better grasp of it.

    1. To Hide quantity and Buy now button in auction products i am looking for it. Suppose if anyone list product as a auction i dont want quantity and other buy now to appear it on that part of a listing.

    2. For 3rd party plugin compatibility, plugin works fine its your sales booster is throwing errors that what i am asking to take a look into it. Sales booster is conflicting with my auction plugin maybe its using resources required for it.

    Here is any example of error i have found in my logs

    Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, int given
    Stack trace:
    #0 /wp-content/themes/xstore/framework/features/woocommerce/quantity-discounts.php(820): Etheme_Sales_Booster_Quantity_Discounts->sortable_options_save()
    #1 /wp-includes/class-wp-hook.php(326): Etheme_Sales_Booster_Quantity_Discounts->save_panel_data()
    #2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #3 /wp-includes/plugin.php(517): WP_Hook->do_action()
    #4 /wp-content/plugins/marketking-core-1803/includes/class-marketking-core.php(2898): do_action()
    #5 /wp-includes/class-wp-hook.php(324): Marketkingcore->marketkingsaveproduct()
    #6 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #7 /wp-includes/plugin.php(517): WP_Hook->do_action()
    #8 /wp-admin/admin-ajax.php(188): do_action()
    #9 {main} thrown in /wp-content/themes/xstore/framework/features/woocommerce/quantity-discounts.php on line 947
    Theme: XStore
    File: /wp-content/themes/xstore/framework/features/woocommerce/quantity-discounts.php
    Line: 947

    I just simple ask you to take a look into it, if i needed customization job i could have reached to you earlier.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 28, 2023 at 08:04

    Hello, Razr1911,

    We appreciate your prompt response.

    1/ ” if anyone list product as a auction” – Not sure how it can be done, but the next Custom CSS code will affect all products with .product-type-auction class:

    .product-type-auction .etheme-add-to-cart-form form .quantity,
    .product-type-auction .et-single-buy-now, 
    .product-type-auction div.quantity~.et-or-wrapper {
        display: none;
    }

    the result > https://prnt.sc/JNw_qX3YifM0

    2/ Please provide temporary FTP access, so we can take a closer look.
    To create FTP access (FTP host, FTP username, FTP password, FTP port, FTP encryption) , please contact your hosting provider for assistance.

    Best regards,
    The 8Theme Team

    Avatar: razr1911
    razr1911
    Participant
    November 28, 2023 at 10:20

    Yes thanks it worked like a charm, i appreciate your help. Added the custom CSS in aditional CSS in appearance section and it gives desired functionality. The above solution works but there are few things i forgot to add can you help me on that too just check attached

    i have marked the sections in screenshot, i tried myself but wasnt able to remove it with

    .product-type-auction div.sales-booster-total-sales,
    {
        display: none;
    }

    https://ibb.co/4ZKFvZP

    Now i caught another issue with bidding button when i increase or decrease the bidding value the “+ or -” is not working i am getting this error
    my suspicion there is some error with XStore JS for woocommerce
    https://ibb.co/yngbbsp

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 28, 2023 at 14:04

    Hello, Razr1911,

    You provided wp-admin access, but we asked for FTP access (FTP host, FTP username, FTP password, FTP port, FTP encryption).

    Fixed – https://prnt.sc/_MmtaSH4-uU4 > https://prnt.sc/oo6d_jKOIcQI

    About the issue in quantity-discounts.php you mentioned, this feature https://xstore.helpscoutdocs.com/article/156-how-to-setup-booster-sales-quantity-discounts was disabled, but the element was added to page content, so we removed that unused element.

    As was mentioned, we can’t give a guarantee for full theme compatibility with all 3rd-party plugins. Bidding buttons are added by the WooCommerce Simple Auction plugin.
    If you wish a developers team can personally assist you via the customization service. To get started, please follow this link to send your requirements – https://www.8theme.com/contact-us/
    https://prnt.sc/HMCEfKd9tQL- , and they will prepare a detailed estimate for the customization work.

    Best regards,
    The 8Theme Team

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

You must be logged in to reply to this topic.Log in/Sign up

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