Close product image lightbox with Android/iOS back button
-
Hi
I have searched quite extensively about this but have not found a solution.
My product images in my Woocommer with Storefront theme shop open in fullsize view in a lightbox when my users click them. This lightbox do have a close button (X) on screen for the users to click that correctly takes them back to the product page.
The problem is that maybe 50% of users press the back button on their Android/iOS device or the browser back button which instead of closing the lightbox and bringing them back to the product page takes them back to the previous page.
This would be the product catalog if you browse my site normally, but since I run Facebook ads with direct product links for many users this back button takes them all the way out of my site and back to Facebook.
My products are Old Maps Posters so naturally most user enlarge the product to see the details adn would then like to return to the product page.I have thought about either opening the image lightbox in a new page. I tried disabling lightboxes such that the users just open the source file. Here the back buttons work correctly but there is no visible close button as in the lightbox which the other 50% of users use. Does anybody know a solution or plugin which basically allows lightboxes to open in a new page?
Alternatively mending the actions of the back button could be posible but I have not found a solution for this either.
I use Woocommerce with the Storefront theme.
Hope someone is able to help ??
Nikolaj
The page I need help with: [log in to see the link]
- The topic ‘Close product image lightbox with Android/iOS back button’ is closed to new replies.