- This topic has 4 replies, 2 voices, and was last updated 12 years, 10 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Fancy 10 Lightbox Issue
I’ve applied the various tweaks (from the forums here) to get Lightbox to only show the images linked from a product page, rather than all the images of all products on any given page. That fixed all the Fancy code…except Fancy 10. You can see the big issue here: http://www.hagglecoins.com Every lightbox has 47 images in it!
Here is a test page that shows Fancy 1-9 being corrected perfectly: http://www.hagglecoins.com/store-test
But…the fixes for Fancy 1-9 aren’t working on Fancy 10. Scroll down to the 2 bottom products on the store test page, or look at any product on the main page.
I found the lightbox code causing the Fancy10 issue in the includes file, but I have no idea how to tweak it.
Any help would be appreciated, I suppose I could just change to Fancy1…but man I dig those mini thumbnails!
Fancy 10 uses a different function to generate the output. Please a post link to the forum post that you followed for the “image set” hack and I will be able to shed some light.
Followed the above steps for both WP eStore and the additional shortcode plugin.
Thanks for you help on this.
Open the “shortcode_include.php” file from the extra shortcode plugin and look for the “show_wp_eStore_fancy10” function in it. Search for the following inside this function:
rel="lightbox"
Once you find it replace it with the following:
rel="lightbox['.$ret_product->name.']"
There should be two occurrences so replace them both.
That did the trick, thanks!