Kleine bug in Magento 1.6.2.0 - Problemen bij gebruiken van custom variables in nieuwsbrief template
De afgelopen dagen liep ik tegen een probleem aan waar ik in eerste instantie Aheadworks' Advanced Newsletter de schuld voor gaf. Ik probeerde Magento custom variabelen te gebruiken in emailtemplates, maar bij het previewen in advanced newsletter kreeg ik een blanke pagina voorgeschoteld en bij het verzenden van testemails ontving ik lege mailtjes.
Het probleem bleek echter niet afkomstig te zijn van deze third-party module, maar een foutje te zijn in Magento. Wanneer je namelijk een tweede store view (winkelaanzicht) aanmaakt, is het probleem - dat overigens ook voorkomt in de standaard nieuwsbrief module - per direct opgelost. Dit is eenvoudig te testen met de newsletter template preview functionaliteit; als die werkt, werkt je email ook. In ons geval is een tweede winkelaanzicht niet echt een oplossing, maar mocht dit geen bezwaar voor je zijn dan is dit een prima fix. Ik heb de bug inmiddels bij Magent gerapporteerd, dus hij zal in de volgende versie waarschijnlijk opgelost zijn!
Update [FIX]: Heb het probleem en een betere oplossing gevonden. Maak een kopie van /app/code/mage/Mage/Newsletter/Model/Template.php naar /app/code/local/Mage/Newsletter/Model/Template.php en zoek de method getProcessedTemplate op. Verwijder of commend regel 206:
There is a small bug in Magento 1.6.2.0 when using custom variables (system > custom variables) in newsletter templates. When you use them, you'll discover that emails are send completely empty and when you preview the template from the queue, you'll see that the preview also gives a blank page. I don't know exactly where the problem lies, but I discovered that when I add an extra store view, the problem is solved instantly. I've already reported the bug, so hopefully it will be fixed in the next release. In the meanwhile, use the fix stated above.


LiQcrX,
People in the whole world order the already written essays or custom essays at the writing service reffering to this post. The students heard about the essay writing from the writing services.
When you buy essay papers at professional academic papers writing firms, you can be sure that you are completely safe.
is the script updated for 1.6? anyone tried?
i put this code in product description view.phtml file 87 num line and it works very nice
Do not want to be frustrated anymore? Have complex research papers to compose? Don’t realize even how to begin? Do not worry so much and just buy cheap custom term paper!