Jump to content

import combinations into website


Recommended Posts

Hi,

 

I have setup Attributes e.g. Colours.

 

I have now added new product and I have upload the images to this product. 

 

What I like to do is import combinations to my colour and assign images to these colours.

 

I have already setup colours and upload images and also I have setup combination. 

 

How do I assign image to each colour.

 

Please show each setup I can do to do this.

 

I have checked the import combinations help but i dont understand it, as why its asking for all that info.

 

Thank you in advance

Link to comment
Share on other sites

This is what I try to do but it failed.

 

Product ID*;Attribute (Name:Type:Position)*;Value (Value:Position)*;Image URL;Delete existing images (0 = No, 1 = Yes)
15;Color:colour:0,Size:select:1;Black:0,L:1;http://domain.co.uk/img/p/2/3/9/239-cart_default.jpg;0;
 
This is the error I get.
 
[PrestaShopException]

Property ProductSupplier->product_supplier_reference length (61) must be between 0 and 32
at line 846 in file classes/ObjectModel.php

840.
841.             $message = $this->validateField($field, $this->$field);
842.             if ($message !== true)
843.             {
844.                 if ($die)
845.                     throw new PrestaShopException($message);
846.                 return $error_return ? $message : false;
847.             }
848.         }
849.
850.         return true;
Link to comment
Share on other sites

As far as I know, the only way to do this is to click on the combinations tab in the product back office, then go through the list and modify each of theme, selecting the right images :(

 

I am doing this but it just taking very long time to do this. They must be easy way to assign images to each colour.

Link to comment
Share on other sites

For the error, you are adding a reference which is too long :) you can increase the value if you need, though, by modifying the ProductSupplier class :)

as for the rest, no, that's the only way you have, without using third party modules :(

 

 

Thank you for your help. musicmaster soloution does make it easy to assign images

Link to comment
Share on other sites

×
×
  • Create New...