One dropdown for all products
-

AlParticipant
Hi,
I have two questions:
1) Is it possible just to make one dropdown in single product page for all products like this: 0.5kg – 10$, 250 grams – 5$, 125cgrams – 2.5$ and depend on chosen value to change the price, since to make attributes and assign them to all products will consume a lot of time.
2)When we have variable products sort by price and others price filters show results in a specific way, how to make filter (for ex. sort by ) take max price of variable products as the only price (same like in a “simple product”)?
Best regards,
Hello,
1. The default Woocommerce does not provide such an option. You will have to find a plugin. We have not tested any plugins so we cannot recommend any.
2. If you sort products our by price it would work as you describe, if you sort products by other filters as well, the product would be sorted out taking into consideration other filters, this is the way Woocommerce work, our theme does not influence.
Best Regards

AlParticipant
thanks for replying,
1) Ok, got it
2) Could you check please why price filters on my website not working properly
Attachments:
You must be
logged in to view attached files.

AlParticipant
I am gonna hide the lowest price and leave only the highest, how to make the filter work only at a higher price?
Attachments:
You must be
logged in to view attached files.
Hello,
Please add this code to the Theme Settings > Custom CSS > Global:
body .product-grid-item .price {
font-size: 0;
}
body .product-grid-item .price .amount:last-of-type {
font-size: 16px;
}
.single-product-content p.price .woocommerce-Price-amount:last-of-type {
font-size: 30px;
}
.single-product-content p.price {
font-size: 0;
}
Best Regards