virtuemart

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

Konrad M
Thu Jan 24, 2013 8:12 am
Hi,
English please ;)
User avatar

GK User
Thu Jan 24, 2013 10:05 am
Does not show short description product on product details
User avatar
Fresh Boarder

Konrad M
Thu Jan 24, 2013 2:51 pm
Please switch template to default one and check if problem still exist.
User avatar

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)
User avatar
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.
User avatar

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
User avatar
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
User avatar

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
User avatar
Fresh Boarder

Konrad M
Wed Jan 30, 2013 8:22 am
Can you explain a little more ?
User avatar

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
User avatar
Fresh Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.