Find Jobs
Hire Freelancers

Code change on a button (add to cart)

$30-250 USD

In Progress
Posted over 12 years ago

$30-250 USD

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;
Project ID: 1384745

About the project

2 proposals
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello ! I can help you out with your osC add-to-cart button. I am free now. Thank you !
$30 USD in 0 day
5.0 (97 reviews)
6.8
6.8
2 freelancers are bidding on average $40 USD for this job
User Avatar
Please check the details in pmb.
$50 USD in 1 day
5.0 (7 reviews)
4.2
4.2

About the client

Flag of UNITED STATES
Los Angeles, United States
5.0
1
Payment method verified
Member since Jan 4, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.