Installation
If you want to add Ecwid store to your self-hosted (i.e. you have a hosting and have a blog installed there) WordPress blog, there are two ways you can do it:
1. A fast one. No HTML knowledge is required.
Just install this plugin: wordpress.org/extend/plugins/ecwid-shopping-cart/
2. Manual installation (not recommended). If you want to have full control over the Ecwid code and you're familiar with HTML.
- log into your Ecwid control panel
- copy the Ecwid integration code
- create a new page in your WordPress blog, open it for editing
- switch your editor to the HTML mode (must-do)
- insert the integration code and save the changes. Your store is ready, you can view it by opening the saved page.
You can also check this tutorial video: www.ecwid.com/video/ecwid-tutorial-video.html
FAQ
When I insert and save the integration code, it shows only some code lines on the page
Most likely you inserted the code when the editor was in Visual mode. You should switch to HTML mode and try to re-insert the code.
I'm using hosted version of WordPress(wordpress.com) and cannot insert your code
Unfortunately they don't allow putting any JavaScript code to posts and pages. So a solution is to use stand-alone WordPress installation. It works with Ecwid OK. Another way is to host Ecwid on another site and add the link to your blog.
I get a PHP fatal error, when I try to install and use WordPress module
Most likely you get this error because you use the old WordPress version.
"Ecwid Shopping Cart" WP module requires WordPress Version: 2.8 or higher, so if you use WordPress 2.7 and lower, you will get an error.
Possible solutions:
- You can upgrade your blog to the 2.8 or 2.9 branch.
- You can use Ecwid with your blog without this module. Just use the manual installation and insert an integration code to any page.
I have accidentally deleted my store page in WordPress, what should I do now?
When you install Ecwid plugin for WordPress, it automatically creates a ready-made store page for you (typically located at /store/ slug, but it may differ if you already had the /store/ page prior to installing or if the human-readable URLs are not enabled in your store). This page serves as the main location of your store from now on, and the plugin remembers its location to correctly redirect the customers clicking your minicart or categories anywhere or using product search on any page of your Wordpress site.
If you have deleted your store page created by the plugin, the following problems may be present in your site:
- When a category or minicart is clicked, a 404 - Not Found page is shown
- When a product search is performed, a 404 - Not Found page is shown
- The Inline SEO feature does not work for your Ecwid shop, because you use manually inserted shop widget on some other page.
- The Single Sign On feature may not work even if enabled and properly configured.
To overcome these problems you need to re-create your store page and instruct the plugin where it is located now.
- Login to your WP Admin as administrator
- Go to Pages, create a new page that you will use a a store or edit an existing one. Switch the editor into HTML mode (the grey tab on top) and in the source of the page replace everything Ecwid-related there with the following code:
<!-- Ecwid code. Please do not remove this line otherwise your Ecwid shopping cart will not work properly. --> [ecwid_script] [ecwid_minicart] [ecwid_searchbox] [ecwid_categories] [ecwid_productbrowser] <!-- Ecwid code end -->
Save the changes, but do not leave the page editor yet.
- Take a look at the browser's address bar. There is a part that goes like post.php?post=NN in the address. Remember the number in that NN part.
- Now, in the address bar of your browser change the /wp-admin/ and everything after it into /wp-admin/options.php . Press Enter, a new page will open. This is the list of all of your WP options (you cannot reach that page through a menu, only by URL).
- Find the option named ecwid_store_page_id
- Put the number you remembered on the 3rd step into that option.
- Scroll all the way down and press Save changes.
This way the Ecwid plugin for Wordpress will be informed about the new location of your store page and will redirect visitors for categories, shopping bag or search appropriately, and the Inline SEO can be properly enabled on your store page.