| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Duplicating 'ask a question' functionality and failing | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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 |
|||||||
#2
|
|||||||
|
|||||||
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.
__________________
X-Cart GOLD Plus v4.5.4 CDSEO Pro ewdhosting Dedicated Server Dedicated SSL Stone Edge OM |
|||||||
|
|||
X-Cart forums © 2001-2020
|