How can I realize this with XStore?
6 Pack 12 Pack 24 Pack and so on
This topic has 10 replies, 2 voices, and was last updated 10 months ago ago by Tony Rodriguez
How can I realize this with XStore?
6 Pack 12 Pack 24 Pack and so on
Hello, @Juergen,
Thank you for contacting us and for using XStore.
To achieve this functionality with XStore, you can utilize product variation options. Here are a few possible approaches:
1. **Variable Product:**
– In WooCommerce, create a variable product.
– Add an attribute such as “Pack Size” with values like 6 Pack, 12 Pack, 24 Pack, etc.
– Generate variations from these attributes and set individual prices for each pack size.
2/ Please navigate to Xstore > Theme Options > Woocommerce > Shop Elements > Variation Swatches > “Out of Stock” design > Select Line-thought and publish it.
We have recorded a video for you, which you can watch for reference in the private content area.
We hope this helps. Should you require any further assistance, please do not hesitate to reach out. We are here to help you.
Best regards,
8Theme Team
Hi Tony,
unfortunately, I can’t get any further with your explanation.
Creating attributes works. BUT:
Where do I create the different prices?
A pack of 50 has a different price than a pack of 10 or 100.
Where can I set individual prices for each pack size?
Looking forward for your help.
Hello, @Juergen,
Thank you for your response.
It is a variable product on your site, please read this article – https://woocommerce.com/document/variable-product/
We hope this helps. Should you require any further assistance, please do not hesitate to reach out. We are here to help you.
Best regards,
8Theme Team
Hi Tony,
thank you for the link.
Please take a look at this screenshot:
https://www.dropbox.com/scl/fi/8pfkmekn2eaut85g07u0n/2025-02-12_19-35-14.jpg?rlkey=gaql3vzrlvt84ttg5fuxwux37&dl=0
The new price is light gray and barely visible. How can I change this?
Next to the quantities 10, 50, 100 and 200 is “Clear”.
I don’t need that. How do I get rid of it?
Hello, @Juergen,
Thank you for your response.
1/ We kindly request you to navigate to **XStore Builders > Single Product Builder via Elementor > Edit Single Product Page Template > Edit Product Price** and modify the sale price color according to your preference. Once the changes are made, please update the settings.
For your reference, we have provided images in the private content area.
2/ Additionally, please try adding the following custom CSS code in **XStore > Theme Options > Theme Custom CSS > Global CSS:
a.reset_variations {
display: none !important;
}
We hope this information is helpful. Should you require any further assistance, please do not hesitate to reach out.
Best regards,
8Theme Team
It all worked perfectly.
Thank you very much.
One more question about the buttons:
10 pieces is the minimum order.
If the button had a black background and white text as in the example, the button would stand out more.
For the other buttons: 50 pieces, 100 pieces and 200 pieces, it would be good if the background changed to black with white text on mouseover, like here:
https://epidemicproof.com/products/flameless-ration-heater-frh-usgi?variant=44384136921278https://www.dropbox.com/scl/fi/9zsk04sg17ouoya69t5ga/2025-02-13_10-11-31.jpg?rlkey=377b90laixi0ou8e7zhyls00y&dl=0
Is there a CSS code to realize this?
I am looking forward to your answer.
Hello, @Juergen,
Thank you for your response.
Please try adding the following custom CSS code in **XStore > Theme Options > Theme Custom CSS > Global CSS:
ul.st-swatch-preview-single-product.st-swatch-shape-square li.type-label.subtype-square.selected {
background-color: #000 !important;
color: #fff !important;
}
ul.st-swatch-preview-single-product.st-swatch-shape-square li.type-label.subtype-square:hover {
background-color: #000 !important;
color: #fff !important;
}
We hope this information is helpful. Should you require any further assistance, please do not hesitate to reach out.
Best regards,
8Theme Team
Hi Tony,
works perfectly. Thank you so much.
Hello, @Juergen,
We are pleased to hear that everything is working perfectly.
Choosing our theme reflects your commitment to quality, and for that, we’re genuinely grateful. As we constantly strive to elevate your experience, your feedback is an invaluable gift. Could you kindly take a moment to rate our product with 5 stars on ThemeForest?
Click here to share your insights: https://themeforest.net/downloads
Your support fuels our journey, and we appreciate it more than words can express.
Best Regards,
The 8Theme Team
The issue related to '‘This is a display of product packages in the shopping cart’' has been successfully resolved, and the topic is now closed for further responses