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>
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025