diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2017-09-06 14:07:19 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2017-09-06 14:07:19 +0000 |
| commit | 787a87cef10daa7b0dd72180b981e59ab45ef9ea (patch) | |
| tree | 850b3fb2299ae491e8ac10c1fe21c8cff8fc688c | |
| parent | ea710c0663a1fa79f3669283a23a76677abd8e33 (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.phtml | 2 |
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>
|
