Change the price shown in the product listing page

  • Posts: 40
  • Thank you received: 0
13 years 9 months ago #7834

I have an item that has shows "$55.00 per unit for buying at least 18" on the product listing page but shows

$85.00 per unit
$75.00 per unit for buying at least 3
$65.00 per unit for buying at least 12
$55.00 per unit for buying at least 18

on the product detail page. Can I change which price is shown on the product listing page or can I have all proces show up on the product listing page?

I have attached a screenshot of the item section of this product

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #7835

Yes you can change that. I don't know if you display your listing of products with a module or a listing of products menu. You will have to go either in the menu Display->Content menus or Display->Content modules and edit the menu/module. There, you can change the option "Price display method" to "unit price only" or "price range". That will display the price for the 0 minimum quantity for the former and both prices for the later.

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

  • Posts: 40
  • Thank you received: 0
13 years 9 months ago #7840

I have content menus that have associated content modules. There was no option to change on the content menu but I did change the "Price display method" to "Price Range" and I am now seeing

$55.00 per unit for buying at least 18
$85.00 per unit


on the product listing but the product detail still shows

$85.00 per unit
$75.00 per unit for buying at least 3
$65.00 per unit for buying at least 12
$55.00 per unit for buying at least 18

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #7841

Yes. That's what you asked right ?
To change it on the listing of products.

You want to change it also on the product page ? That's not possible to display the price range on the product page. You can hide all the prices with a minimum quantity with the CSS:
.hikashop_product_price_with_min_qty{ display:none; }

YOu also said that another alternative would be to have the process on the listing ? I'm not sure what you mean but you can add the "add to cart" button on the listing of products page with the options on the same options page where you change the price display.

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

  • Posts: 40
  • Thank you received: 0
13 years 9 months ago #7842

I am sorry that I didn't explain myself very well.

Attached is what the product page looks like when you line to it from a category. Notice the very bottom left item only shows two lines for the price and they are

$55.00 per unit for buying at least 18
$85.00 per unit

Yet the product detail product page shows

$85.00 per unit
$75.00 per unit for buying at least 3
$65.00 per unit for buying at least 12
$55.00 per unit for buying at least 18


Is there anyway to show what appears on the product detail page on the product listing page?

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #7849

We uploaded a new build of the current release on our server which have an additional choice "all" for that price display option so that you can choose to display all the prices of the product on the products listing. You can download again hikashop from our server and install it over your current version to be able to to what you want.

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

  • Posts: 40
  • Thank you received: 0
13 years 9 months ago #7852

I have installed the version and it broke the product page listing prices they are all zero

www.fitsolutionsnaples.com/index.php?opt...l-training&Itemid=72

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

  • Posts: 40
  • Thank you received: 0
13 years 9 months ago #7856

Also, as a future. Since I have made language file updates I have to constantly re-create my updates after each release update. Perhaps you can come up with a way to preserve these updates.

I changed the terms to include a hyperlink and I changed the "per unit" to "per Session".

Also, while I am being bold and asking, it would be great if the "Per unit" could coordinate with the product. For example, in my case one category of products is "per session" the other is "per package".

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #7861

Please download again hikashop and try again. We modified again a bit the code for that "all" choice.

Concerning translations: If you used the override textarea instead of modifying directly the translation file, you wouldn't have that problem:
www.hikashop.com/download/languages.html#modify

Having different translations of that for each products is not yet in the plans. However, you can directly edit the file listing_price of the view product and do it with some code:

if($this->row->product_code=='my_product'){
echo ' per session';
}else{
echo ' per package';
}
instead of the code:
echo JText::_('PER_UNIT');

Last edit: 13 years 9 months ago by nicolas. Reason: code corrected

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

  • Posts: 40
  • Thank you received: 0
13 years 9 months ago #7864

Over and over again I am humbled by how quickly you respond.

The problem is solved and I used the override text area for my language updates.

Thank you for being so responsive.

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

  • Posts: 40
  • Thank you received: 0
13 years 9 months ago #7867

Should the view you were referring to be the listing_price of the view product not quantity of the view product. Correct?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #7868

Indeed. Sorry for the mistake.

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

  • Posts: 40
  • Thank you received: 0
13 years 9 months ago #7869

For anyone else reading this thread the code should read:

if($this->row->product_code=='my_product'){
echo ' per session';
}else{
echo ' per package';
}
instead of the code:
echo JText::_('PER_UNIT');

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #7870

Thanks. I fixed my previous post

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

  • Posts: 40
  • Thank you received: 0
13 years 9 months ago #7873

Now with the all option the formatting can be a little strange.

Take a look at this page www.fitsolutionsnaples.com/index.php?opt...l-training&Itemid=72

Any thoughts on how to equalize the boxes?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #7877

You can add the CSS:

.hikashop_product .hikashop_product_price_full{
display:block;
height:68px;
}

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

Time to create page: 0.093 seconds
Powered by Kunena Forum