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? |
Re: Duplicating 'ask a question' functionality and failing
Additional:
I can see that dispite calling func_send_mail with the new mail templates the email is built using the ask_question templates. I know I'm not the first to get stuck on this issue so any help will be appreciated. |
All times are GMT -8. The time now is 06:20 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.