Forums / All Other Contributions/Addons / Contribution: Addng VTiger "Leads" into ZenCart

Contribution: Addng VTiger "Leads" into ZenCart

Locked

Views: 3,637

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
19 Jun 2007, 6:22 PM
#1
bob_p avatar

bob_p

New Zenner

Join Date:
Jun 2007
Posts:
13
Plugin Contributions:
0

Contribution: Addng VTiger "Leads" into ZenCart

Ok, so I am working on this site for a buddy of mine, and he needs a CRM badly :) I have been trying to figure out how to get the lead form embedded into the CRM Lead Form (VTiger calls it WebForms) into the ZenCart framework. This is ROUGH, but comments welcome :)

  1. Create a folder in / called "addons/vtiger/"
  2. unpack the vtiger zip file into "addons/vtiger/leads/"
  3. Edit the index.php to include the new path:
<form method=post action="addons/vtiger/leads/send_data.php">
<input type="hidden" name="create" value="lead">

<table width="50%" align="center">
    <tr>
       <td align="left"><h3>Lead Details</h3></td>
       <td width="75%"><hr width="100%"></td>
    </tr>
</table>
  1. Then copy all the text, and use the Define Pages Editor to copy the entire index.php into one of the pages (I used page_2, but any should work).
  2. NOTE Every time you open the Define Pages Editor and try to open page_2, it will truncate part of the page. Just make sure you save a copy of it, and cut and paste the entire thing every time.
  3. Customize the actual content so it reads the way you want it :I hope that you find this useful, I am sure that this is a bad hack, but it works nonetheless :)

Bob

4 Dec 2007, 6:49 PM
#2
matteoraggi avatar

matteoraggi

New Zenner

Join Date:
Mar 2007
Location:
italy
Posts:
92
Plugin Contributions:
0

Re: Contribution: Addng VTiger "Leads" into ZenCart

where I can found the vtiger zip file?
I could use the webform on the "detail product page" for ask of quotations?I was thinkking to track refer url to see from which product LEAD is coming, is this possible?
I need to do this on a zen cart ecommerce, example:
http://www.estufe.com/index.php?main_page=product_info&products_id=255

8 Dec 2007, 5:20 PM
#3
matteoraggi avatar

matteoraggi

New Zenner

Join Date:
Mar 2007
Location:
italy
Posts:
92
Plugin Contributions:
0

Re: Contribution: Addng VTiger "Leads" into ZenCart

Your answer is super, and I'll try soon as possible to develop it quickly with a developer, but how to track the referrer url to know from which url people was coming to fill form, to undestand for wich product people ask price to me?