VirtueMart Second Image in Flipcard
Hi guys,
I’m using the Herzog Dupont Flipcard Element:
herzog-dupont.de/yootheme-pro#flipcard-element
It allows me to define separate content for the front and back sides of the card.
I’ve built a VirtueMart product category layout using Dynamic Multiplicated Columns, and I had the idea that it would be great if:
The first image works fine (that’s easy), but is there a way — using VMuikitX — to assign the second product image to the back side of the flipcard?
With a workaround I managed to fetch it using an Essentials Source, joining the virtuemart_medias and virtuemart_product_medias tables. However it’s not a clean solution and there’s no proper fallback if a product only has one image.
Is there a built-in or recommended way to access the second product image dynamically in this setup?
Thanks in advance!
I’m using the Herzog Dupont Flipcard Element:
herzog-dupont.de/yootheme-pro#flipcard-element
It allows me to define separate content for the front and back sides of the card.
I’ve built a VirtueMart product category layout using Dynamic Multiplicated Columns, and I had the idea that it would be great if:
- the first product image appeared on the front side
- the second product image appeared on the back side
The first image works fine (that’s easy), but is there a way — using VMuikitX — to assign the second product image to the back side of the flipcard?
With a workaround I managed to fetch it using an Essentials Source, joining the virtuemart_medias and virtuemart_product_medias tables. However it’s not a clean solution and there’s no proper fallback if a product only has one image.
Is there a built-in or recommended way to access the second product image dynamically in this setup?
Thanks in advance!
by keep2000
Please Log in or Create an account to join the conversation.
- JProStudio
-
Offline
- Admin
-
- Posts: 462
- Thank you received: 73
For front side use Dynamic → VM Product details → Image field and for back side use Dynamic content and select VM Product details → VM Product Gallery (Multiple Items Source) Set: Start = 2 and Quantity = 1 (So you’re requesting “the 2nd image only”) productgallery(start=2, limit=1) → returns 1 item (if a 2nd image exists), kindly check with this and confirm. Thank you
For urgent help please create a support ticket extensions.joomlapro.com/support/tickets
by JProStudio
The following user(s) said Thank You: keep2000
Please Log in or Create an account to join the conversation.
Thanks guys, it’s working now. 😊
This was actually the first thing I tried, but I must have set something up wrong because it didn’t work back then. Gave it another go and now it’s all good. Awesome!
This was actually the first thing I tried, but I must have set something up wrong because it didn’t work back then. Gave it another go and now it’s all good. Awesome!
by keep2000
Please Log in or Create an account to join the conversation.
Time to create page: 0.301 seconds