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

TOPIC: Display Badges on Frontpage

Display Badges on Frontpage 10 years 10 months ago #5057

Hi, how can I display badges on the front page?
Also is it possible to have items on sale in the frontpage?
Lastly, instead of having to click on the additional images to have it appear as the main image, can the image load when the user mouseovers instead? Thanks.
The administrator has disabled public write access.

Display Badges on Frontpage 10 years 10 months ago #5062

Badges? I don't know what you mean?

If your using the standard VM front page just enable the modules (top ten, featured etc) if you want products there
otherwise make your frontpage menu something else - a category etc

mouse-over - no - sorry - not possible without extensive recoding

Cheers
The administrator has disabled public write access.

Display Badges on Frontpage 10 years 10 months ago #5067

By badges, I mean the labels for featured, sale, and new.

I was also wondering how I could add the back to category link on the product details page.

Also, I can't seem to get the product name to show on the front page without having to mouse over it.

you can view my page at www.dsl.com.sg
Last Edit: 10 years 10 months ago by Leonard Chia.
The administrator has disabled public write access.

Display Badges on Frontpage 10 years 10 months ago #5083

There is no code for the new, featured etc badges to show on the home page sliders.

You would need to change the code in the templates/your_template/html/com_virtuemart/virtuemart/default_products.php to achieve this.

You would need to add some code like in templates/your_template/html/com_virtuemart/category/flexv2.php around line 236

The cat names are supposed to only appear on a hover - that's part of the template style - see - www.flexiblewebdesign.com/virtuemart-2-template-fashionmart/

to have them show always you would need to add
 
<div class="FlexibleFrontpageProductName">
					<?php // Product Name
					echo JHTML::link ( JRoute::_ ( 'index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $product->virtuemart_product_id . '&virtuemart_category_id=' . $product->virtuemart_category_id ), $product->product_name, array ('title' => $product->product_name ) ); ?>
						</div>
 
 

outside the FlexibleFrondpage_action_hover class div and style it - also make it disappear on hover...

Cheers
The administrator has disabled public write access.

Display Badges on Frontpage 10 years 10 months ago #5084

for a back button just add

<input type="button" on-click="history.go(-1);return false;" value=" Return " class="back_button">

somewhere on your templates/your_template/html/com_virtuemart/productdetails/default.php template (or the flex2 if your using that)

Cheers
The administrator has disabled public write access.
Time to create page: 0.089 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