├── app └── code │ └── Apptha │ ├── Vacationmode │ ├── view │ │ ├── adminhtml │ │ │ ├── web │ │ │ │ ├── js │ │ │ │ │ └── js.js │ │ │ │ ├── css │ │ │ │ │ ├── css.css │ │ │ │ │ └── source │ │ │ │ │ │ └── _module.less │ │ │ │ └── fonts │ │ │ │ │ ├── Vacation.eot │ │ │ │ │ ├── Vacation.ttf │ │ │ │ │ ├── Vacation.woff │ │ │ │ │ ├── Vacation.woff2 │ │ │ │ │ └── Vacation.svg │ │ │ ├── templates │ │ │ │ ├── vacationmode_index_index.phtml │ │ │ │ └── vacationmode │ │ │ │ │ └── vacationmode.phtml │ │ │ └── layout │ │ │ │ ├── vacationmode_vacationmode_exportcsv.xml │ │ │ │ ├── vacationmode_vacationmode_exportexcel.xml │ │ │ │ ├── vacationmode_vacationmode_new.xml │ │ │ │ ├── vacationmode_vacationmode_grid.xml │ │ │ │ └── vacationmode_vacationmode_index.xml │ │ └── frontend │ │ │ └── layout │ │ │ └── default.xml │ ├── composer.json │ ├── registration.php │ ├── etc │ │ ├── di.xml │ │ ├── email_templates.xml │ │ ├── frontend │ │ │ └── routes.xml │ │ ├── crontab.xml │ │ ├── adminhtml │ │ │ └── routes.xml │ │ ├── module.xml │ │ └── cron_groups.xml │ ├── Block │ │ └── Adminhtml │ │ │ ├── Index │ │ │ └── Index.php │ │ │ └── Vacationmode │ │ │ └── Edit │ │ │ └── Tabs.php │ ├── Controller │ │ └── Adminhtml │ │ │ └── Index │ │ │ └── Index.php │ └── Model │ │ ├── Vacationmode.php │ │ └── ResourceModel │ │ ├── Vacationmode.php │ │ └── Vacationmode │ │ └── Collection.php │ └── Marketplace │ ├── view │ ├── frontend │ │ ├── web │ │ │ └── images │ │ │ │ ├── stars.png │ │ │ │ ├── icon_sprite.png │ │ │ │ ├── plus-minus.png │ │ │ │ ├── no-store-logo.png │ │ │ │ ├── no-banner-image.png │ │ │ │ └── all_review_rating.png │ │ ├── email │ │ │ ├── seller_order_notification.html │ │ │ ├── contactform.html │ │ │ ├── subscription_seller_notification.html │ │ │ ├── seller_product_notification.html │ │ │ ├── seller_product_outofstock_notification.html │ │ │ ├── seller_order_item_request.html │ │ │ ├── subscription_admin_notification.html │ │ │ ├── subscription_sellersuccess_notification.html │ │ │ └── seller_order_item_cancel_return.html │ │ ├── templates │ │ │ ├── success.phtml │ │ │ ├── product │ │ │ │ ├── configurableattributes.phtml │ │ │ │ └── submit.phtml │ │ │ ├── seller │ │ │ │ └── sellervideo.phtml │ │ │ ├── cart.phtml │ │ │ ├── onepage.phtml │ │ │ ├── assignproduct │ │ │ │ └── comparepriceattributes.phtml │ │ │ └── account │ │ │ │ └── link.phtml │ │ └── layout │ │ │ ├── marketplace_order_items.xml │ │ │ ├── marketplace_order_items_request.xml │ │ │ ├── sales_order_item_renderers.xml │ │ │ ├── marketplace_seller_allseller.xml │ │ │ ├── marketplace_order_mange.xml │ │ │ ├── marketplace_seller_review.xml │ │ │ ├── marketplace_general_changebuyer.xml │ │ │ ├── marketplace_order_manage.xml │ │ │ ├── marketplace_order_vieworder.xml │ │ │ ├── marketplace_seller_profile.xml │ │ │ ├── marketplace_contact_form.xml │ │ │ ├── marketplace_product_preview.xml │ │ │ ├── marketplace_seller_paypal.xml │ │ │ ├── marketplace_product_manage.xml │ │ │ ├── marketplace_seller_transactions.xml │ │ │ ├── marketplace_assignproduct_add.xml │ │ │ └── marketplace_assignproduct_edit.xml │ └── adminhtml │ │ ├── email │ │ └── contactform.html │ │ ├── templates │ │ └── grid │ │ │ └── view.phtml │ │ └── layout │ │ ├── marketplaceadmin_review_index.xml │ │ ├── marketplaceadmin_sellers_index.xml │ │ ├── marketplaceadmin_transactions_index.xml │ │ ├── marketplaceadmin_payments_index.xml │ │ ├── marketplaceadmin_products_index.xml │ │ ├── marketplaceadmin_review_grid.xml │ │ ├── marketplaceadmin_sellers_grid.xml │ │ ├── marketplaceadmin_payments_grid.xml │ │ ├── marketplaceadmin_products_grid.xml │ │ ├── marketplaceadmin_allpayments_index.xml │ │ ├── marketplaceadmin_allpayments_grid.xml │ │ ├── marketplaceadmin_transactions_grid.xml │ │ ├── marketplaceadmin_subscriptionplans_grid.xml │ │ ├── marketplaceadmin_subscriptionplans_index.xml │ │ ├── marketplaceadmin_subscriptionprofiles_index.xml │ │ ├── marketplaceadmin_subscriptionprofiles_grid.xml │ │ ├── marketplaceadmin_review_edit.xml │ │ ├── marketplaceadmin_sellers_edit.xml │ │ └── marketplaceadmin_payments_edit.xml │ ├── composer.json │ ├── registration.php │ ├── Model │ ├── Session.php │ ├── Order.php │ ├── Review.php │ ├── ResourceModel │ │ ├── Order.php │ │ ├── Seller.php │ │ ├── Payments.php │ │ ├── Review.php │ │ ├── Customoption.php │ │ ├── Orderitems.php │ │ ├── Subscriptionplans.php │ │ ├── Subscriptionprofiles.php │ │ ├── Order │ │ │ └── Collection.php │ │ ├── Review │ │ │ └── Collection.php │ │ ├── Seller │ │ │ └── Collection.php │ │ ├── Orderitems │ │ │ └── Collection.php │ │ ├── Payments │ │ │ └── Collection.php │ │ ├── Customoption │ │ │ └── Collection.php │ │ ├── Subscriptionplans │ │ │ └── Collection.php │ │ └── Subscriptionprofiles │ │ │ └── Collection.php │ ├── Customoption.php │ ├── Orderitems.php │ ├── Payments.php │ ├── Subscriptionplans.php │ ├── Subscriptionprofiles.php │ ├── Config │ │ └── Source │ │ │ ├── Isack.php │ │ │ ├── Status.php │ │ │ └── Profilestatus.php │ └── System │ │ └── Config │ │ └── Status.php │ ├── Controller │ ├── Configuration.php │ ├── Adminhtml │ │ ├── Products │ │ │ └── Grid.php │ │ ├── Transactions │ │ │ └── Grid.php │ │ ├── Allpayments │ │ │ ├── Grid.php │ │ │ └── NewAction.php │ │ ├── Subscriptionprofiles │ │ │ └── Grid.php │ │ ├── Sellers │ │ │ └── Grid.php │ │ └── Subscriptionplans │ │ │ └── NewAction.php │ └── Seller │ │ ├── Allseller.php │ │ └── Displayseller.php │ ├── etc │ ├── module.xml │ ├── webapi_rest │ │ └── events.xml │ ├── frontend │ │ └── routes.xml │ ├── adminhtml │ │ └── routes.xml │ ├── crontab.xml │ └── events.xml │ └── Block │ ├── Seller │ └── Changebuyer.php │ ├── Onepage │ └── Failure.php │ ├── Adminhtml │ ├── Products.php │ ├── Subscriptionprofiles.php │ ├── Subscriptionplans.php │ └── Allpayments.php │ └── Contact │ └── Form.php └── README.md /app/code/Apptha/Vacationmode/view/adminhtml/web/js/js.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/code/Apptha/Vacationmode/view/adminhtml/web/css/css.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/view/frontend/web/images/stars.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apptha/Marketplace-M2/HEAD/app/code/Apptha/Marketplace/view/frontend/web/images/stars.png -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/view/frontend/web/images/icon_sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apptha/Marketplace-M2/HEAD/app/code/Apptha/Marketplace/view/frontend/web/images/icon_sprite.png -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/view/frontend/web/images/plus-minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apptha/Marketplace-M2/HEAD/app/code/Apptha/Marketplace/view/frontend/web/images/plus-minus.png -------------------------------------------------------------------------------- /app/code/Apptha/Vacationmode/view/adminhtml/web/fonts/Vacation.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apptha/Marketplace-M2/HEAD/app/code/Apptha/Vacationmode/view/adminhtml/web/fonts/Vacation.eot -------------------------------------------------------------------------------- /app/code/Apptha/Vacationmode/view/adminhtml/web/fonts/Vacation.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apptha/Marketplace-M2/HEAD/app/code/Apptha/Vacationmode/view/adminhtml/web/fonts/Vacation.ttf -------------------------------------------------------------------------------- /app/code/Apptha/Vacationmode/view/adminhtml/web/fonts/Vacation.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apptha/Marketplace-M2/HEAD/app/code/Apptha/Vacationmode/view/adminhtml/web/fonts/Vacation.woff -------------------------------------------------------------------------------- /app/code/Apptha/Vacationmode/view/adminhtml/web/fonts/Vacation.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apptha/Marketplace-M2/HEAD/app/code/Apptha/Vacationmode/view/adminhtml/web/fonts/Vacation.woff2 -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/view/frontend/web/images/no-store-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apptha/Marketplace-M2/HEAD/app/code/Apptha/Marketplace/view/frontend/web/images/no-store-logo.png -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/view/frontend/web/images/no-banner-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apptha/Marketplace-M2/HEAD/app/code/Apptha/Marketplace/view/frontend/web/images/no-banner-image.png -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/view/frontend/web/images/all_review_rating.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apptha/Marketplace-M2/HEAD/app/code/Apptha/Marketplace/view/frontend/web/images/all_review_rating.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Marketplace 2 | =========== 3 | 4 | Apptha Marketplace extension used to sell multi-vendors products into single store. It's allows sellers to add/edit/delete their products and customer buy multi-vendors product in single store. 5 | Seller can add different types of product. Also admin will get commission based on seller products. -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "apptha/marketplace", 3 | "description": "Apptha Marketplace Extension ", 4 | "require": { 5 | "magento/magento-composer-installer": "*" 6 | }, 7 | "type": "magento2-module", 8 | "version": "1.1", 9 | "extra": { 10 | "map": [ 11 | [ 12 | "*", 13 | "Apptha/Marketplace" 14 | ] 15 | ] 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /app/code/Apptha/Vacationmode/view/adminhtml/web/css/source/_module.less: -------------------------------------------------------------------------------- 1 | @vacationmode-icons-admin__font-name-path: "@{baseDir}Apptha_Vacationmode/fonts/Vacation"; 2 | @vacationmode-icons-admin__font-name : 'VacationMode'; 3 | .lib-font-face( 4 | @family-name: @vacationmode-icons-admin__font-name, 5 | @font-path: @vacationmode-icons-admin__font-name-path, 6 | @font-weight: normal, 7 | @font-style: normal 8 | ); 9 | .admin__menu .item-parent.parent.level-0 > a:before { 10 | font-family: @vacationmode-icons-admin__font-name; 11 | content: "\2708"; 12 | } 13 | -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/view/frontend/email/seller_order_notification.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{template config_path="design/email/header_template"}} 4 | 5 | 6 | 17 | 18 |
7 |

