Menu Content

Currencies Accepted


Shopping Cart

cart
Your Cart is currently empty.

How to Download A Product

For most of our products, including the free ones, you will need to go through checkout and place an order.

Read More

 

Find Us Elsewhere

Follow us on Twitter

Spiral Scripts on Facebook

rapidssl_ssl_certificate
2Checkout.com is a worldwide leader in payment services

Google ads

Home » Forum

Welcome, Guest

VM Flash Slideshow: Category ID to Product ID
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: VM Flash Slideshow: Category ID to Product ID

VM Flash Slideshow: Category ID to Product ID 11 months, 1 week ago #175

Ok, to make VM Flash Slideshow work 'perfectly' with our new website, I wish to make it show images only specific to a product_id instead of a category_id. Would you have any suggestions for code alterations or parameter specifications?

Re: VM Flash Slideshow: Category ID to Product ID 11 months, 1 week ago #176

Yes, you can set the 'Featured Product IDs' parameters to the ids of your required products,and set the module type to 'Featured Products'.

Re: VM Flash Slideshow: Category ID to Product ID 11 months, 1 week ago #178

That will definitely work to narrow it down to one single product; however, if I wanted the gallery to include, not just the Full Product Image, but all the additional images associated with that product_id, then what should I do? The additional images are the ones uploaded into the media section of each product which can be accessed in the product list of VM.

Re: VM Flash Slideshow: Category ID to Product ID 11 months, 1 week ago #179

You will need to edit the gallery xml component, the file 'components/com_vmgalleryxml/models/vmgalleryxml.php'.

Edit the function getImages() - just add the extra images to the $images array. You can find the additional images using the getFilesForProduct() which is defined in the Virtuemart class file ps_product_files.php.

It should be fairly straightforward, let me know how you get on. It's a feature I have been meaning to add, just haven't had the time.

Re: VM Flash Slideshow: Category ID to Product ID 11 months, 1 week ago #180

Wow, I thought it would have been easy but after about two hours...I'm starting to get lost. I'm trying to add the additional images to the images array located where you said. I noticed that the code uses the same functionality at the getCategoryImages() but instead of multiple $products...there's just one $product.

I'm attaching the vmgalleryxml.php file I've been tinkering with this morning. Any further suggestions or advice on the manner would be most welcome. Again, thanks for all your help so far.

Regards,

Torrey

Re: VM Flash Slideshow: Category ID to Product ID 11 months, 1 week ago #181

If you don't mind waiting a couple of days I will look into adding this as an option in a new release - it would be a useful feature.

Re: VM Flash Slideshow: Category ID to Product ID 11 months, 1 week ago #182

Hey Susan,

We do not mind waiting at all. Thank you for taking the time to add this feature. It will really help give our product presentation an online edge. Please let us know where and how we can get the update.

Kindest regards,

Torrey

Re: VM Flash Slideshow: Category ID to Product ID 11 months ago #193

The new version is available now. You can use your existing download id, then just upload and install using the Joomla installer as normal. You will need to update the Slideshow module and the vmgalleryxml component.

The slideshow now displays additional images - this option can be turned off using the vmgalleryxml parameters. It also includes a few other useful options, one in particular that you may find useful is the option to use the current product id obtained from the URL. This is the 'Use Request Product Id' option, if you set it to 'yes' then it will display images for the current product being viewed.
  • Page:
  • 1
Time to create page: 0.51 seconds
 
 

VirtueMart Featured Products Grid

Switch View

This module displays a short excerpt from articles in a selected category or section, or from a specified list of articles, with link and optional thumbnail image.

£14.00


A Flash puzzle game for the Joomla! content management system. This would be suitable for a site aimed at children.

£12.00


This module displays a short excerpt from articles in a selected category or section, or from a specified list of articles, with link and optional thumbnail image.

£12.00


Buy both our Flash slideshow products for Virtuemart and save £5.

£25.00