Hi,
The issue is caused by
PHP's Magic Quotes.
This is a correct coupon element after you design:
{"qrcode":{"size": "150","top": "170","left": "187","visible": "true"},"couponcode":{"width": "100","height": "100","top": "217","left": "306","fontsize": "20px","align": "center","visible": "true"},"recipient":{"width": "100","height": "100","top": "315","left": "77","fontsize": "20px","align": "center","visible": "true"},"option":{"width": "100","height": "100","top": "85","left": "604","fontsize": "20px","align": "center","visible": "true"},"shortdesc":{"width": "100","height": "100","top": "213","left": "364","fontsize": "20px","align": "center","visible": "true"},"highlights":{"width": "100","height": "100","top": "108","left": "499","visible": "true"},"terms":{"width": "100","height": "100","top": "250","left": "293","visible": "true"},"couponexp":{"width": "100","height": "100","top": "101","left": "388","fontsize": "20px","align": "center","visible": "true"}}
However after you save the configuration, it becomes:
{\"qrcode\":{\"size\": \"150\",\"top\": \"170\",\"left\": \"187\",\"visible\": \"true\"},\"couponcode\":{\"width\": \"100\",\"height\": \"100\",\"top\": \"217\",\"left\": \"306\",\"fontsize\": \"20px\",\"align\": \"center\",\"visible\": \"true\"},\"recipient\":{\"width\": \"100\",\"height\": \"100\",\"top\": \"315\",\"left\": \"77\",\"fontsize\": \"20px\",\"align\": \"center\",\"visible\": \"true\"},\"option\":{\"width\": \"100\",\"height\": \"100\",\"top\": \"85\",\"left\": \"604\",\"fontsize\": \"20px\",\"align\": \"center\",\"visible\": \"true\"},\"shortdesc\":{\"width\": \"100\",\"height\": \"100\",\"top\": \"213\",\"left\": \"364\",\"fontsize\": \"20px\",\"align\": \"center\",\"visible\": \"true\"},\"highlights\":{\"width\": \"100\",\"height\": \"100\",\"top\": \"108\",\"left\": \"499\",\"visible\": \"true\"},\"terms\":{\"width\": \"100\",\"height\": \"100\",\"top\": \"250\",\"left\": \"293\",\"visible\": \"true\"},\"couponexp\":{\"width\": \"100\",\"height\": \"100\",\"top\": \"101\",\"left\": \"388\",\"fontsize\": \"20px\",\"align\": \"center\",\"visible\": \"true\"}}
Magic Quotes automatically adds slashes before quotes.
You should disable Magic Quotes on your server, if you can contact your hosting provider for support.
Since Joomla 3, Joomla is not running if Magic Quotes is on on server (
docs.joomla.org/Magic_quotes_and_security).
Regards,
Hung