Market - Premium and Optimized Magento Theme (35+ Indexes)
Our Feature Items: SM Market // SM AutoStore // SP Revo
Shopping cart (0)
NOTE: OpenCart & WordPress Support

For OpenCart, Shopify products, please submit your questions here

For WordPress products, please submit your questions here

We may be experiencing slight delays in customer response times because of the outbreak of the coronavirus.

We are doing everything we can to ensure that you get a reply as quickly as possible. Please accept our sincere apologies and thank you for understanding.

We are here to serve :)

Our support team is currently online to solve your issues.

Our support team is currently offline

Our support heroes might not be around this hour. Please expect some delays.

Our support is available from

Monday - Friday 8am - 5:30pm GMT+7

Your time: 00:00:00
Our time: 00:00:00
Welcome, Guest

Theme not compatible with prototype
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Theme not compatible with prototype

Theme not compatible with prototype 8 years, 11 months ago #4974

We have installed a VAT module which uses the magento build in javascript-framework prototype. In magento default layout the module is fine and works as expected.

If we use amaz-layout, prototype-functions of this module don't work anymore.

To reproduce this use the following code and paste it on any magento page:

<div id="vatLoader">I am a test</div>
<script type="text/javascript">
// <![CDATA[
document.observe('dom:loaded', function() {$('vatLoader').hide();});
// ]]></script>

If you load the magento page and don't see the text, prototype works right and hides the text as expected. If you can see the text, prototype is broken.

On pages with default-layout, the text is hidden correctly. On pages with amaz-layout, the text shows up.

Please tell us how to fix this problem.

Re: Theme not compatible with prototype 2 months ago #52476

Had the same problem as well. I think It would be better to turn to StartupCraft and get custom Blockchain, web, and app development for startups from scratch.
  • Page:
  • 1
Time to create page: 0.12 seconds
Joomla TemplatesFree Joomla TemplatesVirtuemart TemplatesK2 TemplatesJoomShopping TemplatesHikaShop TemplatesSobiPro TemplatesOpenCart Themes
Quà Tết Cao Cấp Hộp quà tết Giỏ quà tết Túi quà tết