Shipping Module + Validator

Before initial shipping price calculation it should say: "Calculate" instead of 0.00. (I built it to do it before, gone now


We now add Eight (8) new values to array for each item. Explanation below.

Each item has four shipping methods: Standard Shipping, 2-day shipping, Overnight shipping, and International shipping.

For each item we will define shipping prices for each method in array. Allow a blank (undefined) option. For example if blank

where value for "Overnight Shipping" belongs then item has no "Overnight Shipping" option.

If conflict in option availability exists because multiple items in cart that have different options avaiable then we need

"shipping method" dropdown for each product in cart, each located right after the product it is for and right before the next item

in cart. If conflict exists group "shipping method" for items with same shipping options available. If screenshot requested to

avoid confusion I will create.

As in normal shopping carts, all shipping prices for each item should be multiplied by relevant item quantity in the cart.

Shipping option dropdown should be updated to show total shipping price for all items in cart. For example: "Standard Shipping

($totalAllCartIemsShippingPrice)". if $totalAllCartIemsShippingPrice == 0, show "FREE"

As you have seen by now CUSTOM is a number field that needs to be sent to paypal/on-site checkout. To calculate final CUSTOM to

send to paypal/on-site checkout we have to add all CUSTOM number values of all items being bought (if multiple quantity, multiply

CUSTOM appropriatly). For example, Cart has: 2x Headliner Replacement Kit @ 12.33 CUSTOM 1x Adhesive @ 1.55. Total CUSTOM to send:

(12.33 * 2)+(1.55 * 1)=26.21.

Just as we add four new shipping price values, now each item also should have four CUSTOM values.

1x if Standard Shipping is selected

1x if 2-day shipping is selected

1x if Overnight shipping is selected

1x if international shipping is selected

*remember the final CUSTOM value that we send is CUSTOM(based on item and shipping method chosen)*QUANTITY + CUSTOM*QUANTITY of

other.

Total new values added to array: 1x Standard Shipping price value, 1x 2-day shipping price value, 1x Overnight shipping price

value, 1x International shipping price value, 1x CUSTOM value if Standard Shipping selected, 1x CUSTOM value if 2-day Shipping

selected, 1x CUSTOM value if overnight Shipping selected, 1x CUSTOM value if International Shipping selected = 8 new values.

Javascript validator (please no heavy library, simple regex verify)

1) Make sure all fields are filled up

2) Make sure fields are right format (i.e. email format)

Evner: Javascript

Se mere: regex example, paypal library, calculate availability, c 11 standard library, shipping module for, regex library, calculate quantity, dropdown multiple fields, calculate shipping, custom value calculation, replacement cart, email validator, shopping cart international shipping, simple shopping cart javascript, simple calculation javascript, simple javascript shopping cart, cart international shipping, simple cart send email, option price calculation, javascript replacement, dropdown module, custom product javascript example, validator example, simple cart javascript email checkout, checkout email javascript

Om arbejdsgiveren:
( 35 bedømmelser ) miami, United States

Projekt ID: #4117173

Tildelt til:


As discussed :)

$30 USD in 999 dage
(20 bedømmelser)