Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Show short description in category view
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Show short description in category view

Show short description in category view 5 years, 11 months ago #31871

Hi

I use Revo Template and in category view I would like to have the short description
How can i do it?
Can I also have a buttom to sy more details which will go you to product detail view


in .../templates/sj_revo/html/com_virtuemart/sublayouts/products.php
i put below price the code
<?php echo shopFunctionsF::limitStringByWord($product->product_s_desc, 200, '...') ?>
I don not know if i did it right
Seems ok
If i did it right how can i add a more detail buttom?

put
<p>
<?php // Product Details Button
echo JHTML::link($product->link, JText::_('COM_VIRTUEMART_PRODUCT_DETAILS'), array('title' => $product->product_name,'class' => 'product-details'));
?>
</p>

it does not seem nice
Last Edit: 5 years, 11 months ago by zakgr.

Re: Show short description in category view 5 years, 11 months ago #31893

Dear zakgr

Could you please let us know your Item Purchase Code of this theme? You can refer guide in here: www.magentech.com/documentation/how-to-get-themeforest-item-purchase-code/

We need to check it before supporting.
then check your site again: prntscr.com/eb14fi
my ip: 118.71.224.135 if you block my ip, please add it.
- about short the short description: it is right.
- about link:
you can use the code:

<?php echo JHtml::link ($product->link.$ItemidStr, $product->product_name); ?>

Thanks
  • Page:
  • 1
Time to create page: 0.28 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes