Archive for ‘WordPress Shopping Cart Plugin’

Checkout: Debugging

« Troubleshooting

Debugging the WordPress Shopping Cart plugin is a quick and easy way of finding a problem.

In the case where the plugin may not activate, work as intended or even show a blank page when executing a specific action there could be a fatal error due to a 3rd party plugin, permissions and many other unpredictable factors.

Turning on Debugging

1. Set $debugging to true

Open the “wp-checkout/wp-checkout-plugin.php” file in an editor and set the $debugging variable on approximately line #8 to true in order to turn on global debugging in the plugin.

2. Uncomment Error Reporting

Next step is to uncomment the lines which set the error_reporting on your site.

In the same file, navigate to approximately line #112 where you will see two lines of code preceded by two forward slashes (//). Just remove those forward slashes on both lines.

When you’re done, save the file to the server, overwriting the old “wp-checkout/wp-checkout-plugin.php” file in order for the changes to take effect.

Do Your Testing

Go back to the site and test it by doing what you did before when you were presented with a blank screen or the issue that arose. You will now see an explanatory PHP error message. You can either interpret that message and solve the issue or contact us to assist you further.

Please remember to revert the changes that you made to the “wp-checkout/wp-checkout-plugin.php” file when you are done, especially if it is a production site since you don’t want your users to see any errors.

Checkout: Troubleshooting

« WordPress Shopping Cart plugin

If you have any significant problems with the WordPress Shopping Cart plugin and it isn’t behaving as you expected, please try to troubleshoot with the use of the following topics.

Checkout: Manage Coupon Codes

« Discount Coupons


click to enlarge

1. Add New Coupon Code

Clicking this button will take you to ‘Save a Coupon Code’ where you can create a new Coupon Code. New Coupon Codes added will show up on this ‘Manage Coupon Codes’ screen after they are added.

2. Bulk Actions

These bulk actions allow you to select multiple Coupon Code records from the table using the checkboxes and then apply a bulk action on the selected records.The bulk actions currently available are ‘Delete’ which will permanently remove the selected Coupon Codes records in the table.

3. Per Page

This is a quick way of choosing how many Coupon Codes/records to show per page. The drop down has several values in it to choose from. When the total number of Coupon Codes in the database exceeds this per page number chosen, you will notice page numbers appearing above and below the table to the right.

4. Search Coupon Codes

Quickly search the database for Coupon Codes by typing a word or phrase and then clicking the ‘Search Coupon Codes’ button.

5. Coupon Code Row Actions

When you hover a Coupon Code row, action links will appear below it which are applicable to the row that you are hovering. The links include ‘Edit’ to edit the details of the coupon and ‘Delete’ which will remove the Delete permanently.

Checkout: Discount Coupons

« Usage

Discount Coupons allow you to issue coupons that may be redemed by a shopper in order to apply a specific discount to the order.

Coupons can redeemable be for a fixed price i.e.$5.00 or for percent value of the purchase price i.e. 10%.

There is a built-in coupon code generator as well to generate random codes. You can also give coupon codes an expiration date and specify how many times a coupon code may be used globally.

Coupons may be switched of or dicontinued by you as the administrator. To turn off discount coupons on the site as a whole, go to Checkout > Configuration > Discount Coupons in your WordPress dashboard where you can turn it off.

Start by adding a discount coupon.

Related Links

Checkout: Custom Fields

« Usage

Custom Fields is a distinctive and very flexible feature of the WordPress Shopping Cart.

Custom Fields allows you to define different types of additional fields that can capture user input from products and the shopping cart as a whole.

The applications are endless and is only limited by your needs and imagination. For example if you were printing T-Shirts  you could create fields that said “Front Text”, “Back Text” as textboxes, or radio buttons that gave the user the option to “Gift Wrap” or a select drop down menu for sizes “Small”, “Medium”, “Large”.

Custom fields can be required or optional and can include an additional charge. For example if you wanted to charge additional cost for printing or engraving.

At the moment the following field types are supported: Text Input, Text Area, Checkbox list, Dropdown List, Radio Buttons. The checkboxes, dropdown list and radio buttons take multiple options that a user can choose from.

Start by adding a custom field.

Related Links