virtuemart
- GK User
- Thu Jan 24, 2013 12:36 am
Не показывает краткое описание товара на стронице товара, при переключении на другой шаблон , например, биз 20) показывает все правильно, а когда обратно переключаюсь на ваш шаблон, то на вашем шаблоне не показывает краткое описание,
с чем это может быть связано, из-за чего ?
спасибо
с чем это может быть связано, из-за чего ?
спасибо
-
- Fresh Boarder
- Konrad M
- Thu Jan 24, 2013 8:12 am
Hi,
English please
English please

- GK User
- Thu Jan 24, 2013 10:05 am
Does not show short description product on product details
-
- Fresh Boarder
- Konrad M
- Thu Jan 24, 2013 2:51 pm
Please switch template to default one and check if problem still exist.
- GK User
- Mon Jan 28, 2013 8:54 am
UNINSTALL AND INSTALL AGAIN.
default
PAGE CATEGORY:http://allbrends.ru/index.php/magazin/shem-na-zakaz/stan-zvezdoj-v-novogodnyuyu-noch
short description FIRST PRODUCT:В стоимость входит ткань, изготовление...
IT NO ON PRODUCT DETAILS (PAGE:http://allbrends.ru/index.php/magazin/shem-na-zakaz/stan-zvezdoj-v-novogodnyuyu-noch/designer-dresses2012-12-01-00-19-35-993-detail)
default
PAGE CATEGORY:http://allbrends.ru/index.php/magazin/shem-na-zakaz/stan-zvezdoj-v-novogodnyuyu-noch
short description FIRST PRODUCT:В стоимость входит ткань, изготовление...
IT NO ON PRODUCT DETAILS (PAGE:http://allbrends.ru/index.php/magazin/shem-na-zakaz/stan-zvezdoj-v-novogodnyuyu-noch/designer-dresses2012-12-01-00-19-35-993-detail)
-
- Fresh Boarder
- Konrad M
- Mon Jan 28, 2013 10:18 am
If same thing happend with default VM it means that it is VM issue. Please ask on their forum community.
- GK User
- Tue Jan 29, 2013 8:22 am
WHEN I switch to a different template (BEEZ20), then everything works normally and all SHOWS TO YOUR Template IS NOT WORKING.
Show me a single site with this template and VM, let me see that it works
Show me a single site with this template and VM, let me see that it works
-
- Fresh Boarder
- Konrad M
- Tue Jan 29, 2013 12:06 pm
Please try add this code to html/com_virtuemart/productdetails/default.php
- Code: Select all
<?php
// Product Short Description
if (!empty($this->product->product_s_desc)) {
?>
<div class="product-short-description">
<?php
/** @todo Test if content plugins modify the product description */
echo nl2br($this->product->product_s_desc);
?>
</div>
<?php
} // Product Short Description END
- GK User
- Tue Jan 29, 2013 10:41 pm
Thanks
and this:
if (!empty($this->product->customfieldsSorted['ontop'])) {
$this->position = 'ontop';
echo $this->loadTemplate('customfields');
} // Product Custom ontop end
?>
or error 500
and this:
if (!empty($this->product->customfieldsSorted['ontop'])) {
$this->position = 'ontop';
echo $this->loadTemplate('customfields');
} // Product Custom ontop end
?>
or error 500
-
- Fresh Boarder
- Konrad M
- Wed Jan 30, 2013 8:22 am
Can you explain a little more ?
- GK User
- Wed Jan 30, 2013 9:51 am
when i added code:
<?php
// Product Short Description
if (!empty($this->product->product_s_desc)) {
?>
<div class="product-short-description">
<?php
/** @todo Test if content plugins modify the product description */
echo nl2br($this->product->product_s_desc);
?>
</div>
<?php
} // Product Short Description END
I received "error 500"
when i added code:
<?php
// Product Short Description
if (!empty($this->product->product_s_desc)) {
?>
<div class="product-short-description">
<?php
/** @todo Test if content plugins modify the product description */
echo nl2br($this->product->product_s_desc);
?>
</div>
<?php
} // Product Short Description END
if (!empty($this->product->customfieldsSorted['ontop'])) {
$this->position = 'ontop';
echo $this->loadTemplate('customfields');
} // Product Custom ontop end
?>
SUCCEED
All Earned
<?php
// Product Short Description
if (!empty($this->product->product_s_desc)) {
?>
<div class="product-short-description">
<?php
/** @todo Test if content plugins modify the product description */
echo nl2br($this->product->product_s_desc);
?>
</div>
<?php
} // Product Short Description END
I received "error 500"
when i added code:
<?php
// Product Short Description
if (!empty($this->product->product_s_desc)) {
?>
<div class="product-short-description">
<?php
/** @todo Test if content plugins modify the product description */
echo nl2br($this->product->product_s_desc);
?>
</div>
<?php
} // Product Short Description END
if (!empty($this->product->customfieldsSorted['ontop'])) {
$this->position = 'ontop';
echo $this->loadTemplate('customfields');
} // Product Custom ontop end
?>
SUCCEED
All Earned
-
- Fresh Boarder
11 posts
• Page 1 of 1