MageSuiteFrontend

https://github.com/magesuite/frontend

This module provides the backend code and helpers for frontend modifications of Magento features placed in theme-creativeshop.

Installation

This module is a part of MageSuite metapackage

composer require "creativestyle/magesuite-frontend" ^3.0.0

Admin settings

Some functionalities from the module are placed in:

Product Listing Sort Direction

Stores -> Configuration -> Catalog -> Catalog -> Storefront

Google optimize

Stores -> Configuration -> Sales -> Google Api -> Google Optimize

Show "Print order" button in customer area

Stores -> Configuration -> Sales-> Sales

Custom URL redirection type

Stores -> Configuration -> MageSuite -> SEO -> Category

Options:

  • No

  • Temporary (302)

  • Permanent (301)

Backend

TODO - BE documentation and review of documentation is needed

Frontend

 

Helpers

MageSuite\Frontend\Helper\Product

MageSuite\Frontend\Helper\Order

MageSuite\Frontend\Helper\Category

MageSuite\Frontend\Helper\Store

MageSuite\Frontend\Helper\Customer

MageSuite\Frontend\Helper\Review

 

Some of the templates can be outdated and not used. In some placed outdated methods and magento code cam be used. The module should be reviewed and refactored.

 

Magesuite logo in admin panel

MageSuite logo is added next to new features in the admin panel.

In magesuite-frontend/view/adminhtml/layout/default.xml layout

<css src="MageSuite_Frontend::css/cs-logo.css" /> <link src="MageSuite_Frontend::js/cs-logo.js" />

In order to display MageSuiyte logo add cs-csfeature__logo class, f.e:

<field id=""> <label></label> <source_model></source_model> <frontend_class>cs-csfeature__logo</frontend_class> </field>

Print order button in User Area

If Show "Print order" button in customer area swicther is set to Yes the print order button is displayed in the User Area..

Template:

magesuite-frontend/view/frontend/templates/order/info/buttons.phtml

Â