Re: Is it possible to implement Volume Pricing in Trade theme?

Is it possible to implement Volume Pricing in Trade theme?

vinh0225
Shopify Partner
128 26 24

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.

Was my response useful?  Click Like to let me know!
Was your query resolved? ✓ Mark it as a Resolved Solution
If you need custom Shopify changes, ️you can hire me.
Contact me at  ✉️ [email protected].
Replies 2 (2)

BrainStation23
Shopify Partner
406 60 58

Hi @vinh0225 
You can follow this documentation to add volume pricing 
https://help.shopify.com/en/manual/b2b/theme-code/quantity-pricing#volume-pricing

Brain Station 23 PLC (Mail: [email protected])
- Was your question answered? Mark it as an Accepted Solution
- Did the solution not address your concern? We kindly request that share or mail your store URL with us this will enable us to collaborate more closely.
- Explore our Shopify public apps

Small_Task_Help
Shopify Partner
830 27 75

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>
To Get Shopify Experts Help, E-mail - [email protected]
About Us - We are Shopify Expert Agency
At Google My Business - Ecommerce Small Task - Hire Shopify Developers Ahmedabad