Skip to main content

Magento

Magento usually works flawlessly together with Clonable without having to make any special adjustments. However, some setups may require you to make some changes. Below you will find some more information about that.

Magento and subfolder

If you have created a clone of a Magento subfolder (e.g. of a store view), it may happen that certain elements like a quick-buy button do not function properly. In that case, Magento must be instructed by means of a substitution rule to view the both the URL with and without subfolder as the baseURL. Below you can find an example of this, in which https://example.com/ is a clone of https://example.nl/eu_nl/:

Original

Replacement

Options

In addition, there is another place where the baseUrl is defined. This is the BASE_URL variable at the top of the HTML code. In this variable, a / is represented as \u002F. Below you can see how to modify this variable. This rule solves problems with, for example. a newsletter submission or discount code field.

Original

Replacement

Options