VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: virtue_master on July 10, 2013, 18:53:08 PM

Title: Upgrade to 2.0.22 and category problem
Post by: virtue_master on July 10, 2013, 18:53:08 PM
I upgrade from 2.0.20b (all was OK) to 2.0.22

First I see that some items have no category route in path and some items works ok.
Before update all items in category "cat1" has addreses like this http://site.com/shop/cat1/item5
Now some items have addreses like this http://site.com/item5

I insert

print_r($product);

before each item in category themplate and see, that some products have no some data:
================================================================
stdClass Object ( [virtuemart_manufacturer_id] => 8 [mf_name] => Квант-Эфир [slug] => kvant-efir-aru-01-indoor-white [mf_email] => fff@gmail.com [mf_desc] => [virtuemart_manufacturercategories_id] => 0 [mf_url] => http://newhd.com.ua [published] => 1 [_pkey:protected] => virtuemart_product_id [_pkeyForm:protected] => [_obkeys:protected] => Array ( [product_name] => Название товара отсутствует! Не удается сохранить запись без Название товара. [slug] => Данная SEF псевдоним уже существует. ) [_unique:protected] => 1 [_unique_name:protected] => Array ( [slug] => Данная SEF псевдоним уже существует. ) [_orderingKey:protected] => ordering [_slugAutoName:protected] => product_name [_slugName:protected] => slug [_loggable:protected] => 1 [_xParams:protected] => product_params [_varsToPushParam:protected] => Array ( [min_order_level] => Array (
Title: Re: Upgrade to 2.0.22 and category problem
Post by: virtue_master on July 10, 2013, 18:54:13 PM
and there example of product where all data is:
================================================================
stdClass Object ( [virtuemart_manufacturer_id] => 2 [mf_name] => Amiko [slug] => amiko-alien2-triple [mf_email] => fff@gmail.com [mf_desc] => [virtuemart_manufacturercategories_id] => 0 [mf_url] => http://amikostb.com [published] => 1 [_pkey:protected] => virtuemart_product_id [_pkeyForm:protected] => [_obkeys:protected] => Array ( [product_name] => Название товара отсутствует! Не удается сохранить запись без Название товара. [slug] => Данная SEF псевдоним уже существует. ) [_unique:protected] => 1 [_unique_name:protected] => Array ( [slug] => Данная SEF псевдоним уже существует. ) [_orderingKey:protected] => ordering [_slugAutoName:protected] => product_name [_slugName:protected] => slug [_loggable:protected] => 1 [_xParams:protected] => product_params [_varsToPushParam:protected] => Array ( [min_order_level] => Array (
Title: Re: Upgrade to 2.0.22 and category problem
Post by: virtue_master on July 10, 2013, 18:54:40 PM
Amiko Alien 2 twin (S2+S2) ) [1] => stdClass Object ( [virtuemart_custom_id] => 1 [custom_parent_id] => 0 [admin_only] => 0 [custom_title] => COM_VIRTUEMART_RELATED_PRODUCTS [custom_tip] => COM_VIRTUEMART_RELATED_PRODUCTS_TIP [value] => [custom_field_desc] => COM_VIRTUEMART_RELATED_PRODUCTS_DESC [field_type] => R [is_list] => 0 [is_hidden] => 0 [published] => 1 [virtuemart_customfield_id] => 390 [custom_value] => 26 [custom_param] => [custom_price] => [ordering] => 0 [display] =>
Amiko SHD-8900 ALIEN вид спереди
Amiko SHD-8900 Alien ) ) [customfieldsCart] => Array ( ) [customsChilds] => Array ( ) [orderable] => 1 [amount] => 1 [quantity] => 1 [product_template] => [canonical] => /amiko-alien2-triple-detail [link] => /shop/hdtv-receivers/amiko-alien2-triple-detail [images] => Array (