8 | Hi {{var seller_name}},

Kindly check out the details 9 | on the latest product[s] purchased.

Buyer Name: {{var 10 | buyer_name}}
Email id: {{var buyer_email}}
Order id: 11 | #{{var increment_id}}
12 |


13 |
{{layout handle="marketplace_order_items" order_id=$order_id 14 | seller_id=$seller_id area="frontend"}} 15 | 16 |
19 | {{template config_path="design/email/footer_template"}} 20 | -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/view/frontend/email/contactform.html: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | {{template config_path="design/email/header_template"}} 10 | 11 | 12 | 14 | 15 | 16 | 17 | 18 | 24 | 25 |
26 | {{template config_path="design/email/footer_template"}} 27 | -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/view/adminhtml/email/contactform.html: -------------------------------------------------------------------------------- 1 | 4 | 10 | 11 | {{template config_path="design/email/header_template"}} 12 | 13 | 14 | 16 | 17 | 18 | 19 | 20 | 26 | 27 |
28 | {{template config_path="design/email/footer_template"}} 29 | -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/view/frontend/email/subscription_seller_notification.html: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | {{template config_path="design/email/header_template"}} 10 | 11 | 12 | 14 | 15 | 16 | 17 | 18 | 24 | 25 |
26 | {{template config_path="design/email/footer_template"}} 27 | -------------------------------------------------------------------------------- /app/code/Apptha/Vacationmode/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "apptha/vacationmode", 3 | "description": "Apptha Vacationmode", 4 | "require": { 5 | "php": "~5.5.0|~5.6.0", 6 | "magento/module-store": "0.74.0-beta4", 7 | "magento/module-theme": "0.74.0-beta4", 8 | "magento/module-widget": "0.74.0-beta4", 9 | "magento/module-backend": "0.74.0-beta4", 10 | "magento/module-catalog": "0.74.0-beta4", 11 | "magento/module-email": "0.74.0-beta4", 12 | "magento/module-ui": "0.74.0-beta4", 13 | "magento/module-variable": "0.74.0-beta4", 14 | "magento/module-media-storage": "0.74.0-beta4", 15 | "magento/framework": "0.74.0-beta4", 16 | "magento/magento-composer-installer": "*" 17 | }, 18 | "type": "magento2-module", 19 | "version": "0.74.0-beta4", 20 | "license": [ 21 | "OSL-3.0", 22 | "AFL-3.0" 23 | ], 24 | "extra": { 25 | "map": [ 26 | [ 27 | "*", 28 | "Apptha/Vacationmode" 29 | ] 30 | ] 31 | } 32 | } -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/view/frontend/email/seller_product_notification.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{template config_path="design/email/header_template"}} 4 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 21 | 22 |
13 |

