moving multiple products from categories

  • Posts: 115
  • Thank you received: 0
12 years 22 hours ago #78796

how can you move multiple products from one category to another, is this possible?

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
12 years 21 hours ago #78821

Hi,

HikaShop does not have such moving features.
A product can have several categories so, there is no such "moving" features.

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.

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

  • Posts: 115
  • Thank you received: 0
12 years 21 hours ago #78824

after some feedback from testing users have said I have too many categories on my site,

for example
> Condiments > (Sauces, chutney etc) >Fruit Sauce > Colmans > Colmans Apple Sauce (250ml)

there's 4 steps (or mouse clicks) here to get to the product , what i need to do I make it easier for users. I want to place the product in just the condiments category. As there are over 3000 products I cant do this one by one. Can you recommend as in this example I just need to move the Apple sauce product into the condiments category.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
12 years 20 hours ago #78830

Hi,

Solution 1 : use "display all sub elements" and not "display direct sub elements" in the product listing.

Solution 2 : use a MYSQL query in PHPMyAdmin in order to change category_id in the table #__hikashop_product_category.

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.

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

  • Posts: 115
  • Thank you received: 0
12 years 15 hours ago #78872

solution 1 just shows all products , not really what i need, i just want to reduce my subcategories

solution 2 - have no knowledge of sql queries

surely there must be an easier way? why cant you select multiple products and change category without resorting to sql queries and programming?

even if a product belongs to multiple categories you should at least have the option of overriding this. I really need an easier solution.

hope you can advise

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
12 years 12 hours ago #78900

Hi,

You can do something like:

UPDATE #__hikashop_product_category SET category_id = 10 WHERE category_id = 20;
Just replace "10" by the new category id and "20" by the old category id.
It would "move" every product in the category 20 to the category 10.

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.

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

  • Posts: 115
  • Thank you received: 0
12 years 6 hours ago #78942

thanks, where would i insert this code

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

  • Posts: 12953
  • Thank you received: 1778
12 years 4 hours ago #78963

Hi,

You'll just have to use this code through your "phpmyadmin".

Last edit: 12 years 4 hours ago by Mohamed Thelji.

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

  • Posts: 115
  • Thank you received: 0
12 years 1 hour ago #78989

got this error when trying to run above:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

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

  • Posts: 13201
  • Thank you received: 2322
12 years 35 minutes ago #79019

Hi,

Do you have replaced "#_" by your database prefix ?

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

  • Posts: 115
  • Thank you received: 0
12 years 32 minutes ago #79021

sorry where do i find the database prefix?, sorry not familiar with SQL and PHP

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

  • Posts: 115
  • Thank you received: 0
12 years 23 minutes ago #79025

i attach a screenshot is it myhcw_hikashop_product_category ?

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
12 years 21 minutes ago #79026

Yes.

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

  • Posts: 115
  • Thank you received: 0
12 years 15 minutes ago #79028

that worked thanks

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

Time to create page: 0.102 seconds
Powered by Kunena Forum