Hikashop 1.6 views questions

  • Posts: 17
  • Thank you received: 1
12 years 1 month ago #66021

Hi all,
I have 3 questions regarding the new Hikashop 1.6 release. I recently upgraded and love the badges but have 3 issues with other parts of 1.6:

1. Is there a way to disable the showing of other items when i am looking at one item? Previously, if i click on a product, i get to the product page of just that item. Now, with 1.6, it will show that item and other items of the same category underneath the product page. Example here: http://www.brillinks.com/index.php/artisan-jewelry/artisan-necklaces/product/90-autumn-surprise-necklace

2. This question is related to question 1. This view of other items, is there a way to control this view to only show items of a particular category? Currently, it shows all the items that belong to any of the categories that the current item belongs to.

3. Previously i was able to remove the + and - buttons next to the add to cart button. Seems like i can no longer do that.

Thanks so much and did i mention i really love hikashop!

Last edit: 12 years 1 month ago by pinghsinlee.

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

  • Posts: 82818
  • Thank you received: 13362
  • MODERATOR
12 years 1 month ago #66134

Hi,

1. These products are displayed because in the "modules under the product page" option of the configuration, you have a products listing module enabled.

2. Yes, just configure the options of the module that is enabled in the "modules under the product page" option of the configuration.

3. You can change the option "Display the quantity field on the product page" of the Display tab of the configuration for that.

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

  • Posts: 17
  • Thank you received: 1
12 years 1 month ago #66141

Nicolas, thanks so much for the answers!

On question 3: I played with all the options there. They either completely removed the quantity box and the +/- buttons or did nothing at all. Previously i was able to only remove the +/- buttons while keeping the quantity box. Is that still possible?

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

  • Posts: 82818
  • Thank you received: 13362
  • MODERATOR
12 years 1 month ago #66239

There is indeed a problem with point 3.
Change the line:
if($config->get('show_quantity_field',0)=='-1')$show_quantity_field = '1';
to:
$show_quantity_field=$config->get('show_quantity_field',0);
in the file administrator/components/com_hikashop/helpers/cart.php and that should solve the problem.

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

  • Posts: 246
  • Thank you received: 9
  • Hikashop Business Hikashop Essential
12 years 1 month ago #67350

I can't find this in the file you subscribed. I have something there like:

if($params->get('show_quantity_field',0)==1){
				$max_quantity=(int)$max_quantity;


I'll keep on trying!

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

  • Posts: 246
  • Thank you received: 9
  • Hikashop Business Hikashop Essential
12 years 1 month ago #67351

I can't find this in the file you subscribed. I have something there like:

if($params->get('show_quantity_field',0)==1){
				$max_quantity=(int)$max_quantity;

Very annoying I have to make core hackes in a paid program to solve a problem that was not there before in previous versions.


I'll keep on trying!
Last edit: 12 years 1 month ago by gasoline.

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

  • Posts: 82818
  • Thank you received: 13362
  • MODERATOR
12 years 1 month ago #67462

All programs have bugs, paid or not. Microsoft publishes patches for their OSes all the time. Even space shuttles blow up once in a while and they are supposed to be proof coded to avoid any bugs (and cost millions to make).
Thankfully, with open source programs like HikaShop or Joomla, you can directly fix them by editing the code without waiting for a new version to fix that in the future.
I would consider that a benefit rather than a drawback compared to locked down solutions.
In any case, if you don't want to fix the code, you can wait for next version of HikaShop.

Here is the whole file in the attached archive. You can just replace it and that will solve the problem.

Attachments:
The following user(s) said Thank You: gasoline

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

  • Posts: 246
  • Thank you received: 9
  • Hikashop Business Hikashop Essential
12 years 1 month ago #67538

Thanks Nicolas,

Sometimes I'm a little bit unsubtle. Sorry for that. We are under some stress because clients comes with new demands every day so he said yesterday we have chosen for the wrong solutions. He maybe right, but it is HIS fold he didn't express all his wishes on forehand. HE comes with all kinds of new demands (he want a connectiong to the dbase for instance) when we are almost finalised the shop. So he started yelling on me beacuse the +/- came back.

Anyway I'm very satisfied with all your fast help and good solutions.

Will replace this file this morning.

Keep up the good work.

Kind regards, Marc


I'll keep on trying!

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

Time to create page: 0.078 seconds
Powered by Kunena Forum