Upon installing PHPurchase, you are probably filled with wonder and excitement at the freedom and flexibility this WordPress shopping cart plugin offers you in adding ecommerce to your site. You can basically drop an “add to cart” button anywhere, and even use custom button images, allowing you full control over the layout and presentation of your wordpress store. If, you find that your View Cart and Checkout links don’t work it’s probably because you renamed the store pages.
There is, however, one area of your site that it is critical you do not change. When you install PHPurchase, it creates the following pages:
- Store
- Cart
- Checkout
- IPN
- Receipt
In order for PHPurchase to work properly, you cannot rename or move these pages. It is also a good idea to exclude these pages from your navigation so people do not unintentionally click on them. This can be done through the theme’s settings page (if it has one) or using the “exclude_tree=” variable for a page query in your theme.
Note: Making the pages “Private” or “Draft” will not solve the problem. People still need to access the pages to check out and get their receipts.
If you find that your “add to cart” and “checkout” links/buttons are not working, the first thing you should check is whether or not your Store page (or child pages) have been moved or renamed.
You can, however, add pages such as the thank you page you want to display to your PayPal buyers under the Store page. Since you are already hiding the Store page and all of it’s sub pages, this is an ideal location for your PayPal return url page.
Bottom Line: Don’t rename or move the store pages, just hide them.