News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

References products

Started by airvay, September 19, 2013, 12:54:40 PM

Previous topic - Next topic

airvay

Hi,

I use virtuemart 2.022.c and i can't view on my fronted site the references product.  I doing integrated the refenreces in the description product
http://www.rainet.fr/demo3/index.php/catalogue
Is it possible with this version to view the references ?
Thank you for your answer.

Airvay

jenkinhill

What do you mean by "references" - that does not translate into English as something to do with products.
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

airvay

References dont translate in english.
When you go in a new product, it's the first line (Ref;)
Imossible to see on the site why ?

jenkinhill

You mean the SKU - the product number/identifier?
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

airvay

Yes absolutly.
Look at my site:
http://www.rainet.fr/demo3

Show all products, nothing sku for this wherer i can enable the number identification for all ?

jenkinhill

The code to show SKU in the product details page is:
<?php echo $this->product->product_sku ?>

To show SKU in the category (product listing)  page is:
<?php echo $product->product_sku ?>

You are already using template overrides so add the code to those template files in suitable positions.

http://forum.virtuemart.net/index.php?topic=108212.0
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

airvay

To show SKU in the category (product listing)  page is:
<?php echo $product->product_sku ?>

Hi jenkinhill,

Thank you for your answer i copy your code (To show SKU in the category (product listing)  page is: <?php echo $product->product_sku ?>) in my override.css, by when i load my listing page of products, i see the sku and after the load page the sku dissapear.
Are you an idea ?
Thank you again

jenkinhill

Quote from: airvay on September 20, 2013, 10:18:32 AM
i copy your code (To show SKU in the category (product listing)  page is: <?php echo $product->product_sku ?>) in my override.css

It should be in the override template, yourjoomlatemplate/html/com_virtuemart/category/default.php in the case of category layout.
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

airvay

I'm so ssorry but i don't understant the path of your code.
In ftp i've components/com_virtuemart/views/category/tmpl/default.php

But it's the only path...
Where i can change your code ?

jenkinhill

Well you are using a Gavick template with their override files - you will need to ask Gavick where they put the VM override files if they are not in the normal location.

We cannot provide support for commercial templates as we have no idea how they have coded things.
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

airvay