- Posts: 223
- Thank you received: 1
import variant help please
- plumbingdeals
-
Topic Author
- Offline
I created a test product, then a Characteristic with a couple of variants, and assigned this to the product.
After saving all this, I did an export and attempted to add several additional variants following what the export showed.
When I imported this, here is what showed....
Here is the file I imported...
Please log in or register to see it.
What am I doing wrong, please!?!
Thanks
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
I fixed some parts of your CSV, but make sure that you realy have the white and gold values into your finish caracteristc.
Please Log in or Create an account to join the conversation.
- plumbingdeals
-
Topic Author
- Offline
- Posts: 223
- Thank you received: 1
I insured that white and gold were in the characteristic
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- plumbingdeals
-
Topic Author
- Offline
- Posts: 223
- Thank you received: 1
Please Log in or Create an account to join the conversation.
Could you give the text that you have on that line ?
Please Log in or Create an account to join the conversation.
- plumbingdeals
-
Topic Author
- Offline
- Posts: 223
- Thank you received: 1
}elseif(isset($product->$type)){
$ids[] = (int)$product->product_id;
foreach($product->$type as $k => $id){
if(!empty($id)){
$id = $this->_getRelated($id);
$product->{$type}[$k] = $id;
$value = array((int)$id,$this->db->Quote($type),$product->product_id);
$values[] = implode(',',$value);
$totalValid++;
Please Log in or Create an account to join the conversation.
}elseif(isset($product->$type)){
which is now:
}elseif(isset($product->$type)&&is_array($product->$type)){
in the latest version of Hikashop.
If you change that these errors won't happen.
Please Log in or Create an account to join the conversation.
- plumbingdeals
-
Topic Author
- Offline
- Posts: 223
- Thank you received: 1
however I wonder, as we have updated regularly, while this file was not updated, even in our live store which is also using 1.5.8?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- plumbingdeals
-
Topic Author
- Offline
- Posts: 223
- Thank you received: 1
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Posts: 259
- Thank you received: 22
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.