News:

Looking for documentation? Take a look on our wiki

Main Menu

How to custom Related Products virtuemart 2.9.9.5

Started by duchaidlu, November 18, 2014, 11:02:29 AM

Previous topic - Next topic

duchaidlu

I don't edit file Related Products. i don't know edit file
I using Joomla 3.3.6 and VM 2.9.9.5
Pls help me!

jenkinhill

The files used for display of related products are:
components/com_virtuemart/views/productdetails/tmpl/default_relatedproducts.php
and the sublayout at
components/com_virtuemart/sublayouts/related.php

If you edit them be sure to use the edited files as template overrides.

AS 2.9.9.5 is still a test version there is a configuration for related products (which is now in custom field format) at [yourdomain]/administrator/index.php?option=com_virtuemart&view=custom&task=edit&virtuemart_custom_id=1
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

duchaidlu

I can't find file: components/com_virtuemart/sublayouts/related.php
I tried file default_relatedproducts.php
But can't change related products

AH

FYI

There is no sublayout for related products and categories in 2.9.9.5

components/com_virtuemart/sublayouts/related.php

Regards
A

Joomla 3.10.11
php 8.0

jenkinhill

It is in the latest version from SVN and in the VM3 version we have for internal testing. I suggest not to change template layouts/styles on the RC versions but wait for the public "stable" VM3 as there still may be template/style changes.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

AH

Yep jump to VM3 no longer use 2.9.9.5

related.php is a new sublayout
Regards
A

Joomla 3.10.11
php 8.0