Hello,
I am trying add link "Ask a question about this product" in my mobile skin template.
I added following code in product_details.tpl in mobile skin template.
HTML Code:
<div class="ask-question">
{include file="customer/buttons/button.tpl" button_title=$lng.lbl_ask_question_about_product style="link" href="javascript: return !popupOpen(xcart_web_dir + '/popup_ask.php?productid=`$product.productid`')"}
</div>
The link is appearing on product page now but it's not opening the popup window
is there any javacript code needs to be apply before </head> ?
Bcoz google chrome console display following error
HTML Code:
Uncaught ReferenceError: popupOpen is not defined
at HTMLAnchorElement.onclick