WP Ecommerce
WP Ecommerce Shop Styling Purchase Table in Email Template
Using the WP Ecommerce Shop Styling plugin. Email template product table is improved by adding the following styling to the email template: #products-table { width: 100%;} #products-table td {padding:5px;} #products-table th{text-align: left;}
Read MoreUpdate Text Using PO Files. Translate Text.
A basic guide to translating wp-e-commerce using poEdit 1. Download and Install poEdit : http://www.poedit.net/download.php 2. Run poEdit and open a translation file (.po) from the `wp-e-commerce/languages` folder 3. Go through the list of words / sentences and add in your translations 4. In poEdit make sure you have the box checked in Preferences>Editor ‘Automatically…
Read MoreWp Ecommerce Responsive CSS
Add the following CSS rules to make WP-Ecommerce plugin more responsive to mobile devices: #content .product_grid_display .item_image a { display: inline; } #primary #content #grid_view_products_page_container, #primary #content #grid_view_products_page_container, #primary #content #list_view_products_page_container { line-height: 1.2em; min-width: 300px; position: relative; width: 100%; } #default_products_page_container .imagecol img, #list_view_products_page_container img, #grid_view_products_page_container img { height: auto !important; } #checkout_page_container {…
Read MoreHide Shipping Calculator for Flat Rate Shipping
The aim is to only hide the calculator from the checkout page not remove it as it still must send its values to the next page. It is then removed from the layout by setting its position as absolute so it does not push the forms down the page. Also need to remove the H2…
Read MoreWP E-Commerce Sales Log Date Wrong Time Zone
Set the server timezone by adding this to top of your functions.php file of your theme: Time zones are detailed here: http://www.php.net/manual/en/timezones.php
Read MoreWP-Eccommerce Get Purchase Log Data
To retrieve the purchase log data to extract customer email for example use this within the function: global $wpdb; //This grabs the purchase log id from the database that refers to the $sessionid $purchase_log = $wpdb->get_row( “SELECT * FROM `”.WPSC_TABLE_PURCHASE_LOGS.”` WHERE `sessionid`= “.$sessionid.” LIMIT 1″ ,ARRAY_A) ; //This grabs the users info using the $purchase_log…
Read MoreWP-Ecommerce $item array keys
[purchase_id] [cart_item] –[id] –[prodid] –[name] –[purchaseid] –[price] –[pnp] –[tax_charged] –[gst] –[quantity] –[donation] –[no_shipping] –[custom_message] –[files] –[meta] [purchase_log] –[id] –[totalprice] –[statusno] –[sessionid] –[transactid] –[authcode] –[processed] –[user_ID] –[date] –[gateway] –[billing_country] –[shipping_country] –[base_shipping] –[email_sent] –[stock_adjusted] –[discount_value] –[discount_data] –[track_id] –[billing_region] –[shipping_region] –[find_us] –[engravetext] –[shipping_method] –[shipping_option] –[affiliate_id] –[plugin_version] –[notes] –[wpec_taxes_total] –[wpec_taxes_rate]
Read MoreThickbox not working on Product Images – conflict with Better WP Security settings
Symptom: Clicking on a product image launches screen overlay but image doesn’t appear. Conditions: Using WP Ecommerce plugin and Better WP Sucurity Plugin Cause: Better WP Security settings under Server Tweaks, this item “Display random version number to all non-administrative users” Kills Thickbox
Read MoreWp Ecommerce Editor Role View Sales Logs
By default only Admin can view logs. This is hard coded. In wp-e-commerce/wpsc-admin/admin.php edit line 147 replace “administrator” with ‘7’ $purchase_logs_cap = apply_filters( ‘wpsc_purchase_logs_cap’, ‘administrator’ ); 10 is admin access, 7 is editor access
Read MoreChange URLs of Shopping Cart, Products Page, Account Page and Transactions page
Go to http://www.yourdomain.com/wp-admin/options.php and edit the fields for: product_list_url shopping_cart_url transact_url user_account_url
Read More