Quick View Save to Lightbox not changing text
Closed this issue · 0 comments
maharzan commented
When click Quick View on a Sell Media item, there is a Save to Lightbox link below Add to Cart button. When clicking it, nothing seems to happen. The text doesn't change to Remove from Lightbox which is the default behaviour. The same code on an individual item seems to work though.
Digging further, I have found the <a>
tag doesn't load id, title (these doesn't seem to be supported in <a>
tag by default: ref: https://www.w3schools.com/tags/tag_a.asp) so maybe that is the issue. However, the same code is loading these in the individual page. Here is the screenshot.
The code seems to be coming from: https://github.com/graphpaperpress/Sell-Media/blob/master/inc/fields.php#L104