Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: no front page product

no front page product 9 years 10 months ago #9701

Hi
i have a new product and i want not display in the front page
How can achieve that?
regards ksilenio
The topic has been locked.

no front page product 9 years 10 months ago #9716

Hi,

This is a 100% custom modification and unfortunately we don't provide free support or step-by-step instructions for custom coding modifications.

You may purchase premium support:
www.flexiblewebdesign.com/premium-support

and let us take care this modification for you directly on your website though.

Regards.
Support
The topic has been locked.

no front page product 9 years 10 months ago #9735

Hi
Thank you for your reply
ok i see
how about only the category of the products Is that possible?
regards ksilenio
The topic has been locked.

no front page product 9 years 10 months ago #9747

Hi,

The same idea. If you want to skip listing any product (either a specific product or all products from a specific category)
You will need a custom coding in this PHP file:

/templates/YOUR_TEMPLATE/html/com_virtuemart/virtuemart/default_products.php

In that file, a foreach() { } is used to make iterations. Which starts with this:
foreach ( $productList as $product ) { 

You need a rule to skip some specific products (skip iteration for some specific products, either skip by product ID or by Category ID, the same idea).

Look below articles, they might help you:
stackoverflow.com/questions/9387193/how-to-skip-elements-in-foreach-loop
stackoverflow.com/questions/3847704/getting-foreach-to-skip-over-iterations

It is a custom modifications.

Regards,
Support.
Last Edit: 9 years 10 months ago by Support.
The topic has been locked.

no front page product 9 years 10 months ago #9761

Hi
thank you for your suggestions but my knowledge isn't to high so to correct the php file
I will try to find another solution
regards ksilenio
The topic has been locked.

no front page product 9 years 10 months ago #9777

Hi,

As i have told you, this is 100% coding modification. It requires some technical PHP knowledge. (Knowing just Virtuemart and Joomla is not enough)

Either you may purchase premium-support through here:
www.flexiblewebdesign.com/premium-support

and let us take care this coding modification for you on your website or find an alternative method to handle it. It is up to you.

I am closing this topic for clearance.

Regards,
Support
The topic has been locked.
Time to create page: 0.291 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo