summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2017-09-06 14:07:19 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2017-09-06 14:07:19 +0000
commit787a87cef10daa7b0dd72180b981e59ab45ef9ea (patch)
tree850b3fb2299ae491e8ac10c1fe21c8cff8fc688c
parentea710c0663a1fa79f3669283a23a76677abd8e33 (diff)
- Markireung bei Bildauswahl Varianten
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6465 0d5edaf7-2b12-4e95-93f4-047927463d4b
-rw-r--r--views/mods/mod_productvariants/produkt.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/mods/mod_productvariants/produkt.phtml b/views/mods/mod_productvariants/produkt.phtml
index cbf15a4..e5ee6e7 100644
--- a/views/mods/mod_productvariants/produkt.phtml
+++ b/views/mods/mod_productvariants/produkt.phtml
@@ -76,7 +76,7 @@
<?php $simulated_product_key = $this->callMod('wpsg_mod_productvariants', 'getSimulatedVariKey', array($this->view['data']['product_key'], $var['id'], $vari['id'])); ?>
<?php $attachmentID = $this->imagehandler->getAttachmentID($simulated_product_key); ?>
- <a data-wpsg-id="<?php echo $kv; ?>" class="wpsg_vp_update_image image <?php echo ((wpsg_getStr($this->view['wpsg_mod_productvariants']['set'][$k]) == $kv)?'akt':''); ?>" href="#">
+ <a data-wpsg-id="<?php echo $kv; ?>" class="wpsg_vp_update_image image <?php echo ((wpsg_getStr($this->view['vp_info'][$k]['vari_id']) == $vari['id'])?'akt':''); ?>" href="#">
<?php echo wp_get_attachment_image($attachmentID, 'thumbnail'); ?>
</a>