How to make quantity pricing visible on list layout

  • Posts: 121
  • Thank you received: 2
4 years 1 month ago #329513

-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.23
-- PHP version -- : 7.3.25
-- Browser(s) name and version -- : Firefox

How do I make quantity pricing more obvious on the list layout? The pricing doesn't change when the customer changes the quantity. If the client doesn't go on the detail view, he doesn't know what the pricing is for the different quantities.

Please Log in or Create an account to join the conversation.

  • Posts: 83404
  • Thank you received: 13498
  • MODERATOR
4 years 1 month ago #329516

Hi,

There is no mechanism to change the price based on the quantity entered in the quantity input field.
However, in the settings of the menu item / module, you have a setting "which price" which allows you to select which prices are displayed on the listing. If you select "all", then you'll see all the prices instead of only the cheapest or the unit price, or a range.
So I would recommend to first check that setting.

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 2
4 years 3 weeks ago #329674

If I set "show which price" to "show all" it does precisely that, but with no explanation which quantities the different prices are for. It would be far more useful to the customer if it said something like this price is for this quantity and that price for that quantity. Is there way to make that happen on the category list page and not only on the product detail page?

Please Log in or Create an account to join the conversation.

  • Posts: 83404
  • Thank you received: 13498
  • MODERATOR
4 years 3 weeks ago #329679

Hi,

That's not what I have on my end with a default HikaShop. I see all the prices of the products on the listing, and each price indicates which minimum quantity it is for, similarily to the product details page.
So I suppose that if you don't see that, it must come from a view override on your end.
Rename the folder templates/YOUR_TEMPLATE/html/com_hikashop/product/ via FTP to deactivate the overrides on the product listing pages, clear your website and browser caches if any and check the listing again and you should see the same price display as on the product details page. This will confirm that the issue comes from one of the override files in that folder.

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 2
4 years 3 weeks ago #329699

Sorry, it's not quantity pricing that's a problem on the product categories list page. It's product variants.

I am not using overrides. Attached please find screenshots of the product categories list page

and the product details page.


While the four different prices for the different sizes are mentioned on the product categories list page, there is no explanation what the different prices are for. It would make far more sense for the customer, if there was an explanation what variants the four different prices are for.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 83404
  • Thank you received: 13498
  • MODERATOR
4 years 3 weeks ago #329707

Hi,

Ah yes, for products with variants that's indeed the behavior. The characteristic and variant data is not loaded on the listings to reduce the memory usage. And thus, the system doesn't which price is for what variant.
Usually, when users have listings with products with prices on the variants, they either:
- set prices in the main product. In that case, these prices will be used instead of the prices of the variants and thus you could for example only have one price, or only two prices (the cheapest and the most expensive).
- change the "which price" setting to "range" instead of "all". That way, the system will automatically select the cheapest and the most expensive on the listing.
The goal is to provide the customer a ballpark idea of the range of prices for the product.
Unfortunately, trying to display the value of the characteristic corresponding to the price on the listing is non trivial. It would require quite a bit of development to achieve it.

The following user(s) said Thank You: andrewwinkler

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 2
4 years 3 weeks ago #329731

After setting the "how to show the price" setting "price range", my product list and category list look like this:



Still no explanation what the different variant prices are refering to.
I would much prefer it if said in both cases something like "Price ranges from x amount to y amount."

Attachments:
Last edit: 4 years 3 weeks ago by andrewwinkler.

Please Log in or Create an account to join the conversation.

  • Posts: 83404
  • Thank you received: 13498
  • MODERATOR
4 years 3 weeks ago #329741

Hi,

Yes. I didn't mention it in my previous message, but usually when you use the "range" display mode for prices on the listings, you also want to add translation overrides to add text around the prices to have something like "Price ranges from x amount to y amount."
For example:
www.hikashop.com/forum/4-how-to/23366-price-range-display.html
www.hikashop.com/forum/product-category-...e-below-product.html

The following user(s) said Thank You: andrewwinkler

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 2
4 years 3 weeks ago #329779


