Home Forums WoodMart support forum Hide “to” price instead of min value can I configure it to show max value?

Hide “to” price instead of min value can I configure it to show max value?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #537887

    sami-6411
    Participant

    Hello,

    Pretty much what the title says, I have product price range from 14.95 to 164.95 and I would like it to show the 164.95 as price instead of the 14.95

    #538249

    Hung Pham
    Keymaster

    Hi sami-6411,

    Thanks for reaching to us.

    There is no such an option, but you can try with Custom CSS. Please add the following Custom CSS code to Theme Settings > Custom CSS > Global Custom CSS:

    .product-type-variable .summary-inner > .price,
    .wd-product .price{
    	font-size: 0;
    }
    
    .product-type-variable .summary-inner > .price .amount:nth-child(2),
    .wd-product .price .amount:nth-child(2){
    	font-size: 15px;
    }

    Regards,

    #538299

    sami-6411
    Participant

    I wanted this for grouped product, but modifying the code just tiny bit did the trick!

    Thank you so much!

    
    /**** Variable ****/
    
    .product-type-variable .summary-inner > .price,
    .wd-product .price{
    	font-size: 0;
    }
    
    .product-type-variable .summary-inner > .price .amount:nth-child(2),
    .wd-product .price .amount:nth-child(2){
    	font-size: 15px;
    }
    
    /**** Grouped ****/
    
    .product-type-grouped .summary-inner > .price,
    .wd-product .price{
    	font-size: 0;
    }
    
    .product-type-grouped .summary-inner > .price .amount:nth-child(2),
    .wd-product .price .amount:nth-child(2){
    	font-size: 15px;
    }
    
    #538358

    Hung Pham
    Keymaster

    Hi sami-6411,

    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,

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

The topic ‘Hide “to” price instead of min value can I configure it to show max value?’ is closed to new replies.