Related products

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 years ago
Is there any way to put related products on excel spreadsheet?
Replace a column title for example.
11 years ago
I find it way faster to just use the SQL SMS to insert


For example:
---------------------------

    INSERT INTO [nop].[dbo].[RelatedProduct]
           ([ProductId1]
           ,[ProductId2]
           ,[DisplayOrder])
     VALUES
           (1 ,2, 1),
(1 ,3, 2),
(1 ,4, 3),
(1 ,5, 4),
(1 ,6, 5)

GO
---------------------------

So in this scenario, product id 1 will be related to 2-6.
In excel, you can create a formula something like this:

="("&A1&","&B1&","&C1&"),"
11 years ago
Thanks Par6,
Please direct me to the SQL SMS.
11 years ago
http://www.microsoft.com/en-us/download/details.aspx?id=8961
11 years ago
But there isn't a column for related products.
11 years ago
it is a table called RelatedProduct
11 years ago
daveb,
I am a true novice at this.  Can you explain more about the "table"?
Is that a part of the excel?
11 years ago
It's a table in the database.

You cannot export related products to an excel spreadsheet ot of the box.

You would need to add code to do that.
11 years ago
Check nopAdmin plugin
11 years ago
This is a helpful solution to add related products. But my question is there a way you can download/export the product id in excel so it's easier to build the related products in an excel file. When I try exporting the products in excel using the admin tool, it doesn't give me the product id. Thanks.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.