Code change on a button

Cancelled Posted Jan 12, 2012 Paid on delivery
Cancelled Paid on delivery

I need to change the code below to instead of adding the product to the cart it will select a link from the database in a column called "products url" (this is already in my d/b) based on the "products_id" (each item has its own unique url in the column "products_url") so basically taking the customer to that url also.

if someone can give me an estimate we will agree pay you (through escrow or something like that) and you can email the code we will test it and release the funds.

This is very time sensitive.

// customer adds a product from the products page

case 'add_product' : if (isset($HTTP_POST_VARS['products_id']) && is_numeric($HTTP_POST_VARS['products_id'])) {

$attributes = isset($HTTP_POST_VARS['id']) ? $HTTP_POST_VARS['id'] : '';

$cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $attributes))+1, $attributes);

}

tep_redirect(tep_href_link($goto, tep_get_all_get_params($parameters)));

break;

PHP

Project ID: #1384699

About the project

5 proposals Remote project Active Jan 12, 2012

5 freelancers are bidding on average $251 for this job

tonykim100

Hello, I am ready to start now. Thanks.

$250 USD in 1 day
(113 Reviews)
6.1
himanshusofttech

Hi, lets start

$250 USD in 1 day
(39 Reviews)
5.8
joseluisCC

I can start now

$250 USD in 1 day
(8 Reviews)
4.3
AKSolutions

Hello Sir, Please check for estimation and cost in your message inbox.

$255 USD in 1 day
(7 Reviews)
4.2
christoph198

Hi, We at Advice @Home have over 5+ years of experience with PHP programming combined with mySQL. This should be a very easy project for us to complete. If you give us the job, we will make sure that you are 1 More

$250 USD in 2 days
(0 Reviews)
0.0