Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OSC-Affiliate


henri

Recommended Posts

Paying a set amount per sales as aposed to a percentage is very possible, I wrote a contribution that does exactly that, although my contribution runs along side osCommerce and not from with-in it, it requires only two lines of code added to the osCommerce pages, which is all expalined in the files...

 

http://www.oscommerce.com/community/contri...earch,affiliate

 

This has been tested and works perfectly.

 

If anybody has a problem with my contribution just email me for help...

 

:rolleyes:

Stewart, Ive been having trouble with your 1stOSC AFFILIATE version. I receive error messages when I add in the line <?PHP include "check1.php"; ?> to my post-checkout file. An yes, I did rename check1.php into something more illusive. Im not sure exactly where I am supposed to be adding this line, or in what file exactly. Is it the checkout_success.php file, or the checkout_complete.php file? Checkout_success is my customer return page upon completion of a purchase by a customer. Ive tried both files, so ether way, I receive error messages. You say to add it at the top of the page above all code. Do you mean to say that I am to add this above the opening <?php tag? Or is <?PHP include "check1.php"; ?> supposed to replace the <?php ...?

 

Many thanks,

 

John

Link to comment
Share on other sites

Hi!

 

Snowman .. have you thought of giving affiliates chance to use RSS or XML possibilities of adding products to their page?

 

this way they don't have to worry if product is still available .. or is there any new one?

 

.. just thinking :) maybe in new version :)

Link to comment
Share on other sites

Hi!

 

Snowman .. have you thought of giving affiliates chance to use RSS or XML possibilities of adding products to their page?

 

this way they don't have to worry if product is still available .. or is there any new one?

 

.. just thinking :) maybe in new version :)

The easy part is creating the rss feed. The hard part is supporting the affiliates that think they know what they are doing.

 

You can view the feed at http://www.pawstoshop.com/rss.php?ref=3.

The ref variable gets passed to the product links and I have it setup to display my top 20 best sellers.

I would like some feedback before I release it to the world.

 

Thanks,

Robert

Link to comment
Share on other sites

I would like to have a default affiliate that receives the commissions for any direct visits to my site.

 

So, if the URL coming in doesn't have a ?ref=xxxx , I'd like for it to default to, for example, affiliate #1.

 

