How to resolve Error: Node Sass does not yet support your current environment: Windows 64-bit.

This error message does not indicate a problem with Ionic, but rather with node-sass, which is specified to execute in your Gulp file. Try to run the below code npm rebuild node-sass (with -g if node-sass was installed globally). If it didn’t rectify the issue then npm uninstall node-sass && npm install node-sass (again, with… Continue reading How to resolve Error: Node Sass does not yet support your current environment: Windows 64-bit.

getEvents() method.

Description This method lets us define events on template elements and bind them to methods in a view. If we have no events to define in the view, we don’t need to override this method. Called by the render() method of a view. Returns : The returned object can contain any number of key/value pairs,… Continue reading getEvents() method.

To add quantity section in PDP.

To add item quantity update in PDP where we can modify the section and add functionalities according to our requirement. In Entry file of the extension. In jj_pdpquantity_pdpquantity_tpl :

How to add childview to a view that already exists in the DOM.

Child views can be added to elements that have the data-view or data-cms-area data attribute. If there are multiple elements in a template that have a data-view attribute value of view_id, the child view is added to all elements with that ID. Elements with the data-view attribute act as placeholders in the application. If there is content in the view… Continue reading How to add childview to a view that already exists in the DOM.

How to create a View to Render a Registered Page Type.

When we register a page type with the PageType Component, we must also create a view to render the data when a user navigates to an instance of that page type. When creating this view, follow these best practices: Any view handling requests for a registered page type must extend PageTypeBase.View.js. Any view handling requests for a… Continue reading How to create a View to Render a Registered Page Type.

How to create a new PageTypeBaseView().

The base class for all PageType views. Views that render a registered page type must extend this class. In particular, the PageTypeBaseView class exposes the beforeShowContent method to delay rendering of the view. By overriding this method, you can do additional work before the view is rendered, such as retrieving data for the view. Note: The registerPageType() method of the PageType component… Continue reading How to create a new PageTypeBaseView().

Create slider using extension, get values from configuration record and slider can be accessing throught the website using SMT.

Create an extension with Template, Sass, Configuration and javascript file. In Configuration record add the details to be displayed: Now add the data-view created using the extension in which page we want to display. For example i want the slider to display in home page so i added the data-view in home tpl file. OUTPUT:… Continue reading Create slider using extension, get values from configuration record and slider can be accessing throught the website using SMT.