Change the color of the sales price on all site and sale badge rename and category name display

This topic has 15 replies, 2 voices, and was last updated 2 months, 4 weeks ago ago by BUZONNECT

  • Avatar: BUZONNECT
    BUZONNECT
    Participant
    September 4, 2025 at 13:13

    Hello,

    I have this import https://xstore.8theme.com/elementor3/electronic-mega-market/ and I want to chage the color of the sale price in red, not blue.
    I managed to change many parts of the site so that the discounted price would be in red, but I didn’t succeed everywhere, namely in the sections in the attached pictures.
    Also, how can I change the name of the badge with the sale to “Sale”? In the categories that are displayed in the shop, to no longer show the number of products and the name of the category? And at the top of the shop I want to change where it says “Buy all” “New/New arrivals” and “Sale” (both inside and outside the box), with different text. I have attached all the necessary pictures.

    Best regards!

    Files is visible for topic creator and
    support staff only.
    14 Answers
    Avatar: BUZONNECT
    BUZONNECT
    Participant
    September 4, 2025 at 13:53

    Hello again.

    I also found another problem.
    Is it possible that the estimated delivery will no longer appear if the product is out of stock?

    Best regards!

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    September 5, 2025 at 08:42

    Dear @BUZONNECT,

    We hope this message finds you well.

    Could you kindly resend the WordPress Admin account credentials? The account currently listed under the Private Content Area appears to be non-functional.

    Thank you in advance for your assistance.

    Best regards,
    The 8Theme Team

    Please contact administrator
    for this information.
    Avatar: BUZONNECT
    BUZONNECT
    Participant
    September 5, 2025 at 09:36

    Hello,

    You can now login is.

    Best regards!

    Avatar: Justin
    Luca Rossi
    Support staff
    September 5, 2025 at 10:29

    Dear @BUZONNECT,

    We hope this message finds you well.

    1. We have updated the sale price color to red. Kindly review the changes at your convenience and let us know if everything appears as expected.

    2. To modify the text for dynamic categories, please add the following code to the functions.php file located in your child theme:

    
    function n2t_text_strings( $translated_text, $text, $domain ) {
    	switch ( $translated_text ) {
    		case 'All' :
    			$translated_text = 'Your Text 1';
    			break;
    		case 'Shop All' :
    			$translated_text = 'Your Text 2';
    			break;
    		case 'New' :
    			$translated_text = 'Your Text 3';
    			break;
    		case 'New Arrivals' :
    			$translated_text = 'Your Text 4';
    			break;
    		case 'Sale' :
    			$translated_text = 'Your Text 4';
    			break;
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'n2t_text_strings', 20, 3 );
    

    3. If you would like to hide the estimated delivery date, this can be achieved using custom CSS. Please note that this solution will only apply to simple products. You may add the following CSS code under XStore > Theme Options > Theme Custom CSS > Global CSS:

    
    .outofstock .elementor-widget-woocommerce-product-etheme_sales_booster_estimated_delivery {
    	display: none !important;
    }
    

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

    Best regards,
    The 8Theme Team

    Avatar: BUZONNECT
    BUZONNECT
    Participant
    September 5, 2025 at 11:14

    Hello,

    For 1. Everything is perfect (can you tell me what did you do?)
    For 2. I put that function in child theme, but it didnt work.
    For 3. I put that custom css, but it didnt work.

    Best regards!

    Avatar: BUZONNECT
    BUZONNECT
    Participant
    September 5, 2025 at 12:46

    Hello,

    One more thing, is it possible to remove the text(name category) part and the number of products from the category display? I have attached a screesshot.

    Best regards!

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    September 5, 2025 at 16:27

    Dear @BUZONNECT,

    We hope this message finds you well.

    1. We have successfully cleared all caches, and the text updates have been applied. You may view the changes here: https://prnt.sc/ptsRHPg_r7yz.

    2. Kindly note that this solution is applicable only to simple products.

    3. Additionally, regarding your request to remove the category name and product count from the category display (as shown in the screenshot you provided), please add the following custom CSS code to achieve this:

    
    .etheme-product-grid .category-grid.product-category .categories-mask.text-center.text-uppercase {
        display: none !important;
    }
    

    Should you have any further questions or require additional assistance, please do not hesitate to reach out.

    Best regards,
    The 8Theme Team

    Avatar: BUZONNECT
    BUZONNECT
    Participant
    September 6, 2025 at 11:27

    Hello,

    For 1. Where you make the change? I want to rename for example “Noi sosiri” to “Sosiri recente”, where can I change?
    For 2. Is a miss understanging, i want to hide the “Estimate delivery” Panel for product with 0 stock, not “Acest produs este momentan epuizat și indisponibil.” (see attach)
    For 3. Thank you.
    4. In the previous message by you “1. We have updated the sale price color to red. Kindly review the changes at your convenience and let us know if everything appears as expected.” Can you tell me how you change the color of the sale price in red, not blue(https://userimg.8theme.com/storage/2025/09/04/36388-Screenshot%202025-09-04%20150501.png).

    Best regards!

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    September 8, 2025 at 05:44

    Dear @BUZONNECT,

    We hope this message finds you well.

    1. Please note that the custom code is located in the functions.php file within your child theme directory.

    2. At this time, the functionality to hide elements is only applicable to products of the “Simple Product” type.

    4. To make the necessary adjustments, kindly edit the Single Product Builder template using the following link:
    https://www.bumag.ro/wp-admin/post.php?post=4225&action=elementor

    Within the Sticky Cart element, navigate to the Advanced tab and add the required Custom CSS, as shown in the screenshot below:
    https://prnt.sc/1vDKnph5LGE8

    The same approach should be applied to the Related Products element.

    Should you have any further questions or require additional assistance, please do not hesitate to reach out.

    Best regards,
    The 8Theme Team

    Avatar: BUZONNECT
    BUZONNECT
    Participant
    September 8, 2025 at 11:12

    Hello,

    For 1: Yes I put that code provide by you there, but still it didnt work.
    For 2: Somehow I manage to understand how it work. Thank you.
    For 4: Thank you.

    Best regards!

    Avatar: Justin
    Luca Rossi
    Support staff
    September 8, 2025 at 12:46

    Dear @BUZONNECT,

    The correct code should be:

    
    function n2t_text_strings( $translated_text, $text, $domain ) {
    	switch ( $translated_text ) {
    		case 'Toate' :
    			$translated_text = 'Nume 1';
    			break;
    		case 'Cumpărați toate' :
    			$translated_text = 'Nume 2';
    			break;
    		case 'Nou' :
    			$translated_text = 'Nume 3';
    			break;
    		case 'Noi Sosiri' :
    			$translated_text = 'Nume 4';
    			break;
    		case 'Vânzare' :
    			$translated_text = 'Nume 5';
    			break;
    	}
    	return $translated_text;
    }
    add_filter( 'gettext_xstore-core', 'n2t_text_strings', 999, 3 );
    

    We’ve updated the code for you already.

    Best Regards,
    8Theme’s Team

    Avatar: BUZONNECT
    BUZONNECT
    Participant
    September 8, 2025 at 17:50

    Hello,

    Thank you, now works fine.
    One more question, should I upgrade to elementor v4?

    Best regards!

    Avatar: Justin
    Luca Rossi
    Support staff
    September 9, 2025 at 07:41

    Dear @BUZONNECT,

    Thank you for reaching out.

    Please note that our development team has not yet tested compatibility with Elementor version 4. Therefore, we recommend continuing to use version 3.x for the time being to ensure optimal performance and stability.

    If you would like to explore version 4, we suggest doing so on a staging site first to avoid any potential issues on your live website.

    Best regards,
    The 8Theme Team

    Avatar: BUZONNECT
    BUZONNECT
    Participant
    September 9, 2025 at 13:23

    Thanks for the support! My topic “Change the color of the sales price on all site and sale badge rename and category name display” has been successfully resolved.

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

The issue related to '‘Change the color of the sales price on all site and sale badge rename and category name display’' 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.