Skip to main content

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

More
9 years 11 months ago #253398 by lionel75
-- 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.

More
9 years 11 months ago #253399 by Jerome
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.

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

More
9 years 11 months ago #253516 by lionel75
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.

More
9 years 11 months ago #253517 by Jerome
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.
Code:
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.

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

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