Can One Vendor Function as a Catalog?

  • Posts: 16
  • Thank you received: 0
11 years 2 months ago #124339

-- url of the page with the problem -- : N/A
-- HikaShop version -- : 2.2.1
-- Joomla version -- : 2.5.14 Stable
-- PHP version -- : 5.2.17
-- Browser(s) name and version -- : Safari - version 5.1.8
-- Error-message(debug-mod must be tuned on) -- : N/A
Hi - I currently have the free version of HikaShop but am considering upgrading to HikaMarket. Here's what I need to do: I have multiple product vendors, but for ONE VENDOR ONLY I need the products to function as a catalog (they have a price, but cannot be added to the shopping cart) while all the remaining vendors' products can be "Added to Cart" and purchased directly from my site. Is this possible?

Thank you!

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 2 months ago #124360

Hi,

There is no such option for the moment in HikaMarket but I don't know if it could be useful.
If the stock quantity of a product is "0", the customer can't add the product in their cart. It has globally the same effect.
If you want that the vendor automatically have "no stock" products, you can use a specific "product template" for the vendor and configure this template with a "stock quantity" set to "0".

At this moment, when the vendor will create a product in your store, the stock quantity will be set to "0" and the customer won't be able to add the products in their cart.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: maple5132

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

  • Posts: 16
  • Thank you received: 0
11 years 2 months ago #124456

I used your suggestion of putting a "0" in the individual product's stock quantity and it worked great! Thanks so much! However, the product page now shows the text "No stock." Is there any way to (1) Get rid of the "No stock" text altogether and leave that space blank or (2) Customize the text to say something else?

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 2 months ago #124474

Hi,

Sure.
There are several possibilities.
You can simply change the translation for "No stock" and put another text for it.
You can override the view which display this "No stock" (product | quantity) and change the html code display where there is no stock. It starts with:

<div class="hikashop_product_no_stock">
<?php
	echo JText::_('NO_STOCK').'<br/>';
Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: maple5132

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

  • Posts: 16
  • Thank you received: 0
11 years 2 months ago #124578

Thanks so much! I am very new at this and want to make sure I’m in the right place so I don’t mess things up! :) So, to change out the text “No stock” I went to:
Hikashop > System > Configuration >Display > CSS
In “Front-end CSS file” I clicked the edit button. The only code I found containing “out of stock” is as follows:

.hikashop_product_variant_out_of_stock{
  display:none;
}
.hikashop_product_variant_out_of_stock_span{
  background-image:url(../images/delete2.png);
  background-repeat:no-repeat;
  background-position: center;
  height: 16px;
  display: block;
}

Since this did not match the code you sent me I’m not sure if this is where I’m supposed to change it?

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 1 month ago #124609

Hi,

What I was telling you is to use the "view override": HikaShop > Display > Views.
The views are the content displayed by HikaShop/HikaMarket that you can customize how you want and create your complete own design.
You have to find the view "frontend | your_frontend_template | product | quantity".

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: maple5132

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

  • Posts: 16
  • Thank you received: 0
11 years 1 month ago #124728

Great - got it! Worked fantastic. Thanks so much for the extra instructions!

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

Moderators: Obsidev
Time to create page: 0.070 seconds
Powered by Kunena Forum