attache n different products to the same package that contain n serials

  • Posts: 846
  • Thank you received: 92
6 years 7 months ago #253398

-- HikaShop version -- : 2.6.3
-- HikaSerial version -- : 1.10.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.5.8
-- Error-message(debug-mod must be tuned on) -- : nothing

Hi
Howto attach 500 differents products ( no variant) to the same package ?

Regard's

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

  • Posts: 25767
  • Thank you received: 3977
  • MODERATOR
6 years 7 months ago #253399

Hi,

Here a post that you created 2 years ago :
www.hikashop.com/forum/import-export-csv...h-serial-column.html

As written in that post ; the HikaSerial import system allow you to import serial, packs and also link between products and packs (with the pack quantity if required).

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: 846
  • Thank you received: 92
6 years 7 months ago #253516

Hi
it was the wrong question : here is the right one :
Could we link specific serial ( serial1) to specific product ( produc1) before buyer ( buyer1) buy the product1

I think no but i don't know every thing about hikaserial .......

Regard's

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

  • Posts: 25767
  • Thank you received: 3977
  • MODERATOR
6 years 7 months ago #253517

Hi,

The question is a little bit too large to have an absolute answer.

There is no link between the serial and the product. There is just a link between the product and the pack.
You can also have a link between the serial and the user but that's a different story.

Now, if you take the configuration where you have a pack which is just assign with one product ; by configuration all serials of that pack will be assign to that product.

The link between the product and the serial is based on the [m:n] relationship.

product <-> pack <-> serial
en.wikipedia.org/wiki/Many-to-many_(data_model)
But even if you have that structure, you can still use it has a one-to-one or one-to-many ; the data will do it.

At the end, HikaSerial provide the most flexible relationship possible ; it's up to you to restrict it to do what you want to do.
So your question is a database relationship question more than an HikaSerial one.

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.

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