Virtuemart products issue

News Show Pro GK5 - flexible, responsive and easily extendable free Joomla module support forum.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Mon Jul 21, 2014 2:52 pm
Hi, I'm suing the news Show to display a number of virtuemart products but have an issue with how they are displayed. I've set the module mode to 'Product Gallery', the data source to 'Virtuemart Categories' and set it to show only 'featured products'. In the additional Virtuemart settings I've turned off the 'Add to cart' button. The products display on the page as they should until you hover over one. Then it pops up a red circle with the price in and an 'Add to Cart' button. I don't want anything to pop up, so what settings do I need to change to achieve this?
User avatar
Fresh Boarder

teitbite
Wed Jul 23, 2014 10:29 am
Hi

Please show me Your site.
User avatar
Moderator

GK User
Wed Jul 23, 2014 10:49 am
http://www.portwestproducts.com/

If you need access to the back end , let me know. I can temporarily add you as a user this afternoon (UK time) and PM you the details.
User avatar
Fresh Boarder

GK User
Wed Jul 23, 2014 12:05 pm
OK, I've solved part of this: In the controller.php file for the Product Gallery portal mode, the 'if' statement that tests whether to show 'Add to cart' was commented out?! I've reinstated it and that's got rid of the button but it's still showing a big red circle with the price in when I hover over a product.
User avatar
Fresh Boarder

teitbite
Thu Jul 24, 2014 12:38 pm
Hi

please add this to override.css and make sure override is enabled in template settings:

Code: Select all
.gkNspPM-ProductGallery .gkAddToCart,
.gkNspPM-ProductGallery .gkImage .gkImgOverlay {
    display: none;
}

.gkNspPM-ProductGallery .gkImage.hover .gkPrice {
    top: 0;
}
User avatar
Moderator

GK User
Thu Jul 24, 2014 2:12 pm
OK, that bit of CSS plus the code change that I mentioned has stopped the red circle and the 'Add to cart' button popping up. Thanks. However, when you hover over the product image, the price that I want to keep displaying disappears! All I want to happen on 'hover' is for the animation to freeze. What do I need to change to sort this.
User avatar
Fresh Boarder

teitbite
Fri Jul 25, 2014 5:19 pm
Hi

Sorry. I've made a typo in the code above:

Code: Select all
.gkNspPM-ProductGallery .gkAddToCart,
.gkNspPM-ProductGallery .gkImage .gkImgOverlay {
    display: none;
}

.gkNspPM-ProductGallery .gkImage:hover .gkPrice {
    top: 0;
}
User avatar
Moderator

GK User
Mon Jul 28, 2014 11:10 am
Unfortunately that made no difference.
User avatar
Fresh Boarder

teitbite
Wed Jul 30, 2014 4:44 pm
HI

Please send me an access to joomla panel, I'll check what is wrong. It work in my copy.
User avatar
Moderator


cron