Duplicating 'ask a question' functionality and failing
Can you explain the secret of building emails within X-Cart to me?
I want to duplicate the popup form for 'Ask a question about this product' so I started by copying popup_ask.php, renaming it and then doing the same for all files in the call tree, i.e.:
copying and renaming customer/main/ask_question.tpl
copying and renaming mail/ask_question.tpl
copying and renaming mail/ask_question_subj.tpl
copying and renaming mail/html/ask_question.tpl
Within product_details.tpl I included the call to the my version of popup_ask.php.
When I click on my new link on the product page my new form appears but when I submit the email contains the fields for the original Ask a question form.
I am content that all my code changes are correct for the client side but I suspect that x-cart is indexing something that I'm not aware of.
Any suggestions?
__________________
X-Cart GOLD Plus v4.5.4
CDSEO Pro
ewdhosting Dedicated Server
Dedicated SSL
Stone Edge OM
|