14 | Hi {{var receivername}},
15 |
Your product is Out Of Stock. So please check below status and update the product.
16 |
Product Name : {{var productname}}
17 |
SKU : {{var sku}}
18 |
Quantity : {{var qty}}
19 |
Allowed Minimum Quantity : {{var minqty}}
20 |

23 | {{template config_path="design/email/footer_template"}} 24 | -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/view/frontend/email/seller_product_outofstock_notification.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{template config_path="design/email/header_template"}} 4 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 21 | 22 |
13 |

14 | Hi {{var receivername}},
15 |
Your product quantity is very low. So please check below status and update the product.
16 |
Product Name : {{var productname}}
17 |
SKU : {{var sku}}
18 |
Quantity : {{var qty}}
19 |
Allowed Minimum Quantity : {{var minqty}}
20 |

23 | {{template config_path="design/email/footer_template"}} 24 | -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/view/frontend/email/seller_order_item_request.html: -------------------------------------------------------------------------------- 1 | 2 | {{template config_path="design/email/header_template"}} 3 | 4 | 5 | 23 | 24 |
6 |

7 | Hi {{var receivername}},
8 |
Kindly check out the order {{var requesttype}} request sent 9 | by the {{var requestperson}}.
10 |
{{var requestperson}} Name: {{var requestperson_name}}
11 | Email id: {{var requestperson_email}}
Order id: #{{var 12 | increment_id}} 13 | 14 |

