The vB Geek

Go Back   The vB Geek > vB Geek Products > GeekMart

GeekMart GMart is an integrated shopping cart system for vBulletin.

Advertisement
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #11  
Old 12-19-2005, 06:58 PM
greg watson's Avatar
greg watson greg watson is offline
Member
 
Join Date: Aug 2005
Posts: 69
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

Quote:
Originally Posted by The Geek
Ive been pouring over the code and tweaking the last few days. Ill have to double check when I get home - however what is going to be difficult is getting each item code, price and quantity.
By the time you are at paypal mode, the order is wrapped up and the lines are not directly availible.
That just looked like the most convenient place to me ...

Quote:
In other words, if you buy 2 items, are you supposed to do 2 tracking lines?
It would be helpful ... The code can actually be put in earlier in the order process when items are added to the cart ... but there really needs to be an "order Id" created that early in the process ....

The most critical thing for me is to be able to match up an order ID ... I can match up 2 "add products" tracking lines to one order payment tracking line just fine as long as I have an Order ID ...

For me ... the added value of having an Order ID early ... is that I can setup an affiliate program to pay different commissions on different product items. For example, if we use Geek Products as an example ... we could setup the GMart product ID to have a 75% commission, GAL to have a 50% commission, and GARS to have a 25% commission ...

So if I can put the tracking code in earlier in the order process back when an item is added to a cart ... the affiliate program will be able to track individual items, calculate an individual commission by product ... and then ... when payment is received "approve" the sale ... and pay the appropriate commission ...

I looked at the GMart templates ... I don't know which templates are used earlier in the process ...

Does that help any?

Greg
Reply With Quote
  #12  
Old 12-19-2005, 07:02 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

hmmm, a bit - sorry for being do vauge - im just trying to get my head around what youre asking for.

The orderid is created when the user buys. Beofr that, there is only a cartid (which I used to use for the orderid, but thats a different story!).
Anyway, im wondering if a module would work for you.

Is is a visible image that has to be displayed or is there some other way to communicate to them?
Reply With Quote
  #13  
Old 12-19-2005, 07:12 PM
greg watson's Avatar
greg watson greg watson is offline
Member
 
Join Date: Aug 2005
Posts: 69
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

Quote:
Originally Posted by The Geek
hmmm, a bit - sorry for being do vauge - im just trying to get my head around what youre asking for.
It's always tough to merge programming terms with operational terms with marketing terms with etc etc etc. ... <grin> ...

Quote:
The orderid is created when the user buys. Beofr that, there is only a cartid (which I used to use for the orderid, but thats a different story!).
That's not suprising <grin> ...

Quote:
Anyway, im wondering if a module would work for you.
Since whatever your definition of "module" is probably has no relationship to what my definition of "module" is <grin>... my answer would be no ...

I've installed this affiliate software is about five shopping carts ... it is one of the absolute simplest integrations I've ever had to do ...

The only real hard part is to figure out "where" to insert the code in the process and "what" the variables are to substitute ...

Quote:
Is is a visible image that has to be displayed or is there some other way to communicate to them?
There is no actual image shown ... the image tag is just used as a way to pass the variables to the affiliate software ... its an ingeniously simple solution ...

Customer adds product X to the cart cart ... an image tag is called which passes the order id, the product id, the price, and the quantity to the affiliate program ...

i.e. this:

Quote:
<img src="http://www.assoctrac.com/12345/track/sale/

?order=order_id;desc_1=product;price_1=price;qty_1=quantity;commit=0>
If the customer abandon's the shopping cart ... this dead data just sits in the database and nothing gets done with it ...

If the customer checks out through the shopping cart and pays ... then the payment thankyou screen calls an image tag which passes the order id, and the amount to the affiliate program ...

i.e. this:

Quote:
<img src="http://www.assoctrac.com/12345/track/sale/?order=order_id;commit=1>
Ingeniously simple ...

Greg

Last edited by greg watson; 12-19-2005 at 07:17 PM..
Reply With Quote
  #14  
Old 01-05-2006, 05:00 AM
greg watson's Avatar
greg watson greg watson is offline
Member
 
Join Date: Aug 2005
Posts: 69
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

Quote:
Originally Posted by The Geek
12-15-2005 , 02:14 AM ill have to pop open the code tonight and have a look during those processes.
Have you had a chance yet to look up what variables you use for:
  • order_id
  • product
  • price
  • quantity

If you can just give me the variable names ... I'll test ...

Thanks,
Greg
Reply With Quote
  #15  
Old 01-05-2006, 09:59 AM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

The problem is that you cant access them as such there, so I retweaked the code to enable you to.

I have a new update on GM where I added the ability to grab this information at process time. However there are several other additions that require more testing before I can release it - and im investigating a couple other bugs. SHould have something soon.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is tracking working? KenDude Geek Gazette 6 07-04-2009 01:35 PM
Amazon Affiliate / Custom Field interfx Geek Article and Review System 11 05-22-2007 12:57 PM
Affiliate links Richy Geek Auto-Linker 3 04-20-2006 01:52 PM
Question about putting in Amazon Affiliate images in Article The Ottoman Geek Article and Review System 2 02-22-2006 03:03 PM
Impression tracking KirbyDE Geek Auto-Linker 3 12-28-2005 10:22 PM


All times are GMT. The time now is 10:32 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.