Hi there,
after updating to vm from 2.0.20b to 2.0.22a two bugs appeared.
1. Vm is not using the language override file from my second language (en-GB) anymore.
Instead it shows for ex "COM_VIRTUEMART_SHOPPER_TITLE_MR" or the default translation for english.
The default language (german) is working fine.
2. Im using custom fields in my related products, in vm product module and in the category list.
Whenever i add a related product to a product from the vm backend something weird happens.
Only some of the products have custom fields in the category list and in the product module.
Custom fields in related products are not showing at all. Without adding related products everything is working fine.
Btw no changes to the custom fields in the product details page. Working fine there.
The code in my template override which outputs the custom fields on my related products and the
category list is:
// Output: Product Custom Fields
if (!empty($product->customfieldsCart)) {
// && $show['show_custom_field'] == 'yes'
$html.= '<div class="product-fields">';
foreach ($product->customfieldsCart as $field) {
$html.= '<div class="product-field product-field-type-'.$field->field_type.'">';
$html.= '<span class="title">'.$field->custom_title.'</span>';
$html.= '<span class="display">'.$field->display.'</span>';
$html.= '<span class="desc">'.$field->custom_field_desc.'</span>';
$html.= '</div>';
}
$html.= '</div>';
}
I hope someone can help me to fix this problems.
Thank you.
My specifications:
------------------------------------------------------------
Server: local
PHP: 5.4.7
Joomla: 2.5.13
VM: 2.0.22a
Joomla Template: Custom
VM Theme: MoWebSo Theme (the same as on the demo site http://demo.virtuemart.net/)
I found a work around for problem 1 but im still struggeling with problem 2.
Can anybody reproduce this or help me?
Quote from: Eddy666 on July 30, 2013, 06:37:27 AM
Custom fields in related products are not showing at all.
Isn't this as it should be?
Hi
No because i had custom fields in vm 2.0.20b and they disappeard after the update.
But the weird thing is that custom fields on other pages are affected too.
Whenever i add a related product to a product, only some products on the category list
have custom fields others dont. Without related products everything works normal.
I think this is related to the new related products in the add to cart popup feature.
it is disable in the backend but no changes. I really have to fix this.
Regards
Quote from: Maxim Pishnyak on August 06, 2013, 13:21:54 PM
Quote from: Eddy666 on July 30, 2013, 06:37:27 AM
Custom fields in related products are not showing at all.
Isn't this as it should be?
I need a link or screen shot of your issue #2.