diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2016-09-14 13:56:27 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2016-09-14 13:56:27 +0000 |
| commit | b334eb3aec38503bc240d83eb7b6022f638a0a1a (patch) | |
| tree | 88d6813c5f4b88fd0e4ad08e2678c0772d949fee /views | |
| parent | fc13c9553c783a2330ac8edd38add10e7d7fe0f5 (diff) | |
- Commit vor Switch
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5760 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views')
| -rw-r--r-- | views/js/editable.js | 3 | ||||
| -rw-r--r-- | views/mods/mod_productvariants/productTemplate.phtml | 14 |
2 files changed, 12 insertions, 5 deletions
diff --git a/views/js/editable.js b/views/js/editable.js index c9ccda8..c2275ec 100644 --- a/views/js/editable.js +++ b/views/js/editable.js @@ -27,10 +27,11 @@ if (options.type == "select" && typeof options.data == "string")
{
-
+
// Normale Übergabe eines JSON Strings
opt.source = jQuery.parseJSON(options.data);
opt.type = 'select';
+ opt.value = options.value;
}
else if (options.type == 'multiarray')
diff --git a/views/mods/mod_productvariants/productTemplate.phtml b/views/mods/mod_productvariants/productTemplate.phtml index 3ca2b66..35f873a 100644 --- a/views/mods/mod_productvariants/productTemplate.phtml +++ b/views/mods/mod_productvariants/productTemplate.phtml @@ -6,8 +6,14 @@ ?>
-<?php foreach ($this->view['wpsg_mod_productvariants']['arVariants'] as $var) { ?>
-
-
+<div class="wpsg_mod_variants_product_wrap">
+ <?php foreach ($this->view['wpsg_mod_productvariants']['arVariants'] as $var) { ?>
-<?php } ?>
+ <div class="wpsg_mod_variants_product">
+
+
+
+ </div>
+
+ <?php } ?>
+</div>
|
