Hi,
I use SSH for import products and I got an error:
Undefined index: detailed_id in public_html/app/functions/fn.exim.php on line 901 cs-cart
It's related to: $this_multilang i $args[$ak] = $value[$group['this_field']];
Another problem my database became huge because of duplicated description of products, however description is same for different languages. Is it normal? Database sized now over 5 GB..
Example:
Even if description is the same, CS-Cart will have separate line for each language. This is default behaviour
I made:
{$features = $product|fn_get_product_features_list:'C'}
{foreach from=$features item="feature"}
{foreach from=$feature.variants item="little"}
{if $feature.variant == "little1"} TEST{/if}
{/foreach} {/foreach}
After that the value: TEST is duplicated, however there is only 1 variant of little.
[158] => Array
(
[feature_id] => 158
[value] =>
[value_int] =>
[variant_id] => 2572
[feature_type] => S
[description] => little
[prefix] =>
[suffix] =>
[variant] => little1
[parent_id] => 0
[display_on_header] => N
[display_on_catalog] => Y
[display_on_product] => Y
[variants] => Array
(
[2572] => Array
(
[value] =>
[value_int] =>
[variant_id] => 2572
[variant] => little1
[image_pairs] =>
)
)
Try to replace
{if $feature.variant == "little1"} TEST{/if}
with
{if $feature.variant == "little1"} TEST FROM FEATURE: {$feature.feature_id}{/if}
Possibly another feature has variant with the same name