Requested product(s) in the order :
{{layout 15 | handle="marketplace_order_items_request" order_id=$order_id 16 | product_id=$product_id seller_id=$seller_id area="frontend"}} {{if 17 | reason}} 18 |

19 | Reason : {{var reason}} 20 |

{{/if}} {{if requesturl}} To {{var requesttype}} ordered item click here {{/if}} 22 |
25 | {{template config_path="design/email/footer_template"}} 26 | -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/view/frontend/email/subscription_admin_notification.html: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | {{template config_path="design/email/header_template"}} 10 | 11 | 12 | 14 | 15 | 16 | 17 | 18 | 28 | 29 |
30 | {{template config_path="design/email/footer_template"}} 31 | -------------------------------------------------------------------------------- /app/code/Apptha/Vacationmode/view/adminhtml/web/fonts/Vacation.svg: -------------------------------------------------------------------------------- 1 | Generated by Glyphter -------------------------------------------------------------------------------- /app/code/Apptha/Vacationmode/view/adminhtml/templates/vacationmode_index_index.phtml: -------------------------------------------------------------------------------- 1 | 26 | * @copyright Copyright (c) 2017 Apptha. (http://www.apptha.com) 27 | * @license http://www.apptha.com/LICENSE.txt 28 | * 29 | */ 30 | ?> 31 | Vacation Mode -------------------------------------------------------------------------------- /app/code/Apptha/Vacationmode/view/adminhtml/templates/vacationmode/vacationmode.phtml: -------------------------------------------------------------------------------- 1 | 26 | * @copyright Copyright (c) 2017 Apptha. (http://www.apptha.com) 27 | * @license http://www.apptha.com/LICENSE.txt 28 | * 29 | */ 30 | echo $block->getGridHtml() ?> -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/view/frontend/email/subscription_sellersuccess_notification.html: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | {{template config_path="design/email/header_template"}} 10 | 11 | 12 | 14 | 15 | 16 | 17 | 18 | 29 | 30 |
31 | {{template config_path="design/email/footer_template"}} 32 | -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/view/adminhtml/templates/grid/view.phtml: -------------------------------------------------------------------------------- 1 | 27 | * @copyright Copyright (c) 2017 Apptha. (http://www.apptha.com) 28 | * @license http://www.apptha.com/LICENSE.txt 29 | * 30 | * */ 31 | ?> 32 | getGridHtml(); ?> 33 | -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/view/frontend/email/seller_order_item_cancel_return.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{template config_path="design/email/header_template"}} 4 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 28 | 29 |
13 |

14 | Hi {{var receivername}},
15 |
Your order has been {{var actiontype}} by the {{var 16 | sellername}}.
17 |
{{var requestperson}} Name: {{var requestperson_name}}
18 | Email id: {{var requestperson_email}}
Order id: #{{var 19 | increment_id}} 20 | 21 |

{{var actiontype}} product(s) in the order :
{{layout 22 | handle="marketplace_order_items_request" order_id=$order_id 23 | product_id=$product_id seller_id=$seller_id area="frontend"}} 24 | 25 | 26 | 27 |
30 | {{template config_path="design/email/footer_template"}} 31 | -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/view/frontend/templates/success.phtml: -------------------------------------------------------------------------------- 1 | 8 | 9 |
10 | getOrderId()) :?> 11 | getCanViewOrder()) :?> 12 |

