Plugin features not showin when xstore is enabled

This topic has 6 replies, 3 voices, and was last updated 3 months ago ago by Andrew Mitchell

  • Avatar: ziga32
    ziga32
    Participant
    February 2, 2024 at 12:32

    I’m using plugin for a bulk discount, called WooCommerce Bulk Discount

    Whern I enter text in product description, it does not show on my product. If I swithc to default Woocommerce theme it works ok.
    https://i.imgur.com/8SeXK06.png

    How can I show it on xstore theme?

    5 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    February 2, 2024 at 13:14

    Dear @ziga32,

    We hope this message finds you well.

    We would like to provide you with a solution to the issue you are currently experiencing. To address this, kindly insert the following snippet of code into the functions.php file located within your child theme directory:

    
    add_action('etheme_woocommerce_template_single_meta', 'n2t_etheme_woocommerce_template_single_meta');
    function n2t_etheme_woocommerce_template_single_meta(){
    	global $thepostid, $post;
    	if ( !$thepostid ) $thepostid = $post->ID;
    
    	echo "<div class='productinfo-show-discounts'>";
    	echo get_post_meta( $thepostid, '_bulkdiscount_text_info', true );
    	echo "</div>";
    }
    

    Please ensure that you back up your website before making any changes to the code. If you are not comfortable implementing the code yourself, we recommend consulting with a professional developer.

    Should you require any further assistance or have any questions regarding this process, please do not hesitate to reach out to us.

    Best Regards,
    The 8Theme Team

    Avatar: ziga32
    ziga32
    Participant
    February 2, 2024 at 13:49
    Avatar: Justin
    Luca Rossi
    Support staff
    February 2, 2024 at 16:16

    Hi @ziga32,

    Please update the code to this:

    
    add_action('etheme_woocommerce_template_single_price', 'n2t_etheme_woocommerce_template_single_meta');
    function n2t_etheme_woocommerce_template_single_meta(){
    	global $thepostid, $post;
    	if ( !$thepostid ) $thepostid = $post->ID;
    
    	echo "<div class='productinfo-show-discounts'>";
    	echo get_post_meta( $thepostid, '_bulkdiscount_text_info', true );
    	echo "</div>";
    }

    If it still doesn’t work, please provide your site’s WP Admin URL and credentials in the private content area of this topic, so that we can look into it further:

    WP Admin URL:
    WP Admin Username:
    WP Admin Password:

    Thank you for your cooperation.

    Best Regards,
    8Theme’s Team

    Avatar: ziga32
    ziga32
    Participant
    February 2, 2024 at 16:55

    working now, many thanx!

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    February 2, 2024 at 18:23

    Dear ziga32,

    We trust our theme is enhancing your experience. Taking a brief moment to rate it with a glowing 5 stars on ThemeForest would be immensely appreciated. Your feedback holds significant value for us.

    Click here to rate now: https://themeforest.net/downloads

    Thank you sincerely for your ongoing support!

    Best Regards,
    The 8Theme Team

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

The issue related to '‘plugin features not showin when xstore is enabled’' 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.