All things Shopify and commerce
Hi partners,
We are using Trade theme in our store and want to implement Volume Pricing.
We tried to use Sami Wholesale app but it had some conflicts with Trade theme, that's why it didn't work properly on a product detail page.
Two questions here:
1. Can we implement Volume Pricing without using any third party app?
2. Can any other wholesale app implement Volume Pricing without conflicting with the Trade theme?
Thanks in advance.
Hi @vinh0225
You can follow this documentation to add volume pricing
https://help.shopify.com/en/manual/b2b/theme-code/quantity-pricing#volume-pricing
Hi,
By use of metafields for pricing tiers, modifying the product template, and using JavaScript to update prices dynamically you can get the solution
Javascript example for Dynamic Pricing
<script>
document.addEventListener('DOMContentLoaded', function() {
var quantityInput = document.querySelector('input[name="quantity"]');
var priceElement = document.querySelector('.product-price');
function updatePrice() {
var quantity = parseInt(quantityInput.value);
var price = parseFloat(priceElement.getAttribute('data-base-price'));
if (quantity >= 10) {
price *= 0.9; // Example: 10% discount for 10+ items
} else if (quantity >= 5) {
price *= 0.95; // Example: 5% discount for 5+ items
}
priceElement.textContent = '$' + price.toFixed(2);
}
quantityInput.addEventListener('input', updatePrice);
});
</script>
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025