We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Simple Commerce and Postage & Packaging

Development and Programming

Ian Ebden's avatar
Ian Ebden
312 posts
17 years ago
Ian Ebden's avatar Ian Ebden

Hi everyone - I’m a newbie to the Simple Commerce Module, and was wondering how people handle postage and packaging costs? After a quick scan of the docs, it looks like all you can add to an item is a price/sale price. My client delivers all over Europe and will need to add different P&P;costs.

       
ms's avatar
ms
274 posts
17 years ago
ms's avatar ms

That is beyond the scope of the SCM as installed out-of-the-box. The SCM is great for assigning a price (really two, one additional special offer price) and info on the availablity to a physical product and generates the code for the PayPal links/buttons based on that information. There are discussions on how to add different options to some products, but they are only passed as parameters and don’t change the price. Adding a variable P&P;part, verification of the amount paid via PayPal will not be very reliable, as the amount changes for the same product depending on the destination.

It might be possible to calculate different total prices through a JavaScript form depending on the destination, but then the PayPal links have to be modified as well - and you would need some mechanism to tell if the buyer has tempered with the PayPal links manually. It mostly depends on your setup and the number of products available if it is worth the effort to perhaps change the working of the SCM or bypass it completely.

The other way to go: PayPal links can be generated manually as well (and EE can help you a lot if you set up your custom fields for the produkcts clever). So, you might bypass SCM completly and don’t have to worry about another part of the SCM: that the buyer first has to register and login on the site before he can purchase and the SCM can record the sales. There are tools available (like Linklok IPN) that can be used as an IPN handler outside of EE to inform the customer about his sales.

.Markus

       
Ingmar Greil's avatar
Ingmar Greil
29,243 posts
17 years ago
Ingmar Greil's avatar Ingmar Greil

This wiki article might get you started.

       
Ian Ebden's avatar
Ian Ebden
312 posts
17 years ago
Ian Ebden's avatar Ian Ebden

Thanks guys. Looks like the Wiki example might be worth a shot.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.