The extension Avactis Shopping Cart Widget for WordPress allows you integrate your online store to your blog.
Follow these steps to install "Widget for WordPress" extension to your Avactis store:
Avactis integration instructions
Create a new folder on your computer.
Extract the contents of avactis-shopping-cart-affiliate-widget.1.5.zip archive to the new folder.
In the new folder, you will find "files_for_Avactis.zip", extract it. You will see:
The folder named "patches" contains a "wp_support.patch" patch for your Avactis store's system files.
The folder "avactis-themes" contains the new skin for Avactis storefront which will be shown inside your WordPress site.
Launch your favorite FTP client application and connect to the site running your Avactis store.
Open "avactis-themes" folder on the remote site.
Copy the "wp" folder from your computer (it is located within "avactis-themes" folder) to the remote "avactis-themes" folder. When done, you should see the "wp" folder inside the "avactis-themes" folder on the remote site.
Copy the file "wp_support.patch" from your computer (it is located within "patches" folder) to your remote site inside Avactis store's root folder (where "avactis-system" and "avactis-themes" folders are located).
Then you should apply this uploaded patch. To perform this operation, you can use the utility "patch" (http://ftp.gnu.org/gnu/patch/). It is available by default on most Unix and Linux servers. To run the patch command, either connect to the site via SSH, or use the PHPShell script (http://phpshell.sf.net/).
Note: Place PHPShell script in the root of your Avactis store.
8.1. To verify the correctness of the patch you need to run the utility with the --dry-run key (which prevents any actual modifications):
patch -p0 --dry-run -i wp_support.patch If you see error messages at this step, and are unsure how to fix it, please contact our technical support department: https://www.avactis.com/support.php
8.2. If there are no errors during the dry run, you can safely run the command that performs actual file modifications:
patch -p0 -i wp_support.patch
WordPress integration instructions
Open your WordPress admin zone and install the Avactis module there.
Visit the WordPress admin zone -> "Plugins" and click the "Add new" button. Enter the keyword "Avactis" and click the "Search Plugins" button.
You will see "Avactis Shopping Cart Widget" in the list.
Click the "Install now" link to start the installation process.
Configure the Avactis module
Visit the WordPress admin zone -> "Plugins" and click the "Settings" link in the "Avactis Shopping Cart Widget" section.
Enter the path to Avactis Shopping Cart (e.g. http://example.com/store) and the iFrame width in pixels (760 is the default value) in the module settings and save your results.
Place the widget anywhere on your WordPress blog
Open any WordPress page, switch the editor to HTML source mode and add the tag "[Avactis shopping cart]" to the page where you want your online store. Save your results.
WordPress configuration is complete.
If there are problems, please contact our technical support department: https://www.avactis.com/support.php