From fa949a5f112cc861fb518f6459f2bd4c7a22159b Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Wed, 18 May 2016 15:51:59 +0000 Subject: - Neues Variantenmodul git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5488 0d5edaf7-2b12-4e95-93f4-047927463d4b --- .../produkt_addedit_sidebar.phtml | 5 +- views/mods/mod_productvariants/admin_edit.phtml | 172 ++++++++++++++++ views/mods/mod_productvariants/admin_html.phtml | 226 +++++++++++++++++++++ views/mods/mod_productvariants/admin_show.phtml | 102 ++++++++++ .../produkt_addedit_content.phtml | 33 +++ views/mods/mod_productvariants/settings_edit.phtml | 22 ++ 6 files changed, 558 insertions(+), 2 deletions(-) create mode 100644 views/mods/mod_productvariants/admin_edit.phtml create mode 100644 views/mods/mod_productvariants/admin_html.phtml create mode 100644 views/mods/mod_productvariants/admin_show.phtml create mode 100644 views/mods/mod_productvariants/produkt_addedit_content.phtml create mode 100644 views/mods/mod_productvariants/settings_edit.phtml (limited to 'views/mods') diff --git a/views/mods/mod_productgroups/produkt_addedit_sidebar.phtml b/views/mods/mod_productgroups/produkt_addedit_sidebar.phtml index c48ca36..78fc497 100644 --- a/views/mods/mod_productgroups/produkt_addedit_sidebar.phtml +++ b/views/mods/mod_productgroups/produkt_addedit_sidebar.phtml @@ -22,8 +22,9 @@

- -

+ +
+ \ No newline at end of file diff --git a/views/mods/mod_productvariants/admin_edit.phtml b/views/mods/mod_productvariants/admin_edit.phtml new file mode 100644 index 0000000..4896638 --- /dev/null +++ b/views/mods/mod_productvariants/admin_edit.phtml @@ -0,0 +1,172 @@ + + + + + +view['arVariation'])) { ?> + + + + + + view['product_id'])) { ?> + + + + + + + view['product_id'])) { ?> + + + + + + + + + + view['arVariation'] as $vari) { $i ++; ?> + + + + view['product_id'])) { ?> + + + + + + + view['product_id'])) { ?> + + + + + + + + + + + + + + + */ ?> + + + +
+ /> + + + + get_option('wpsg_currency'))); ?> + + + +
  + TODO: Bilder +
+ + + + view['product_id'])) { ?> +

+ + + + + \ No newline at end of file diff --git a/views/mods/mod_productvariants/admin_html.phtml b/views/mods/mod_productvariants/admin_html.phtml new file mode 100644 index 0000000..f2aa433 --- /dev/null +++ b/views/mods/mod_productvariants/admin_html.phtml @@ -0,0 +1,226 @@ + + +
+ + + + +
+ + \ No newline at end of file diff --git a/views/mods/mod_productvariants/admin_show.phtml b/views/mods/mod_productvariants/admin_show.phtml new file mode 100644 index 0000000..099d8a2 --- /dev/null +++ b/views/mods/mod_productvariants/admin_show.phtml @@ -0,0 +1,102 @@ + + + + +view['arVariants'])) { ?> + + + + + + + + + view['product_id'])) { ?> + + + + + + + + view['arVariants'] as $var) { ?> + + + + + view['product_id'])) { ?> + + + + + + +
+ + +   + + view['product_id'])) echo $var['count_active'].'/'.$var['count_variation']; + else echo $var['count_variation']; + + ?> + + + + + + view['product_id']) && $this->view['product_id'] == $var['product_id']) || (!wpsg_isSizedInt($var['product_id']) && !wpsg_isSizedInt($this->view['product_id']))) { ?> + + + +
+ +

+ + + + + + \ No newline at end of file diff --git a/views/mods/mod_productvariants/produkt_addedit_content.phtml b/views/mods/mod_productvariants/produkt_addedit_content.phtml new file mode 100644 index 0000000..21b3e43 --- /dev/null +++ b/views/mods/mod_productvariants/produkt_addedit_content.phtml @@ -0,0 +1,33 @@ + + + + +view['data']['id'])) { ?> + + view['wpsg_mod_productvariants']['html']; ?> + + + + + + + + + + + + \ No newline at end of file diff --git a/views/mods/mod_productvariants/settings_edit.phtml b/views/mods/mod_productvariants/settings_edit.phtml new file mode 100644 index 0000000..019f4f5 --- /dev/null +++ b/views/mods/mod_productvariants/settings_edit.phtml @@ -0,0 +1,22 @@ + + +

+ +view['wpsg_mod_productvariants']['html']; ?> + + + \ No newline at end of file -- cgit v1.2.3