| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Form processor : how to... | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
Hello,
Does anyone know if form processor can be implemented in 3.5.x similar to Contact Us? I want to create form for RMA (return merchandize authorization) just like Contact Us form but with different field names, validation and stuff, and I want to keep Contact Us form. Could you please point me to what files needs to be edited/added to create additional processing form. thank you |
|||||||
|
#2
|
|||||||||
|
|||||||||
|
You can do this if you understand php and smarty. Just use the contact us form as a template for what you want to do.
Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
|
#3
|
|||||||
|
|||||||
|
I've tried to use contactus form as a template, but the system simply doesn't recognize new template!?
I want to make "user_testing_survey.tpl", and I assume that I have to do something with the following part of the code... Quote:
....and to change "contactus" to "user_testing_survey". But, of course, nothing happens. What else do I need to do (beside changing fields, which I know how to do). Can somebody help me? Regards, Ivan |
|||||||
|
#4
|
|||||||||
|
|||||||||
|
Smarty will also need to know which template to display. If you're trying to show something on the customer side, look in skin1/customer/home_main.tpl There you will need to put similar code to this:
{elseif $main eq "user_testing_survey"} {include file="path_to/user_testing_servey.tpl} Hope that helps. Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
|
#5
|
|||||||
|
|||||||
|
Since it all happens in HELP section, I did what you suggested, but in index.tpl file of HELP section.
I added: Quote:
And it works!! Thanks a lot... |
|||||||
|
#6
|
|||||||||
|
|||||||||
|
Great. Glad you got it figured out.
Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||