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

TOPIC: one category - one product

one category - one product 9 years 5 months ago #11259

Is there a setting to go to Product Detail directly if only one product exists under a category? It saves steps.
The topic has been locked.

one category - one product 9 years 5 months ago #11274

If you have basic PHP knowledge; you can do this modification very easily on the category PHP file.

Basically, the idea you need to follow is;

- Check the products count.
- If the count is 1, redirect the page to that product details page (through PHP header redirection)
- If not, show the category page.

If you are asking from us to provide you step-by step guidance or tutorial on this....
It is 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.

one category - one product 9 years 5 months ago #11297

Thanks for the reply.

Based on some other forums on VM this used to be a standard feature on pre VM 2.6 versions. May be you could include this in your themes,
The topic has been locked.

one category - one product 9 years 5 months ago #11303

Hi,

Might be a good idea to include this to our templates. As i said, it is not very challenging process to code.
But i am 100% sure, people would be surprised and they would think this is a bug. They wouldn't be aware, it was a feature.

It shouldn't be a "standard" feature comes out of the box though. Maybe putting a plugin parameter in the backend to enable/disable it would be a better idea.

I am forwarding this inquiry to our developer team to be considered in the upcoming releases.

Regards.
The topic has been locked.
Time to create page: 0.062 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