Contributions
Free Shipping with Zero Weight
This contribution is to solve a problem that happens with items that cannot be shipped, such as a class or item for pickup only. This is an easy update to two files that is installable on any basic OSC installation. It should work with all shipping modules, but has only been tested on USPS (single module, not accompanying any other).
This contrib updates the checkout_shipping.php file so that it will not show the shipping choices if the items being purchased are not to be shipped. If no items are to be shipped then the confirmation page will show the default shipping choice but it will have $0.00 shown for the shipping cost. This is to verify with the customer that no shipping is being aded to the total cost of the product(s).
This contrib is different than some of the other free shipping contribs in the fact that a customer can purchase an item that has free shipping and he/she can also purchase other items that do not have free shipping without incurring extra shipping from the items without shipping.
To control this feature the administrator only needs to input a 0 or negative number in the product's shipping weight. This will make the program assume that there is no shipping cost for these items.
The following two files should overwrite the ones in their respective directories only if these files have not been changed already.
Expand All / Collapse All
Added changed lines to the readme file. This should help any developers that wish to incorporate my code into their own projects.
O download da contribuição abaixo da pra usar pra quem não tem modificações no shopping_cart e no includes/classes/shopping_cart.php,se você tiver alguma modificação você vai precisar do winmerge para alterar os arquivos,resolvi postar uma nova contribuição com um leia-me explicando as alterações em portugês e em inglês.
para suporte em portugês Brasil visite:
www.omeunuke.com
by marcelo_73 moderador
===========================================
great for products with free shipping
instructions in English and Portuguese
Tanks too Buckwheat469
This contribution is to solve a problem that happens with items that cannot be shipped, such as a class or item for pickup only. This is an easy update to two files that is installable on any basic OSC installation. It should work with all shipping modules, but has only been tested on USPS (single module, not accompanying any other).
This contrib updates the checkout_shipping.php file so that it will not show the shipping choices if the items being purchased are not to be shipped. If no items are to be shipped then the confirmation page will show the default shipping choice but it will have $0.00 shown for the shipping cost. This is to verify with the customer that no shipping is being aded to the total cost of the product(s).
This contrib is different than some of the other free shipping contribs in the fact that a customer can purchase an item that has free shipping and he/she can also purchase other items that do not have free shipping without incurring extra shipping from the items without shipping.
To control this feature the administrator only needs to input a 0 or negative number in the product's shipping weight. This will make the program assume that there is no shipping cost for these items.
The following two files should overwrite the ones in their respective directories only if these files have not been changed already.
Note: Contributions are used at own risk.