Looking at making a change in affiliate_application_top.php to assign a value to $affiliate_ref somewhere around here:

 

  if (!$HTTP_SESSION_VARS['affiliate_ref']) {
   tep_session_register('affiliate_ref');
   tep_session_register('affiliate_clickthroughs_id');
   if (($HTTP_GET_VARS['ref'] || $HTTP_POST_VARS['ref'])) {
     if ($HTTP_GET_VARS['ref']) $affiliate_ref = $HTTP_GET_VARS['ref'];
     if ($HTTP_POST_VARS['ref']) $affiliate_ref = $HTTP_POST_VARS['ref'];

 

but I'm not experienced or confident enough to take this on.

 

Any suggestions? Has anybody done this already?

"If the facts don't fit the theory, change the facts." - Einstein

Link to comment
Share on other sites

I am using OSC2NUKE...

 

and none of our Affiliate links work except the main in the general config.

 

For this error in the catalog admin as referenced above I found part of the the fix... I simply commented out the "includes/"

 

der... Smile

 

so it went from this (~line 240):

 

// Include OSC-AFFILIATE

require('includes/affiliate_application_top.php');

// End OSC-AFFILIATE MOD

 

to this:

// Include OSC-AFFILIATE

require('affiliate_application_top.php');

// End OSC-AFFILIATE MOD

 

And it fixed the Left column text link error (althought they goto dead pages) and the icon navigation admin stuff is still broken so now when I click the 2 links I get this error on a new page

Sorry, such file doesn't exist...

 

The 2 text links in the left column that t's trying to go to are:

https://[domain].com/osc2nuke/modules.php?name=catalog&file=FILENAME_AFFILIATE_

and

https://[domain].com/osc2nuke/modules.php?name=catalog&file=affiliate_affiliates

 

 

and the links it's trying to goto under the osc2nuke > catalog (icon admin page) where it says

BOX_HEADING_AFFILIATE

BOX_AFFILIATE, BOX_AFFILIATE_BANNERS

 

are

https://[domain].com/osc2nuke/modules.php?name=catalog&file=FILENAME_AFFILIATE_SUM&selected_box=affiliate

and

https://[domain].com/osc2nuke/modules.php?name=catalog&file=FILENAME_AFFIL&selected_box=affiliate

and

https://remixstore.com/osc2nuke/modules.php...d_box=affiliate

Link to comment
Share on other sites

I try and goto OSC2Nuke Admin and I get this where you 'Choose an Action' where all the icons are:

 

I get the icon affiliate.gif

 

BOX_HEADING_AFFILIATE

BOX_AFFILIATE, BOX_AFFILIATE_BANNERS

 

In the actual contrib folder after unzipping we get the oscaffiliate folder. and an Admin and Catalog folder in that. in the catalog folder is a catalog and a CVS folder.

 

since this is OSC2Nuke where is this CVS support to go ?? up hierarchy up would be the modules folder.

 

Where does this other CVS folder go ???

Link to comment
Share on other sites

I just noticed a problem I am having with this mod. I have 4 banners setup for the affiliate to choose from. 2 are set to a product ID and 2 are setup to just go to our store index.

 

The problem is this, the 2 banners set with a product ID do not get displayed in the banners choices for the affiliate.

 

When I say that they are not there, I mean there is no choices at all for them, just the other 2.

 

Is there anyone else having this problem? Is the a fix?

L8r,

PopTheTop

 

Published osC Contributions:

- eCheck Payment Module v3.1

- Reviews in Product Display v2.0

- Fancier Invoice & Packingslip v6.1

- Admin Notes / Customer Notes v2.2

- Customer Zip & State Validation v2.2

- Search Box with Dropdown Category Menu v1.0

 

Pop your camper's top today!

It's a popup thing...

You wouldn't understand

Link to comment
Share on other sites

Hello,

 

I've installed the latest OSC Affiliate.

Seems the sales doesn't record in database since I isntalled it.

I did follow to instructions really and have no mistake.

Maybe there was some bug-fix available for that please.

 

thanks in advance

Link to comment
Share on other sites

Hello,

 

I've installed the latest OSC Affiliate.

Seems the sales doesn't record in database since I isntalled it.

I did follow to instructions really and have no mistake.

Maybe there was some bug-fix available for that please.

 

thanks in advance

 

Did you install the May 2004 package? If so, double-check your manual changes to see if you missed anything. Do you have other mods installed besides this one?

"If the facts don't fit the theory, change the facts." - Einstein

Link to comment
Share on other sites

  • 2 weeks later...

Maybe someone can offer a little advise.

 

I have never worked with an Affiliate Mod b4, and I want to install one on my currently heavily moded site.

 

I found this one in osc, and well,, not sure which one to download, so many different fixes for this and mod's for that.

 

Is there one package I need to get? or start at the bottom and build on it?

 

Thanks in advance

 

Tom

Link to comment
Share on other sites

Maybe someone can offer a little advise.

 

I have never worked with an Affiliate Mod b4, and I want to install one on my currently heavily moded site.

 

I found this one in osc, and well,, not sure which one to download, so many different fixes for this and mod's for that.

 

Is there one package I need to get? or start at the bottom and build on it?

 

Thanks in advance

 

Tom

 

Use my 2.02 release if your using the Milestone 2 release of osCommerce.

Link to comment
Share on other sites

Steve,

Thanks,, installed that,

got a few text problems within it, but I think I can pick them out.

 

I would love to see this mod in action somewhere though,, to be able to go see what text is supposed to be in those places,,

 

Thanks again for the advise.

 

Tom

Link to comment
Share on other sites

Go to http://www.popthetop.com/catalog/index.php - I have v2.03 installed.

L8r,

PopTheTop

 

Published osC Contributions:

- eCheck Payment Module v3.1

- Reviews in Product Display v2.0

- Fancier Invoice & Packingslip v6.1

- Admin Notes / Customer Notes v2.2

- Customer Zip & State Validation v2.2

- Search Box with Dropdown Category Menu v1.0

 

Pop your camper's top today!

It's a popup thing...

You wouldn't understand

Link to comment
Share on other sites

i a probleme,

Individual Commission

Pay Per Sale Payment % Rate

 

don't work, the number is saved but nothing change, this is default Commission configured in "Affiliate Pay Per Sale Payment % Rate" keeped.

 

sorry for english, i french!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...