Closed

Improving shopping cart fanctions

This project received 12 bids from talented freelancers with an average bid price of $166 USD.

Get free quotes for a project like this
Employer working
Skills Required
Project Budget
$30 - $250 USD
Total Bids
12
Project Description

Thanks for visiting.

Here we want to improve shopping cart functionality by making small task as below.

We estimate the task as 3 hours work for php, java expert.

Please confirm the brief detail and conditions as below.

Feel free to ask.

---------------------------------------

Condition

---------------------------------------

Only access through online file manager ( ajaxplorer ) is available. ( no ftp )

We only allow you to access limited file.

We require your ip address to list in htaccess

No database access

---------------------------------------

Task Detail

---------------------------------------

shopping cart:

we want to block and alert message when buyer tries to proceed check out under following circumstances on shopping cart page

1. items are from more than 2 different vendors

2. item has 0 quantity of its latest data

3. unable to hack

References:

item data structure in cart

$sCartItem = $iVendorId . '_' . $iModuleId . "_" . $iItemId . "_" . $iItemCount;

define item’s the latest quantity

$itemQuantity = SELECT stock_num FROM store_product_files WHERE id=$iItemId

WRITTEN CODE [url removed, login to view] (not working)

$('#items_from___vendor_id__').submit(function() {

alert('Handler for .submit() called.');

return false;

});

function checkvendors()

{

var values;

var tmpvender=0;

$('.pmt-item input[@type=checkbox]:checked').each(function(){

var str=$(this).attr('value').split('_');

var vendor_id=str[0];

if(tmpvender >0 && vendor_id >0){

if(tmpvender != vendor_id){

//[url removed, login to view] ="[url removed, login to view]";

alert("<bx_text:_payment_err_one_vendor />");

$("#items_from___vendor_id__").attr('action',"cart");

return false;

}

}

tmpvender=vendor_id;

$('#vendor_id').attr("value",tmpvender);

//alert($(this).attr('value').substring(0, 1));

});

if(tmpvender ==0){

alert("<bx_text:_payment_err_one_vendor />");

$("#items_from___vendor_id__").attr('action',"cart");

return false;

}

//[url removed, login to view]()

}

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online