Home Forums WoodMart support forum Changes in product display descriptions on the main page and categories Reply To: Changes in product display descriptions on the main page and categories

#551120

Hung Pham
Keymaster

Hi webskyir,

1. Try to add the following PHP code snippet to the child theme functions.php file to fix this

if ( ! function_exists( 'woodmart_wcpay_convert_price_limit' ) ) {
    /**
     * Converse shipping progress bar limit.
     *
     * @param float $limit
     * @return float
     */
    function woodmart_wcpay_convert_price_limit( $limit ) {
       if ( ! defined( 'WCPAY_VERSION_NUMBER' ) || ! class_exists( 'WCPay\MultiCurrency\MultiCurrency' ) ) {
          return $limit;
       }

       $limit *= WCPay\MultiCurrency\MultiCurrency::instance()->get_selected_currency()->get_rate();

       return $limit;
    }

    add_action( 'woodmart_shipping_progress_bar_amount', 'woodmart_wcpay_convert_price_limit' );
}

2. From which section should I disable the description of product color and size so that it is not displayed on the main page and categories and archives?

Do you want to remove the attributes label? https://prnt.sc/60eNNkUecKkt

3. I checked and saw you did not add Custom CSS. I helped you to do that and it moved to the left https://prnt.sc/iQVlEctGhHqr

Regards,