Product_Parent_Name in Mass actions

  • Posts: 265
  • Thank you received: 1
2 years 7 months ago #242463

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.5.1

Hello,

I was wondering if it would be possible to add an action for "Product Parent Name" in the mass action tables?

Thanks,
Hal

Attachments:

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

  • Posts: 265
  • Thank you received: 1
2 years 7 months ago #242541

Hello,

Is it also possible to have "parent_product_published" in the filter?

Also, "parent_price_value" in the actions?

Many thanks,
Hal

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

  • Posts: 64484
  • Thank you received: 9313
  • MODERATOR
2 years 7 months ago #242471

Hi,

That would be quite impractical as it would require a left join on the product table and thus would make the queries a lot more prone to slow downs / crashes because of the amount of rows to process.

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

  • Posts: 265
  • Thank you received: 1
2 years 7 months ago #242682

Which request :)?

For parent_product_name, it should be fairly straight forward. There's already an option to display "product_parent_id", which displays both id and name. I'd prefer it without the i.d.

"parent_product_published" and "parent_price_value" would make Mass actions much more usable to anyone using variants of products.

Many thanks,
Hal

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

  • Posts: 265
  • Thank you received: 1
2 years 7 months ago #242894

What do you think?

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

  • Posts: 13201
  • Thank you received: 2316
  • MODERATOR
2 years 7 months ago #242935

Hi,

The product_parent_id value is stored in the product directly, it does not need another MySQL request to get it.
Loading any other parent data will require as Nicolas said a left join on the same product table, so there is a risk of big slow down.

But we will think about a solution for that, because managing the parent data could indeed be more usable when having variants.

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

  • Posts: 265
  • Thank you received: 1
2 years 7 months ago #243009

Surely theres a way that I can export the parent name of the product without the ID.

I don't want to include the I.D info in my export.

Many thanks,
Hal

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

  • Posts: 265
  • Thank you received: 1
2 years 2 months ago #255006

Has this been resolved in the latest updates?

Thanks,
Hal

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

  • Posts: 64484
  • Thank you received: 9313
  • MODERATOR
2 years 2 months ago #255014

Hi,

There is nothing to resolve as this is not a bug.
That's a feature request, and as Xavier said, we'll think about it but doing that would be quite problematic as it would slow down the processing of the mass actions considerably.
We're currently working on completely changing the mass action system so that it is more flexible and faster so that it could handle such things in the future.
Note that the mass actions system is quite flexible already and if you really need to, you can always have a developer make you a mass action plugin to add custom filters/actions for your own uses.

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

Time to create page: 0.096 seconds
Powered by Kunena Forum