
Posted by Michael on 25/01/2009 13:39
Leave a comment
5 comments
Following on from the article about Shipping and Tax calculations last week, Packt Publishing have also released an article about Managing Discounts, Vouchers and Referrals with PHP 5 Ecommerce, based on some of my latest book, PHP 5 E-Commerce Development.
The article discusses how to design and implement a discount code feature within an e-commerce system, how to extend this to create purchasable gift voucher codes, and discusses integrating referral management too.
I just purchased your book and while waiting for the hardcopy to arrive I am reading the e-book version and have a question. I want to get the example running on my local host machine but I can not get it to run. How do I assemble the code snippets in 9645_code into a usable example? Thanks!
Hi there, I received info about your new book, and wanted to know if the reference to MVC means you use an existing MVC such as CakePHP or Symfony, or if it means that the e-commerce that is designed is an MVC creation ? TIA, Dave ps I e-mailed this question to the publisher as well !
Joe: It should be a case of putting the contents of the zip file into your localhost www folder. After writing each chapter I'd zip up my working code folder, and send it over. You may need to edit the config details (either in index.php or conf.php).
Dave: The e-commerce system is designed as an MVC creation.
I've emailed you both copies of these replies.
Thanks for getting back Michael - have purchased the book and taken a browse through and it all looks very complete and thorough! Well done - can't wait to get my teeth into it ! One thing, I downloaded the source code and noticed that chapter 13 ( administration ) is missing ? Regards, Dave Porter
Hi Dave (I did email you - but it bounced back). There isn't included source code for chapter 13. Administration is a book in itself, so that chapter was more a "primer" to creating an admin area. I am thinking about releasing a basic administration area in a month or so as an "extra" for readers.
Comments