So, I was asked to come up with a “Top 10” tips and tricks for the WordPress plugin WP-Ecommerce. Well, there are definately more than 10, but I decided to post my top 5. So without further ado, here they are:
Tip #1: You want to change the “add to cart” button that appears on your shopping cart.
Well, first you’ll want to make sure that you choose “iShop” for your theme in “Shop Settings”. That will place an actual button on your cart. Then to change that image, you will navigate to “wp-content/plugins/wp-shopping-cart/themes/iShop/images”. In that directory you will see a “buy_button.gif” and you will replace that with whatever “add to cart” button you’d like. Step 2 of this process is to adjust the stylesheet so that it will reflect the correct image size of the new image you’ve uploaded (unless of course, the new image is the same size as the old; then you can stop here).
Locate “iShop.css” and find the following code:
1 2 3 4 5 6 | input.wpsc_buy_button{ background-image: url(images/buy_button.gif); border: none; width: 80px; height: 30px; } |
You will then change the width and height to reflect the size of your new image. Save and upload and you’re all done.
Tip #2: Change wording in your shopping cart.
Most all of the “text” on the site that involves the shopping cart can be found in the language file here:
“wp-content/plugins/wp-shopping-cart/languages/EN_en.php”. In that file you will find everything from “Visit the Shop” to “PnP” (which most like to change to “Shipping”) to the sentence that reads on the checkout page about “having your credit card handy”. You can change these phrases to whatever you’d like, but just remember that when editing this text that you leave the quotes in place, otherwise your site will break!
So here’s an example…I want to remove the words “Visit the Shop” from my sidebar shopping cart. So I locate the line in the language file (it’s on line 174):
1 | define('TXT_WPSC_VISITTHESHOP', 'Visit the Shop'); |
I would then change it to this:
1 | define('TXT_WPSC_VISITTHESHOP', ''); |
And you notice that I left in the quotes, but removed the text. That’s it for changing or removing text.
Tip #3: The Google Checkout button.
If you’re using Google Checkout, you’ll notice that on the checkout page there are 2 Google Checkout buttons. One above the customer information fields and one below. The one that is placed at the top doesn’t really function as it needs the information below it to be filled out first, so the best thing to do is just remove that image and leave the one at the bottom.
So to do this, you will navigate to “wp-content/plugins/wp-shopping-cart/shopping_cart.php” and on line 341 you will see this code:
1 | echo $google_cart->CheckoutButtonCode($google_button_size); |
You will just comment that line out so that it looks like this:
1 | //echo $google_cart->CheckoutButtonCode($google_button_size); |
Save and upload and that should remove that top Google Checkout button.
Tip #4: Make your “checkout” link bigger and move it.
So on the sidebar cart, some people have requested to have the “Go to Checkout” link bigger and placed above the “Empty Your Cart” link. Here’s how we accomplish that:
First we’ll make the text bigger, so you will navigate to “wp-content/plugins/wp-shopping-cart/languages/EN_en.php” and on line 171 you will see the following:
1 | define('TXT_WPSC_GOTOCHECKOUT', 'Go to Checkout'); |
You will edit that line to look like this:
1 | define('TXT_WPSC_GOTOCHECKOUT', '<span style="font-size: medium;">Go to Checkout</span>'); |
You can obviously change the “3” to whatever size you would like to fit your site. Then you will want to place it above the “Empty Your Cart” link, and we’ll do that by navigating to “wp-content/plugins/wp-shopping-cart/shopping_cart_functions.php” and on line 337 you will see this:
1 2 3 4 5 | $output .= <ahref='".get_option('product_list_url').$seperator."category= # ".$_GET['category']."&cart=empty' onclick='emptycart();return false;'>".TXT_WPSC_EMPTYYOURCART." "; # $output .= "<a href="".get_option(">".TXT_WPSC_GOTOCHECKOUT." </a> "; |
And all you will do is take the bottom line that calls to show the “Go To Checkout” link and move it above the “Empty Your Cart” link, so it will then look like this:
1 2 3 4 | $output .= "<a href="".get_option(">".TXT_WPSC_GOTOCHECKOUT." # </a> ";$output .= "<a href="".get_option(">".TXT_WPSC_EMPTYYOURCART."</a> "; |
And that’s it for that.
Tip #5: Modifying your sidebar cart and notification look and feel.
So if you have your cart in your sidebar, you’ll notice that it’s pretty plain looking. There is an easy fix for that and the possibilities are up to you as far as how much you want to style it. First you’ll navigate to your theme’s css file. In that you’ll find the following code:
1 2 3 4 5 6 | div#sliding_cart{ margin: 0px; padding: 0px; background: none; border: none; } |
You’ll notice it’s very simple and plain right now, but there are many things you can do to change it. Below I will list an example of how you can change it to have a border around the cart, a background color and a larger font.
1 2 3 4 5 6 7 8 | div#sliding_cart{ margin-left: 0px; padding: 0px; color:#000000; background: url('http://www.yoursite.com/image.jpg'); border: 1px solid #000000; font-size: 12px; } |
Again, there is a lot more you can do if you would like and know enough about CSS, but this is a simple example.
Next, if you have the “Fancy Notification” enabled, this will show you how to style it. In the same CSS file you will find this:
1 2 3 4 5 6 7 8 9 10 | #fancy_notification{ position: absolute; top: 0px; left: 0px; background: #ffffff; border: 4px solid #cccccc; display: none; height: auto; z-index: 9; } |
This has all the elements in place that most people want, but feel free to change the border color/width and background color. You can even load in a background image if you’d like by editing the code to look like this:
1 2 3 4 5 6 7 8 9 10 | #fancy_notification{ position: absolute; top: 0px; left: 0px; background: #ffffff url('http://www.yoursite.com/image.jpg'); border: 4px solid #cccccc; display: none; height: auto; z-index: 9; } |
You’ll notice that I just gave a direct path to the background image, and it will show up in your notification box.
There are SO many other things you can do to style your cart, but these are a few good examples. If you have any questions about these or other styling issues, feel free to contact me over here.
So, until next time…
Rog says
Thanks for those.
Is there a simple way for wp-shopping cart to pick up the blog Page Name and add it to the Product Name.
I have put the product list onto my single.php page but can't find a way to add the name before the product and of course continue to show it throughout the order process.
Blog is a Photo Gallery.
Devito says
Thanks for this Shayne, Very simple and clear… easy to understand… Instinct should commission you to write a WP e-Commerce Guide??? Or at least consult on it… It would save on a lot of frustration in the forum and they could even sell it as a download and make a few quid too…
Anyway this page goes in the bookmarks… Cheers Shayne…
David Rankin says
thanks for the excellent tips. The WP shopping cart is one of the shopping carts that actually work with Google Checkout . Other carts I have tried say they are compatible , but they aren't. I would like more tips about improving the display of product images in the category pages and how to change the standard page titles for categories and products
Tom (Puppy Website) says
I found it to very informational, it will certainly provide help in programming. This list will be very useful in the future.
Got to bookmark this one!
The Frosty says
Very useful for a very powerful plugin!
dewatech says
Hi..
I found blank page with IE browser. Everything is Ok with Firefox..
Can you help me to solve this problem?
ubrayj02 says
I'd like to ditto dewatech's post.
My online shop page displays things as it should in IE 6. When I click on a product, the product page appears blank in the "product-display" div.
Looking at the source for the page reveals that everything has been loaded – but for some reason, the images, text, buttons, etc. for the product do not show up! Weird.
megastar media says
megastarmedia says thank you for the great advice.
all the best,
sandy
akbar says
how can i upload more pictures/images in wp e-commerce? in wp-e-cmmerce i can only 1 picture/images
shayne says
@akbar, to have the ability to upload multiple images, you will need to purchase the "gold cart" upgrade module, located here:
http://www.instinct.co.nz/e-commerce/shop/
3sixteenweb says
shane you have been a lifesaver! After hours of trial and error, I stumbled across your site. I will be purchasing the documentation you guys put together. I'll be sure to leave feedback after I sort out the plug in. thx a bunch. Keep it up! Lots of great tips in this post.
Richard says
Hi Shayne,
Thanks for the tips, they're great! However, I am looking to replace the text "Shopping Cart" and possibly the checkout link by images.
I already added you to gtalk, but since we're on opposite sides of the planet, chances are that we won't be online together very often hahaha.
Anyways, I've tried this replacement in many was; the style.css, ishop.css, php files, but I just can't find it.
Hope you'll be able to help!
Cheers,
Richard
Ardian says
but wp ecommerce is running too slow, could some body just make it better ? thnks
Richard says
Hi Shayne,
Nevermind my post before; Taeke resolved the issue on the wp e-commerce forums!
Cheers,
Richard
Chelle says
Hi,
I have a problem with the calculator thingy. Can anyone help me how to disabled it or make it invisible? I'm trying to put the "Postage" part but when it comes to the "Verify your Account" page, the Calculator always appear. In the demo site, the Calculator doesn't appear. What should i do?
Thank you!
shayne says
Chelle,
Fill out the contact form and send me a WP login to your site and I can take a look for you.
venz says
is there a way to have a "remove product from cart" function?
shayne says
There is currently not a function to remove particular items from the cart (in sidebar)…and I have not dug into making that happen as of yet.
TSF says
Hi shayne .. thanks for the tips .. i really need all the help for my new site .. ๐
Stevan says
Hi, there's a way to use searchs on the wp-commerce? I mean to say, something like filter by product name. I have changed everything and haven't found a good way to do such a thing, pagination was hard to do too, some hints about this?
I think a good idea is to return only data from the main functions and render it on a template.
thk u!
ANE says
Shayne, is there a way to add a dropdown field to the checkout form? For example, we would like add a custom dropdown to the end of the checkout form which allows users to select from a list of colleges they would like to register for classes at.
Thanks and looking forward to hearing from you!
shayne says
Ane,
I'm sure you could do that by adding some code, but the harder part would be passing that to the database. If it were me, I would make the dropdown of the list of colleges a variation and display that on the products page so that they can select it there.
Should work the same way…just not on the checkout page.
ANE says
Thanks Shayne very much – variations looks like it's going to work great.
Cecil says
Hey Shayne, thanks for the tips, esp. tip#2 which was driving me nuts until I found this blog! Cheers! ๐
trad says
OHH This is good for me. Thank ^_^ I really do appreciate your time on putting this up
carlos says
Is there a simple way for wp-shopping cart/Gold cart to pick up the blog Page Name and add it to the Product Name? Or Just simply change the product "order 1, order 2, etc" to a name?
<<Was this question answered I couldnt find the answer if not , Is this possible Shayne?
shayne says
I would just rename the product titles.
Karenmarie says
Hie, I was wondering if there was anyway to state that the product is sold out but still keep the product on site?
shayne says
Karenmarie,
Normally, the cart will still show the product but show "sold out" instead of letting the customer purchase it. Is yours doing something different?
Privendo says
When someone adds a product to the cart, I don't want to show the cart on the side bar but on the main page, under the cart I wish also to show "Buyers who bought this product also bought these products" and to show related products
Secondly, I wish to have an icon with the number of the products in the cart on the side. I want to show this icon on the top of the page.
Thanks in advacne
Angela says
Hi Shayne, I got your Bible and it has helped me a lot; however, for some reason, the photos of my products are showing on the grid "squished", which is a bit distracting. I am using grid view, Marketplace option (because it looks more uniform). I really hope there is a way to make the photos look good, as I don't want to go back to Ishop view. Hope you can help me!
shayne says
Angela,
Is the site you're talking about this:
http://skullsavers.com/products-page
If so, I see you're using the default theme now, which is what I was going to suggest…but you might want to read here to correct the other issue happening.
https://shaynesanderson.com/2008/07/empty-space-in…
Angela says
Hi Shayne! Thank you, it's much better now… but I have just noticed my variations are not working! Have you ever heard of such a thing? ๐
My old products that have variations are ok… just when I try to add a new product, or duplicate a product, I am not allowed to add variations…
Not having the best day here! Buah! Thank you for all the help!
Angela says
Ops. I guess I just had to cry a little. I tried adding a new product and it worked!
10th time is the charm — I HATE BEING A NEWBIEEEEE
: )
Angela says
Hi Shayne,
I got my products to show through instead of the 404 error (hurray). Turns out that on the upgrade, each group has now a selection to say if you want to market them to a specific country — if left blank, it won't show products at all on the front.
Now, I have a new (hopefully easy) problem to fix, which is driving me batty — I have the Gold Cart and the grid module, but both stopped working on the new installation.
I followed proper procedure for installing gold cart on 3.7, moved into the right directory (not the old 3.6 one), and have gold_shopping_cart where it is supposed to be. I have tried deactivating/reactivating and also deleting the gold cart from the upgrades folder and putting it there again…
Not sure how to fix this ๐
Hope you have an idea!
Thank you so much! ๐
-Angela
Brandon says
Hey guys. I really need some help. How do I just make a $0.00 purchase? As a free digital download.
Thanks ahead!
shayne says
Brandon,
If it's a free download…honestly, what I would do is just make a link to the file….easy.
MommyGeekology says
Thanks so much for putting these tips together, Shayne! Very helpful.
CoLiq says
Hello, sorry if i ask here.
is there any code to displaying random product? and if any based on product tag. so will create similiar product on single_product.
Thanks
Sai says
hi Shayne
I am new to wp-ecommerce. please clarify following points,
1. is it necessary to re enter all the contact information, even though user registered already?
2. how it relates with “your details (under your account)” to Contact details (under check out )
3. what is the usage of “e-Commerce Subscribers” tab under “Users” and how it works?
please help me out
Thanks
Igor says
Hi Shayne,
thanks for the great plugin, it's very useful, and I'm using it every time I create e-commerce websites.
I need quick advice from you, since I have small problem.
I have 5 lists at the bottom of content, and each should show different product category.
This is what I use this until now, but what I should add to filter different category, for each product list.
Thanks in advance,
Igor
shayne says
CoLiq – There is not at this time…you could create a category for random products and load in whatever products you wanted and then switch them out on whatever basis you'd like.
Sai – You shouldn't have to re-enter all your information once you've registered. You just login the next time you return to the site. That information from your registration should show up in the "Your Account" area. The Ecommerce subscribers should show all the registered users for your shop. It relies on the user being registered with your site already, otherwise it has no way to tie the two together.
Igor – If you go to edit a product category you will see a list of shortcodes and template tags that you can put in your page(s) or posts to display different categories.
Sophia says
Hi, thanks for the tips.
I have being using this plugin for a while now, its being ok, but im facing a challenge now, and i'd really appreciate if you can help me with it.
My problem is with the Share this button, i've tried all i know but it just dosent work, im really beginning to think there is something i set up wrongly. Please tell me what to do, THANKS.
kirby says
Shayne – great stuff – thanks!
quick question. under tip 4 you provide instructions for modifying the font and position of the go to checkout link. i was able to modify the font, but could not find the files you refer to for modifying the position. i am using the 'latest' version of wpshopping cart (just installed a few days ago) and it seems like some of the file structure changed. i was able to find the shopping_cart_functions.php file (located int eh wp-e-commerce directory) but could not find reference to the code you outline in the post….help!
thanks in advance
shayne says
Kirby –
You will want to look here in the new version:
wp-content/uploads/wpsc/themes/the_theme_youre_using/cart_widget.php
Or, if you have not moved your themes yet, it will be here:
wp-content/plugins/wp-e-commerce/themes/the_theme_youre_using/cart_widget.php
watercrazed says
Another case of what were they thinking of…
putting a plugin's theme files under uploads ?
Not a place I would typically look at when backing up or modifying a plugin or theme
by the way …. my path shows as /wp-content/plugins/wp-shopping-cart/themes/
and now I have 2 sets of theme files one set under each path
Guaranteed source of confusion and support requests in the future
shayne says
watercrazed –
They did this so that modifications to the themes would not be overwritten when you upgrade the plugin…much the same way that WordPress is set up.
Athena says
Hi, I just wanted to be clear on something before I make any changes. Step #1 is only for ishop, but steps #2-5 can be used with all themes right? Or are all steps only for ishop? Thanks! ๐
kristine says
hi! I also tried doing how to create my own add to cart button, and followed your instruction but it seems not to be working still and it still the same, help please.
shayne says
Athena –
Yes, you are correct. Only step #1 is for iShop…the rest can be done with other themes.
Kristine –
Not sure what's going on without looking…you might fill out contact form and send me a URL so I can see it.
Athena says
Hi Shayne,
I need some help on tip #3 removing the top google button, I looked in every file I could find to find that code and couldn't. I have the newest wp e-commerce release, where would it be? Thanks.
shayne says
Athena – You should be able to go to your theme directory and find "cart_widget.php". At the very end of that file you should see this code:
<?php
wpsc_google_checkout();
?>
Just remove that and you should be fine.
Ed Bejarana says
I am helping a friend with WP. Is there a way to export products from an existing store and move them to a test server? I don't see a product export option.
shayne says
Ed –
You can export the products list database table…but that's the only way as of now to get products exported. There is an import feature for WP ECommerce now, so I'm thinking it might not be too long until there is an export feature as well.
Ivy says
Hi Shayne:
My variations are not visible on the website. Can you assist please. The drop downs are greyed out
shayne says
Ivy –
That usually is because you do not have a stock count for each variation…if you'll do that, they should not be greyed out anymore.
Carey says
Hi Shane:
Ive been reading the above posts from users but didn't see the problem Im having. Ive designed a site that has one of a kind items. So I added 1 to the product page. So when someone orders it and then another one orders it later, the message would say "SOLD OUT". But the problem comes when someone orders a product and then removes the product before completing the order, the product will still show "SOLD OUT". But the product is not "SOLD OUT" because the customer removed it from the cart. Is there a way to correct this? Thanks in advance for you answer.
Halvdan says
I have various products with variations – say prodA which comes in three sizes (S,M,L) and two colors (B,W). How do I show that prodA in the Medium / White is out of stock?
shayne says
Halvdan –
When you set up the variations on your product, there should be stock count for each one, so when that stock count gets to zero, that variation should "grey out" and not be available until you increase the stock count again.
Enter Your Name... says
Im really having a problem with this. SOLD OOY issues. Where can I go for help?
Carey says
I dont get a grey out. I just get "sold out"
shayne says
Carey –
Sold out across the board? For the entire product?
What version of WordPress and WP Ecommerce are you using?
shayne says
Also…this variation thing…you might want to go post in the forum since this doesn't really apply to this post.
Thanks
Carey says
Im using WP 2.8.5 and WP ecommerce 3.7.5 The variation was not my post.
Ivy says
Hey Shayne:
The stock quantities were updated properly. Every time I go in and edit the products to reflect the stock amount some how it has defaulted to making the same quantity amount for each variation and it is still greyed out. When I hit "update Product" after I have changed the quantities I receive this error message
"Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2272 bytes) in /data/18/0/0/116/326442/user/332545/htdocs/blog2/wp-content/plugins/wp-e-commerce/image_processing.php on line 12"
"
shayne says
Ivy –
That error is something you should send to your host. It's a php memory limit error. They need to increase it for you.
Carey says
Any new answers on the question for why the product would be sold out if I have not made a sale?
shayne says
You can read here for a solution:
http://www.instinct.co.nz/forums/topic.php?id=716…
Carey says
Thanks, I will check this out.
Carey says
Is this the line I change?
$session_timeout = 60*60; // 180 * 60 = three hours in seconds
shayne says
Carey –
I believe that would be the one.
Justin Sainton says
Color me standarista, but isn't it a bit non-sensical to have all this CSS and then suggest the tag in the fourth tip?
Carey says
Ok got it to work! Man Im learning here. OK is there a way to adjust my checkout hovers to show vertical instead of horizontal. When they show horizontal it goes behind my sidebar. See my site (http://www.magicalbeadstalk.com) and try to make a check out. Don't worry you won't have to finish the transaction.
Thanks
shayne says
Carey –
I'm not seeing anything going behind your sidebar. Also…for all future support, please use the forums on this site…as this has gotten to be a long comment area not really addressing the blog post anymore.
www.strategybar.com says
Hi, could anybody tell me, what i am doing wrong, when i do see e.g. the pricerange with classes but the groups are not linked with the procucts in?? there are only the names of groups, but no categories, which are set in the backend and used for the products..
thanks for any ideas!
shayne says
strategybar –
Can you please post your in our forums along with a URL?
Thanks
Lawrence says
Everything was working great until I experimented with changing the theme to iShop. Now the path seems to be off for some reason and product pages, category pages etc. produce page not founds. And now the other themes are missing from the dropdown and I can't change back to default. Any ideas?
hector Garcia says
Shayne, thanks for all of the great information you offer for WPecommerce. There's one issue we're having with our site (www.unleashed2live.com) that we can't find an answer for. In addition to the "add to cart" button for Paypal payment option, the generic "buy now" button is also appearing for each product. We don't need that button and wanted to ask if there was a way to remove it completely. If we need to pay you for support on this issue, please email me and we'll gladly do so.
for now, we're having to offer "google checkout" as another option, since doing so causes that "buy now" button to dissappear. I know, weird. thanks for your help.
shayne says
Lawrence –
That's strange…have you tried going to "Products–>Settings–>Admin" and at bottom clicking the "Update Page URLs" and/or "Fix Product Group Links"?
Hector –
The buy now button can be removed by going to your WP ECommerce theme directory, selecting the theme you're using, and then look in "single_product.php" and on or around line 191 you'll see this line:
<?php echo wpsc_buy_now_button(wpsc_the_product_id()); ?>
Either delete it or comment it out like this:
//<?php echo wpsc_buy_now_button(wpsc_the_product_id()); ?>
Should fix the "buy now" issue for you.
Hector Garcia says
Shayne, that was the fix!! thanks so much for the quick support and help!
Halvdan says
Hi Shayne,
Thanks for your help some time back re 'sold out' items showing when using Variations.
I have another related question. Is it possible to display that an item is ON SALE with a reduced price when using variations? I would like to be able to show one item within a variation as being on sale. A change of color in the drop-down, perhaps?
Cheers
kc says
Hi Shane!
I've having some problems with the plugin and don't know where else to turn. Up at the top of the Products Settings Page is an error message: Your "products page" is not currently set to display any products. You need to select a product grouping to display by default. This is set in the Shop Settings page.
But I have tried adding products, groups, categories, and still this message appears. I also cannot actually click on the other tabs such as "Presentation, Admin, Shipping, . . ." I click and nothing happens.
I finally got frustrated and deleted all products, categories and groups, hoping in a bit if I redo these actions I may have some luck. I've also uninstalled and reinstalled the plugin several times. Any advice?
Thanks so much!!
kc
shayne says
kc –
If you cannot access the "Presentation" tab (or others) that is usually a js conflict (possibly with another plugin) or a bad installation.
Once that is resolved, in the Presentations tab, you can choose what to show on your main products page, and that will eliminate the original error you mentioned.
kc says
Hi Shayne!
Thanks so much for your fast reply, I may not go crazy now after all ๐
Do you know of any specific plugins that could conflict with it? I have the Platinum SEO Pack activated and unactive are the Akismet and Hello Dolly (not a real plugin) with came with the Crafty Cart theme.
Thanks again!!!
kc
kc says
Shayne, got it working!!!
Thanks so much for your help, not sure why, but I initially did a manual install, copying in the files myself. This time I used the WP easy install and it's perfect now, thank you!!
Setai says
Shayne. Tip # 1 was very useful. I almost could't find where to change that button.
Thank again
Robin says
You are the greatest! Thanks for all your work. I just spent quite a time trying to change the "buy now" button on my site. It's pale and is hard to see. I following your directions very carefully, but I think where I went wrong is that I didn't know what you meant by replace the /images.buy_button.gif with my own button. I have a URL on the web where it is located, and I also have it in my media library. When I tried putting in either of those addresses, nothing happened, even when I continued to step 2 in the css file and changed the size parameters.
I'm not a programmer. This is all new which speaks very highly of your ability to clearly give directions. The only thing that slowed me down was finding the files in the editor. Any thoughts on what I did wrong? I set everything back to normal, but would still like to change the button to the image found at http://images.tipsandtricks-hq.com/shopping-cart/….
Would love your help. Also, how much do you charge to customize a site? There's several other suggestions that have been made like putting the contact info in the header, removing the RSS feed info at the top of the column and putting on tabs in the header. This theme works nicely with what I'm selling, but maybe it's not e-commerce enuf. What do you think?
shayne says
Robin –
For the buy now button…or add to cart actually….I would make the style in the CSS look like this:
input.wpsc_buy_button{
background-image: url (http://images.tipsandtricks-hq.com/shopping-cart/add-to-cart-button/add-to-cart-4.gif);
border: none;
width: 80px;
height: 30px;
}
For other issues, just use the contact form and let me know what you're needing/wanting.
Robin says
OK – I did that in the css file, and nothing happened. I suspect I still need to change the iShop/images as you described above: "…navigate to “wp-content/plugins/wp-shopping-cart/themes/iShop/images”. In that directory you will see a “buy_button.gif” and you will replace that with whatever “add to cart” button you’d like." However, what do I change the iShop/images file to given the above reply you made regarding the css file?
I'm so sorry to bother you during the holidays. You really are fantastic to do this for people.
Happy Holidays.
shayne says
Robin –
Ok…so what you can do is put your image in the "iShop/images" directory and then call that image in the CSS like this:
input.wpsc_buy_button{
background-image: url(images/YOUR_IMAGE_NAME_HERE.gif);
border: none;
width: 80px;
height: 30px;
}
If you do that, you will also want to change the image name that gets called in "ishop.php" as well…you'll see it in that file…
That should be all you need to do to get it working.
If not, send me FTP and WP logins through the contact form on this site and I'll take a look at it for you after the holidays.
WPExplorer says
This are some great tips. I was unaware of that Google Checkout tip, I will be using it. ๐
thanks
lisag says
shayne, GREAT resources!
question: how do you modify a widget cart css? i want to move [center] and stretch it. div#sliding_cart and div#shoppingcart don't seem to do it. thank you!
shayne says
Lisag –
You can look in your WP ECommerce theme directory (for whatever theme you're using) and you'll see "cart_widget.php"
You can look in that file and see what styles are being used where. You can also add or change the style names if you want and create a new style accordingly in the CSS file to match what you've renamed or added.
Hope that helps.
Romeo Azar says
Hi,
I am new to wp e-commerce, and I'm having an issue with the categories. I have set up 4 categories (toys, apparel, clothing and collars). Have uploaded products to each category. When I vire the products page I see all of the products. What I would like to have is a way to have each category item be a link, and assign a category to be the default to show up on the products page, so that not all of the categories display on one page. Is there a way to do that?
Thanks in advance,
-Romeo
Adam says
Shayne-
I've looked everywhere and can't seem to find it. Where do I go to change/edit the PayPal Pro credit card input fields. For example, by default one field is CVV* , I would like to change it to "Card Verification Number". Or Expiry Date changed to "Expiration Date (MM/YYYY)". Any help would be most appreciated!
Thanks,
Adam
shayne says
Romeo,
You should be able to select to show a list of your categories (instead of your products) in "Products–>Settings–>Presentation"
shayne says
Adam,
You should be able to make that change in:
wp-content/plugins/wp-e-commerce/merchants/paypal_pro.php
Around line 30 you should see the area where the code displays the HTML for that.
bill says
help… I am trying to remove googles checkout fast check out with google because its sending all my potential buyers to the wrong place and i have 14 orders that were dropped. I am using gold cart for wp and cant find the place to remove the google part please help.