BW Shop

THIS PAGE HAS NOT BEEN COMPLETED BUT PROVIDES AN OUTLINE OF FUNCTIONALITY

This plugin is dependent on BW Database, BW Session, Currency, Emailer and only currently supports BW PayPal for payment processing (WorldPay and SagePay coming soon).

You can configure this to easily manage a shop at a core level. It will generate tables to your specification, handle products and baskets as well as integrating with other plugins to easily process payments. It can also manage digital content by providing a completely customisable process to allow purchasers to retrieve content using unique keys which will expire. You could even use the system to provide free downloadable content or set your release date enabling sales while preventing early downloads.

You can post to /bwShop/comms?type=REQUEST_TYPE where REQUEST_TYPE is 'add' (include POST variables prodCode, opCode and qty) or 'process'.

config/config.php

 
$php_plugins = array(
	"all"=>array("bwShop")
);
	 

/php/plugins/bwShop/config/config.php

 

/php/plugins/bwShop/config/download-page.php

 

/php/plugins/bwShop/config/downloadLink.php

 

/php/plugins/bwShop/config/orderEmail.php

 

Example Usage