Home Forums WoodMart support forum sale badge (label) numeric of crocoblock didnt work when i use woodmart theme

sale badge (label) numeric of crocoblock didnt work when i use woodmart theme

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #585235

    mohroubai01
    Participant

    i did the saved money with calculated field but didn’t work with variation and the problem i cant make the saved money with crocoblock sale badge but when I change the theme I did it easily

    Attachments:
    You must be logged in to view attached files.
    #585291

    Hung Pham
    Keymaster

    Hello mohroubai01,

    Thank you so much for contacting our support center.

    To better assist you, could you kindly test the functionality with default WordPress themes such as TwentyTwenty or WooCommerce Storefront? This will help us determine whether the issue stems from our theme or elsewhere.

    Regards

    #585498

    mohroubai01
    Participant

    i tried “hello elemntor” theme and it worked well and I contacted crocoblock support they says haven’t problem in the plugin and contact the theme support

    Attachments:
    You must be logged in to view attached files.
    #585579

    Hung Pham
    Keymaster

    Hello mohroubai01,

    Thanks for details.

    To assist you in the best possible manner, I kindly ask that you please provide me temporary wp-admin info (wp-admin URL, username, password) to the Private Content area, this will allow me to thoroughly investigate and address your concerns more efficiently.

    Regards,

    • This reply was modified 5 months ago by Hung Pham.
    #586087

    mohroubai01
    Participant

    ok this is it

    #586274

    Hung Pham
    Keymaster

    Hello mohroubai01,

    I’ve passed this topic to one of our developers, and I will let you know once get an answer.

    Thanks for your patience.

    Regards,

    #586366

    Hung Pham
    Keymaster

    Hello mohroubai01,

    Please try to add the code below in the functions.php file in your child theme.

    	add_action(
    		'elementor/frontend/widget/before_render',
    		function( $element ) {
    			if ( 'jet-single-sale-badge' !== $element->get_name() ) {
    				return;
    			}
    
    			remove_filter( 'woocommerce_sale_flash', 'woodmart_product_label', 10 );
    		}
    	);
    
    	add_action(
    		'elementor/frontend/widget/after_render',
    		function( $element ) {
    			if ( 'jet-single-sale-badge' !== $element->get_name() ) {
    				return;
    			}
    
    			add_filter( 'woocommerce_sale_flash', 'woodmart_product_label', 10 );
    		}
    	);

    Regards,

    #586573

    mohroubai01
    Participant

    thx its solved

    #586612

    Hung Pham
    Keymaster

    Hi mohroubai01,

    Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!

    If you have a quick minute we always appreciate a 5-star rating on our theme!

    https://themeforest.net/item/woodmart-woocommerce-wordpress-theme/reviews/20264492

    Your feedback is the motivation to improve our work and services.

    Regards,

Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)