View Single Post
Old 12-02-2010, 08:55 AM
Shane Turner's Avatar
Shane Turner Shane Turner is offline
Junior Member
Join Date: Oct 2010
Posts: 8
Default GOT IT!

Right - here's what worked for me:

<script type="text/javascript">

ecwidMessages = {
"AddToBagWidget.product_added":"The product was added to your shopping cart",
"BreadCrumbs.your_bag":"Your shopping cart",
"Checkout.items_removed":"There were removed items in your cart, because they are temporarily unavailable. Please, check your cart\!",
"Checkout.items_unavailable":"Items in your cart are temporarily unavailable, cannot proceed\!",
"CheckoutServiceImpl.add_items":". Please add some more items to your cart.",
"CheckoutServiceImpl.remove_items":". Please remove items from your cart.",
"DnDLabel.drag_me":"Drag & Drop Me to the Cart",
"EmptyShoppingCartPanel.empty":"Your Shopping Cart is empty",
"Minicart.open_bag":"Open Cart",
"Minicart.out_of_stock":"The product is out of stock and cannot be put in the cart",
"Minicart.shopping_bag":"Shopping Cart",
"ProductBrowser.your_cart":"Your cart",
"ProductDetails.all_items_in_bag":"All items are in the cart",
"ProductDetails.in_bag":"\ in the cart",
"ProductDetails.In_bag":"In the Cart",
"ShoppingCart.open_bag":"Please open the cart and remove some products or go to checkout.",
"ShoppingCart.the_number_of_products_":"The number of different products in your cart",
"ShoppingCartView.clear":"Clear Cart",
"ShoppingCartView.shopping_bag":"Your Shopping Cart",
"TableProductsContainer.add_to_bag":"Add to Cart"
// -->


Took me a while because it's the first time I've used javascript in Wordpress... the red text above being what was missing.

But yay, it's now working

Hope this helps another WP / javascript newbie...