Skip to main content

Product categories NONE

More
5 years 1 month ago #335337 by gerryna09
-- url of the page with the problem -- : demo.hikashop.com/
-- HikaShop version -- : 4.4.3
-- HikaMarket version -- : 4.0.0
-- Joomla version -- : 3.10
-- PHP version -- : 7.4.14
-- Browser(s) name and version -- : Chrome

When I create a new product I would like to have the PRODUCT CATEGORIES field similar to the BRAND field (with NONE and not a default category). To avoid finding the product even in the main category.

Thanks

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

More
5 years 1 month ago #335338 by Jerome
Replied by Jerome on topic Product categories NONE
Hello,

The field will be fill with the category that the vendor was browsing (in the market product listing), so it's possible to have something else.
We recommend you use the setting "Change vendor root category" to avoid vendor creating products in your store main product category.
You can also use product templates in order to provide default values for the product category field.
Otherwise it's still possible to use a view override in order to empty the product category when you're creating a new product (the product_id will be empty).

Regards,

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

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

More
5 years 1 month ago #335345 by gerryna09
Replied by gerryna09 on topic Product categories NONE
How should I modify this code to display JText :: _ ('HIKA_NONE') ??

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

More
5 years 1 month ago #335385 by Jerome
Replied by Jerome on topic Product categories NONE
Hello,

As mentioned in my previous message, the idea is to clean/empty $categories if $this->product->product_id is empty.

Regards,

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

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

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