Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
litespeed_wiki:cache:litemage:troubleshooting:pop-ups-not-appearing [2016/05/09 19:04] Long Hu |
litespeed_wiki:cache:litemage:troubleshooting:pop-ups-not-appearing [2016/05/09 19:34] Long Hu |
||
---|---|---|---|
Line 3: | Line 3: | ||
**Problem**: When using LiteMage in conjunction with a JS/CSS Compressor (such as the [[http://potatocommerce.com/compressor.html|PotatoCommerce Compressor]]), some pop-ups, such as the list of items contained in a customer’s shopping cart, does not appear when being moused over. | **Problem**: When using LiteMage in conjunction with a JS/CSS Compressor (such as the [[http://potatocommerce.com/compressor.html|PotatoCommerce Compressor]]), some pop-ups, such as the list of items contained in a customer’s shopping cart, does not appear when being moused over. | ||
- | **Cause**: JS/CSS Compressors compresses LiteMage Cache extension(Magento side) output and create, store a separate file. The shopping cart here is a private block, LiteMage punches a hole there. LiteMage Cache(Server side) didn't expect the compression and so didn't process the ESI block correctly. Because of this, when you mouse over the cart, javascript will not be properly triggered and nothing will be displayed. | + | **Cause**: The shopping cart here is a private block, LiteMage punches a hole there. JS/CSS Compressors compresses LiteMage Cache extension(Magento side) output separately. This causes some variables in other blocks and this block not consistent after compression and so have problems at browser side. Because of this, when you mouse over the cart, javascript will not be properly triggered and nothing will be displayed. |
**Solution**: You must either disable such compressors or move/remove the javascript from the template (phtml) of the hole-punched block; for example, the minicart template in | **Solution**: You must either disable such compressors or move/remove the javascript from the template (phtml) of the hole-punched block; for example, the minicart template in | ||
design/frontend/.../template/checkout/cart/minicart.phtml, | design/frontend/.../template/checkout/cart/minicart.phtml, | ||