Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

  • 6 years later...
Posted

i don't know if this topic is still active, but I downloaded the file for the Individual Product Payment Methods and followed instructions as far as code changes go (with one exception).

 

I could not find this section in catalog/admin/categories.php

 

 

Find:

 

echo tep_draw_hidden_field('products_image', stripslashes($products_image_name));

 

Below it add:

 

// INDIV_PM BEGIN

if(is_array($_POST['payment_methods'])){

foreach($_POST['payment_methods'] as $val){

echo tep_draw_hidden_field('payment_methods[]', $val);

}

}

// INDIV_PM END

 

Other than that, everything was fine.

 

I enabled COD in the store and edited the product to COD only, but on checkout, the store still takes the buyer to Paypal.

 

Is this missing piece of code the deciding factor and if so, can anyone suggest how I find it? or perhaps how to direct the buyer to complete the transaction as COD?

 

Thank you

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...