TOPIC: How to move RELATED PRODUCTS between DESCRIPTION and REVIEWS?

How to move RELATED PRODUCTS between DESCRIPTION and REVIEWS? 8 years 10 months ago #7590

  • tihshop
  • tihshop's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
One more question, please. How to move RELATED PRODUCTS between DESCRIPTION and REVIEWS?
Attachments:
  • Attachment This image is hidden for guests. Please log in or register to see it.
The administrator has disabled public write access.

Re: How to move RELATED PRODUCTS between DESCRIPTION and REVIEWS? 8 years 10 months ago #7594

  • crystal_moon
  • crystal_moon's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 47
  • Thank you received: 10
  • Karma: 2
Hello,

You can edit file 'templates/ot_furnite/html/com_virtuemart/productdetails/default.php':
- Find and move the 'related product' block code (line 376 - 378):
if (!empty($this->product->customfieldsRelatedProducts)) {
	echo $this->loadTemplate('relatedproducts');
} // Product customfieldsRelatedProducts END

above the 'review' block code (line 343):
echo $this->loadTemplate('reviews');

=> change to:
if (!empty($this->product->customfieldsRelatedProducts)) {
	echo $this->loadTemplate('relatedproducts');
} // Product customfieldsRelatedProducts END
echo $this->loadTemplate('reviews');
The administrator has disabled public write access.
The following user(s) said Thank You: tihshop

Re: How to move RELATED PRODUCTS between DESCRIPTION and REVIEWS? 8 years 10 months ago #7595

  • tihshop
  • tihshop's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
Thank You!!! :) :) :)
The administrator has disabled public write access.
Time to create page: 0.099 seconds