Compatibility

Mshop is compatible with Magento Community versions 1.6.x, 1.7.x, 1.8.x and 1.9

 

Installation

Mshop extension can be installed in two ways:

  1. Install with Magento Connect Manager
  2. Install with FTP


Install with Magento Connect Manager

  1. Login to the Magento backend and go to System Magento Connect Magento Connect Manager
  2. In the Magento Connect File Manager upload the Mshop extension or paste the extension key in the field "Paste extension key to install"
  3. Upload the extension and press the install button.
  4. The extension is installed!

Install with FTP

  1. Unzip the Mshop extension.
  2. Connect with FTP to your Magento installation and add the content of the app folder to your environment.
  3. Login to your Magento backend and clear the cache.
  4. The extension is installed!

Configuration M-shop B2C



1. After installation, log out of the Magento backend and then login again.

2. Navigate to System → Configuration → M-shop → M-shop B2C section.

3. You can adjust following settings:

About M-shop:  

 - Debug mode: logging mechanism that logs all calls made via API, it loads the method name, parameters and responce in var/Mshop.log file.


Create customer settings: 

 - Send email when customer is updated via API: enable or disable the sending of email to a customer when customer account is updated with Api method.


Create invoice with mamut id settings:

- Send email when invoice is created via API: enable or disable sending of emails to customer when an invoice is created through M-Shop.

- Email template : Select email template to be sent when invoice is created through M-Shop.



Order Cancellation:

- Send email when order is cancelled via API: enable or disable sending of emails to customers when an order is cancelled in Mamut.

- Email template: select which email template to be sent when the order is cancelled.


Ordered items can not be delivered:

- Order Status: select order status that the order will get.

- Send email notification when ordered items are not in stock: enable or disable sending of emails to customers when order items are not currently in stock.

- Email template: select which email template to be sent when order items are not in stock.


Order is picked:

- Order Status: select order status for picked orders in Mamut.

- Send email when order is picked via API: enable or disable sending of emails to customers when order is picked in Mamut.

- Email template: select which email template to be sent when order is picked in Mamut.


Order is shipped:

- Order Status: select order status that the order will get.

- Send email when order is shipped via API: enable or disable sending of email to customers when order is shipped in Mamut.

- Email template: select which email template to be sent when order is shipped.


Order info custom fields

- These three custom order fileds are added to the salesOrderInfo API method. In the select list you can assign all order attributes regardless if they are default magento or installed by third party extension. So all available order attributes can be selected and mapped to one of the custom order field (this does not include order address attributes, or order item attributes).

Third party extensions

- If settings for extension is 'yes' than we add extension specific fields to the response (salesOrderInfo). If this setting is on “Yes” and the extension is not installed an admin notification is visible.


Inventory settings

- Display Mamut warehouses in the product inventory tab: select whether Mamut warehouses fields should be visible in the inventory tab on the product page in the Magento backend.

-Use from suppliers stock: select whether 'From suppliers' field will be visible in inventory tab on product page in the Magento backend.

Server Compatibility

- Clicking on 'Check Server' button will check if the server is Magento compatible, regarding PHP version and php extensions.

Configuration M-shop B2B


1. After installation, log out of the Magento backend and then login again.

2. Navigate to System → Configuration → M-shop → M-shop B2B section.

3. You can adjust following settings:

Apply highest discount: 

- If this setting is set to Yes, when there are several rules for customer affecting same product, the one which will give highest discount on that product will be applied, other discounts will be removed, not applied.


Enable M-shopB2B api methods logging:

- When using api methods to create catalog rules, if fault is thrown we log the function name and the parameters passed, If this setting is set to Yes. Log file: var/log/mshopb2b.log


Frequency of cron job for applying catalog rules:

- Setting frequency on Magento Catalogrule module observer for applying all rules. Default value for this setting is '0 1 * * *' which means that all discounts will be updated daily in 01:00 am.


Select default customer tax class:

- When creating customer group with Mshop, it will set Customer Tax Class to the group based on this setting. 


Delete Rules button:

- On click, this button will remove all catalog rules regardless if mshop created or default Magento catalog rules.

Apply Mamut Discounts
In Magento admin, in the Catalog Price Rules section,  clicking on "Apply Mamut Discounts" button will trigger the application of general and customer specific rules as background process.




Uninstallation MshopB2C

Set the 'active' element to 'false' in /etc/modules/Ecomwise_Mshop.xml will render the extension as not active. Make sure to flush the Magento cache.

However, if you want to remove the extension completely the following action is needed:

  •  Remove all files from file system.
  • Remove the entry with code='mshop_setup' in the core_resourse database table.
  • Drop database table 'ecomwise_settings_before_order'.
  • Remove columns mamut_store1, mamut_store2, mamut_store3, mamut_store4, mamut_store5, mamut_nextdeliverydate from database table 'cataloginventory_stock_item'
  • Remove transactional emails 'New Shipment With Tracking Number', 'Order is canceled', 'Order is picked', 'Order can not be delivered' and 'New Invoice with Mamut Id'.
  • Remove attribute 'mamut_future_stock'.
  • Remove column 'tier_type' from database table 'catalog_product_entity_tier_price'


Uninstallation MshopB2B

Set the 'active' element to 'false' in /etc/modules/Ecomwise_MshopB2B.xml will render the extension as not active. Make sure to flush the Magento cache.

However, if you want to remove the extension completely the following action is needed:

  • Remove all files from file system.
  • Remove the entry with code='mshopb2b_setup' in the core_resourse database table.
  • Drop database tables 'ecomwise_catalogpromotions_mapping', 'ecomwise_catalogpromotions_product_price' , 'ecomwise_customermamut_mapping', 'ecomwise_mamut_contact_groups'.
  • Remove column 'highest_discount' from database table 'catalogrule_product_price'.
  • Remove attributes 'mshop_bloked', 'mamut_contact_groups', 'mshop_payment_method'.
  • Remove column `reference_order` from database table`sales_flat_order`.