# Phoenix Cart WordPress Connect  

Easily display products from your Phoenix Cart installation on your WordPress blog using a shortcode.  

## Description  

Phoenix Cart WordPress Connect allows you to showcase products from your Phoenix Cart store directly in your WordPress posts or pages. By using a simple shortcode, you can pull in product details, including the name, price, image, description, and link, and display them seamlessly on your site.  

## Installation  

**Note:** This is a two-part installation requiring files to be added to both your Phoenix Cart and WordPress installations.  

### Step 1: Install the WordPress Plugin  
1. Install the **Phoenix Cart WordPress Connect** plugin via the WordPress Plugin Manager.  
2. Activate the plugin in **Plugins → Installed Plugins** by clicking "Activate" under **Phoenix Cart WordPress Connect**.  
3. In **Settings → Phoenix Cart WordPress Connect**, enter your Phoenix Cart store URL.  

### Step 2: Install the Phoenix Cart Files  
1. Upload the contents of the **phoenix/catalog** folder to your **catalog** directory in your Phoenix Cart installation.  
2. No settings for the Phoenix Cart section
3. To display your Wordpress posts on your Phoenix Cart home page, go to Modules -> Content -> Install Module and install the **Latest Blog Posts** index module. In the settings, add your Wordpress URL and enable the module.

## Usage  

To display a specific product on your WordPress site, use the `[phoenix_wp_connect]` shortcode with the **id** parameter as a self-closing tag.  

For example, to display product **40**, use:  

```
[phoenix_wp_connect id="40"]
```

This will pull in the product's details from your Phoenix Cart store and display them within your WordPress content.  

