Author Topic: Reviews In Footer  (Read 411 times)

Jack Stiles

  • Beginner
  • *
  • Posts: 32
  • A beginner
Reviews In Footer
« on: August 30, 2018, 19:07:10 pm »
Hey guys - so I have another dumb question. Theres this piece of code:

Code: [Select]
echo $this->loadTemplate('reviews');
in product details. I would need to have my reviews in a footer :-O I know it sounds weird...but I have every product page created with pagebuilder which means theres a productdetails then theres the whole pagebuilder part and then theres a footer... And I need the reviews to be below the pagebuilder content so the footer would be best I guess...

Could you please help a bit?

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3458
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Reviews In Footer
« Reply #1 on: August 31, 2018, 02:09:58 am »
Does it make sense? it's not appropriate to design all with a page builder system. If you need the reviews, you need to check in the product details default layout, how to get the reviews from product. I dont want spend time for a so specific case, because it need more time to wirte this code as changing the product details layout to get similar desigg as your page builder.

Jack Stiles

  • Beginner
  • *
  • Posts: 32
  • A beginner
Re: Reviews In Footer
« Reply #2 on: September 04, 2018, 08:45:00 am »
it's not appropriate to design all with a page builder system

Disagree... If you only have 5 products in your shop and need every single one of them to look different then it would be pain to work on it without page builder not to mention the fact that a client wants to change things from time to time... If you don't have "time" why do you even bother to answer it then? Seriously....I thought this is a FORUM. But from what I have seen so far - theres a LOT of people who really seem to be angry answering any question. Whats the point of a forum then?  ::)

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8407
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Reviews In Footer
« Reply #3 on: September 04, 2018, 10:27:28 am »
The point of the forum is to discuss VM related topics......

If you don't want to accept advice from experienced VM users that is up to you.
But as VM has a full and complete templating system that makes it simple to have as you need in your case a separate styling for every product it is hard to understand why you don't use this.
To use some heavy 3rd party extension just to "style" seems a hammer to crack an egg.

Every part of VM is available in the VM templates.. this of course is not the case if you try and display VM thru some extra extension which simply adds complexity and overhead.
Have you ever looked at the html these page builders produce? Light and fast they aren't.
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3458
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Reviews In Footer
« Reply #4 on: September 04, 2018, 13:42:54 pm »
Disagree... If you only have 5 products in your shop and need every single one of them to look different then it would be pain to work on it without page builder not to mention the fact that a client wants to change things from time to time... If you don't have "time" why do you even bother to answer it then? Seriously....I thought this is a FORUM. But from what I have seen so far - theres a LOT of people who really seem to be angry answering any question. Whats the point of a forum then?  ::)

If you know Joomla, you dont need a page builder.
Now imagine you have 100 products using 5 design done with a pagebuilder and your customer want change the design.
How you do it ?
It's why i said that using a pagebuilder is poor when you can dynamic render pages.
Of course for 3 or 4 pages needing different design, it's perhaps easier for you, but not if you need any updates

Jack Stiles

  • Beginner
  • *
  • Posts: 32
  • A beginner
Re: Reviews In Footer
« Reply #5 on: September 04, 2018, 13:53:49 pm »
Understood... So lets say I would want a different template for checkout (cart and such) and a different template for a product detail... Is there a way to do this?

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3458
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Reviews In Footer
« Reply #6 on: September 04, 2018, 14:10:19 pm »
You can set templates and style per Joomla menu items
If you add a link to cart and a link to category root, you have then 1 style for cart and 1 for the whole shop.
If you really need 1 completly different template per product, then you need to add Jomla menus for each product.
But i trick is to add the view name + product id in the body class, then you can easy modify the CSS for each product depending the ID.
Eg if view is productdetails and product id is 50 class="productdetails-50"
Some templates already set classes per Joomla menu, view and component.

Jack Stiles

  • Beginner
  • *
  • Posts: 32
  • A beginner
Re: Reviews In Footer
« Reply #7 on: September 04, 2018, 14:15:12 pm »
Excellent! Thank you ;-) Thats what I needed.