escapeHtml(__('Your order number is: %1.', sprintf('%s', $block->escapeUrl($block->getViewOrderUrl()), $block->getOrderId())), ['a', 'strong']) ?>

13 | 14 |

escapeHtml(__('Your order # is: %1.', $block->getOrderId()), ['span']) ?>

15 | 16 |

escapeHtml(__('We\'ll email you an order confirmation with details and tracking info.')) ?>

17 | 18 | 19 | getAdditionalInfoHtml() ?> 20 | 21 |
22 | 25 |
26 |
27 | -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/registration.php: -------------------------------------------------------------------------------- 1 | 26 | * @copyright Copyright (c) 2017 Apptha. (http://www.apptha.com) 27 | * @license http://www.apptha.com/LICENSE.txt 28 | * 29 | */ 30 | \Magento\Framework\Component\ComponentRegistrar::register ( \Magento\Framework\Component\ComponentRegistrar::MODULE, 'Apptha_Marketplace', __DIR__ ); 31 | -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/Model/Session.php: -------------------------------------------------------------------------------- 1 | 27 | * @copyright Copyright (c) 2017 Apptha. (http://www.apptha.com) 28 | * @license http://www.apptha.com/LICENSE.txt 29 | * 30 | */ 31 | namespace Apptha\Marketplace\Model; 32 | 33 | /** 34 | * Customer session model 35 | */ 36 | class Session extends \Magento\Customer\Model\Session { 37 | } 38 | -------------------------------------------------------------------------------- /app/code/Apptha/Vacationmode/registration.php: -------------------------------------------------------------------------------- 1 | 26 | * @copyright Copyright (c) 2017 Apptha. (http://www.apptha.com) 27 | * @license http://www.apptha.com/LICENSE.txt 28 | * 29 | */ 30 | \Magento\Framework\Component\ComponentRegistrar::register( 31 | \Magento\Framework\Component\ComponentRegistrar::MODULE, 32 | 'Apptha_Vacationmode', 33 | __DIR__ 34 | ); -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/Controller/Configuration.php: -------------------------------------------------------------------------------- 1 | customerSession = $customerSession; 40 | $this->resultPageFactory = $resultPageFactory; 41 | $this->storeManager = $storeManager; 42 | parent::__construct($context); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /app/code/Apptha/Vacationmode/etc/di.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/view/frontend/templates/product/configurableattributes.phtml: -------------------------------------------------------------------------------- 1 | 23 | * @copyright Copyright (c) 2017 Apptha. (http://www.apptha.com) 24 | * @license http://www.apptha.com/LICENSE.txt 25 | */ 26 | $optionId=$this->getData('optionid'); 27 | $attributeData=$this->getData('attributedata'); 28 | if ($attributeData->usesSource ()) { 29 | echo $attributeData->getSource ()->getOptionText ( $optionId ); 30 | } -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/etc/module.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/view/frontend/templates/product/submit.phtml: -------------------------------------------------------------------------------- 1 | 23 | * @copyright Copyright (c) 2017 Apptha. (http://www.apptha.com) 24 | * @license http://www.apptha.com/LICENSE.txt 25 | */ 26 | ?> 27 |
28 |
29 | 34 |
35 |
-------------------------------------------------------------------------------- /app/code/Apptha/Vacationmode/view/adminhtml/layout/vacationmode_vacationmode_exportcsv.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /app/code/Apptha/Vacationmode/view/adminhtml/layout/vacationmode_vacationmode_exportexcel.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /app/code/Apptha/Vacationmode/Block/Adminhtml/Index/Index.php: -------------------------------------------------------------------------------- 1 | 27 | * @copyright Copyright (c) 2017 Apptha. (http://www.apptha.com) 28 | * @license http://www.apptha.com/LICENSE.txt 29 | * 30 | */ 31 | namespace Apptha\Vacationmode\Block\Adminhtml\Index; 32 | 33 | class Index extends \Magento\Backend\Block\Widget\Container { 34 | public function __construct(\Magento\Backend\Block\Widget\Context $context, array $data = []) { 35 | parent::__construct ( $context, $data ); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /app/code/Apptha/Vacationmode/Controller/Adminhtml/Index/Index.php: -------------------------------------------------------------------------------- 1 | 27 | * @copyright Copyright (c) 2017 Apptha. (http://www.apptha.com) 28 | * @license http://www.apptha.com/LICENSE.txt 29 | * 30 | */ 31 | namespace Apptha\Vacationmode\Controller\Adminhtml\Index; 32 | 33 | class Index extends \Magento\Backend\App\Action { 34 | public function execute() { 35 | $this->_view->loadLayout (); 36 | $this->_view->getLayout ()->initMessages (); 37 | $this->_view->renderLayout (); 38 | } 39 | } 40 | 41 | ?> -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/etc/webapi_rest/events.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/etc/frontend/routes.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /app/code/Apptha/Marketplace/Controller/Adminhtml/Products/Grid.php: -------------------------------------------------------------------------------- 1 | 27 | * @copyright Copyright (c) 2017 Apptha. (http://www.apptha.com) 28 | * @license http://www.apptha.com/LICENSE.txt 29 | * 30 | */ 31 | namespace Apptha\Marketplace\Controller\Adminhtml\Products; 32 | 33 | use Apptha\Marketplace\Controller\Adminhtml\Products; 34 | 35 | class Grid extends Products { 36 | /** 37 | * 38 | * @return void 39 | */ 40 | public function execute() { 41 | return $this->_resultPageFactory->create (); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /app/code/Apptha/Vacationmode/etc/email_templates.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 33 |