Trying out solidus_volume_pricing, it shows the ad...
# general
w
Trying out solidus_volume_pricing, it shows the admin screen to add volume pricing, but doesnt change the price in the basket. Is there more to do to set it up?
z
that extension works for me on Rails 7.1
w
changes the price in the basket? are you on solidus 4.4?
z
I'm on solidus 4.4 and Rails 7.2
I also raised a PR with some updates to that gem
(but I believe it worked without these changes anyway)
w
are you running the default front end? maybe i need to make changes there
z
yeah
do you have other extensions installed?
w
No. nothing else would install, bundler incompatibilites with 4.4
z
there are a couple issues with the default frontend however when you have variants
the change below mostly took care of it though
shouldn't affect the volume pricing though. Are you sure you have set up the pricing structure correctly for your item?
w
im starting to wonder. although it did show the price in the product page using <%= render partial: 'spree/products/volume_pricing', locals: { product: @product } %>
z
That just renders the pricing list, if the setup is not correct it would not affect the pricing though
w
right.
z
Need to make sure you have a value for the specific amount you've added in the basket
(also might want to try my branch, it does have some other fixes related to how the volume discounts are calculated, so maybe they would work for you)
w
seems right. but its my first go at solidus, so maybe i got something wrong? Ill try your branch, thanks for your input. much appreciated.
Screenshot 2025-01-21 at 16.15.52.png,Screenshot 2025-01-21 at 16.15.46.png
z
Here is how mine looks
Screenshot 2025-01-21 at 16.19.43.png
(It uses the banded feature from my PR)
The other change is I have the ranges in parenthesis (e.g.
(2...1000)
, and I have an extra 1st element
so maybe do that and see if it works
w
ok thanks