It's looking almost perfect now. Just a couple of things:
1. Is there a language override I can use to get rid of the word "each" in the variant pricing, so that instead of saying "from x amount each to y amount each" is just says "from x amount to y amount" ?
2. Is there a setting so that it says A$1000 instead of AUD1000?
3. How can I change the rather lengthy "From AUD55.00 per unit for buying at least 60 to AUD80.00 each" to the much shorter "From AUD55.00 to AUD80.00"?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 4816
  • Thank you received: 654
  • MODERATOR
4 years 3 weeks ago #329790

Hello,

1. and 3. it's quite the same question right ?... Let's say that for now.
We are a little lost on this because we look in language file, and unless we are mistaken there is no translate key that leads to "from x amount each to y amount each".
From this 2 possibilities :
A. It's hard coded in your relative view (via an override)
B. There are new translate key and a new translation (you have to look into your relative language file).

2. Not sure to understand your question here, do you mean that you want just for this product a price in $ instead of AUD ? Or for your whole website ? Did you consider the HikaShop module currency switcher ?
=> Provide more details about your needs, the purpose and the context, this will allow us to be more precise in our help.

Awaiting news from you to progress on your subject.
Regards

Last edit: 4 years 3 weeks ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 2
4 years 3 weeks ago #329794

My apologies for causing confusion. That certainly was not intended. 1. and 3. are similar, but while point 1 only requires the removal of the word each for the variant pricing range, point 3 is a little bit more complex. It requires the removal of the entire string "per unit for buying at least 60". I assume that string is composite code, not just a simple language variable. As far as overrides are concerned, there is not a single one for that site. I just double-checked. The active template "JA-Atom" doesn't have any.

Last edit: 4 years 3 weeks ago by andrewwinkler.

Please Log in or Create an account to join the conversation.

  • Posts: 4816
  • Thank you received: 654
  • MODERATOR
4 years 3 weeks ago #329802

Hello,

Can you provide backend access (with full access) through our Contact us form, precise if we can process some test without disturbing customer as some of our test may impact frontend display.

Note : Add to your message an Url link to this topic in order to keep the link.

Awaiting your returns to progress on your subject.
Regards

Last edit: 4 years 3 weeks ago by Philip.
The following user(s) said Thank You: andrewwinkler

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 2
4 years 3 weeks ago #329828

I just did.

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 5
4 years 3 weeks ago #329837

Hallo!
To solve that " the much shorter "From AUD55.00 to AUD80.00"?"
Try it with css:
.hikashop_product_several_prices .hikashop_product_price_0 + .hikashop_product_price_per_unit {display:none;}

Good luck to you

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 5
4 years 3 weeks ago #329838

Hallo
or with
.hikashop_product_several_prices > .hikashop_product_price_per_unit {display:none;}

Tansif!

The following user(s) said Thank You: andrewwinkler

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 2
4 years 3 weeks ago #329843

Fabulous! Thanks for that. It's almost perfect now.


The only remaining problem is how to get rid of "price per unit for buying at least 60". I tried hiding it with the following code:
.hikashop_product_price_per_unit_x {
    visibility: hidden !important;
}
but that only removed the characters but not the gap.

Attachments:
Last edit: 4 years 3 weeks ago by andrewwinkler.

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 5
4 years 3 weeks ago #329844

Hallo!

*** how to get rid of "price per unit for buying at least 60".??? ***
try width:
.hikashop_product_several_prices .hikashop_product_price_0 + .hikashop_product_price_per_unit_x {display:none;}

Viel Erfolg!

Last edit: 4 years 3 weeks ago by Tansift.
The following user(s) said Thank You: andrewwinkler

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 2
4 years 3 weeks ago #329845

Genial! Vielen Dank.

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 2
4 years 3 weeks ago #329846

Can you tell me why the pictures are displayed in different sizes, respectively, why there is a different gap between them? The image size uploaded to the products is the same: 480px x 360px. Here's the link to the page again: revolutiongarden.com.au/shop


Attachments:
Last edit: 4 years 3 weeks ago by andrewwinkler.

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 5
4 years 3 weeks ago #329853

Hallo,

The problem comes from the first image.
(Please look at the picture properly.
Right (white-) edge and left (white-) edge)
First change the picture to see if anything changes.

Tansift

Attachments:
Last edit: 4 years 3 weeks ago by Tansift.

Please Log in or Create an account to join the conversation.

Time to create page: 0.114 seconds
Powered by Kunena Forum