The column 'fee_type' is not importable?

  • Posts: 62
  • Thank you received: 1
8 years 7 months ago #234606

-- HikaShop version -- : 2.6.1
-- HikaMarket version -- : 1.6.7
-- Joomla version -- : 3.5.0
-- PHP version -- : 5.4.45
-- Browser(s) name and version -- : Chrome 49.0
-- Error-message(debug-mod must be tuned on) -- : The column 'fee_type' is not in the list of possible columns

Hello,

I would like to import my product list, including the vendor fee for this product. Is this possible?

Kind regards,
Teeuwis Hillebrand

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 7 months ago #234639

Hi,

Unfortunately, there is no column "fee_type" in the hikashop_product table so I understand your error message.

The HikaMarket fee rules are stored in the table "#__hikamarket_fee".
That table have a field "fee_type" for the kind of target (the configuration, a vendor, a product...) and a "fee_target_id" for the ID of the targeted element.

If you want to import some fee rules for a specific product, I'm afraid that you will have to import it directly in the database.
The HikaShop import system does not allow third party components to plug events into ; so HikaMarket can't handle a special "fee_type" field to perform such kind of import in the "hikamarket_fee" table.
It would require a specific development in HikaShop for a refactoring of the import system, so components like HikaMarket would be able to handle new specific data and import their own elements.

Currently, only the "product_vendor_id" is available : that field was already in the HikaShop schema (and HikaMarket was the first component to really use it).

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: nuntius

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

  • Posts: 62
  • Thank you received: 1
8 years 7 months ago #234675

Thank you for the clarification, I will do an import using SQL for the fees.

Cheers,
Teeuwis

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

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