With the release of AIMStorefront version 1.24, stock on hand can now be displayed on product pages specific to physical location, alongside your own custom message. This can help your shoppers know how much inventory you have available in each store.

This feature requires AIM v12. If you're running an older version of AIM, please contact Tri-Tech to get up to date.

Here's how to set it up:

1. Set up your locations in AIM, add your quantity on hand for each location

In AIM, go to Maintenance > General > Locations

Select Add - you'll need a code (a good standard is to use opening initial or two) and a name (such as D Dubuque), nothing else. Click to Save your addition.

Go to Modules > Inventory > Add/Change Inventory > Change inventory

Enter a product SKU (eg 2020812 or 2002936)

Go to the Locations tab. Add a location and give this SKU some inventory at that location.

2. Edit & Publish location topics

When a new location is added in AIM, a new unpublished topic with the name of the location is automatically created in your store. This topic will be displayed on your product page along with the quantity on hand for that location. 

In AIMStorefront, log in to your admin console ( http://www.mystore.com/aesys ), and go to Content > Manage Topics

In the Topic Name filter, type in the name of the location you added in AIM. Click the topic name in the grid below to edit the topic.

The first time you open the topic, it should look like this: 

Use the editor to adjust the content, change the text, add a picture of your location storefront, or a map, or anything else!

Be sure to keep the name of the location and the token (!LocationInventory!) in place - you can move them around in the editor, but don't delete them! The token is replaced by your location's inventory quantity when visitors view you product pages.

When you're finished editing, check the Published box to publish the topic, then click Save. Repeat these steps for each Location you created in AIM.

Here's an example of how you might edit your location topics:

Here's how it will look on your product pages: 

3. Enable product page display

In your AIMStorefront admin console, go to Configuration > Settings

In the search box, type in Edition.InventoryByLocation.Enabled . Edit the setting, and set it to Yes. Click Refresh Store in the top right corner of your admin console.

Visit a product page that has inventory defined by location in AIM, and you should see your topics appear with quantities available.


If after following the steps above, you're still not seeing your inventory displayed by location on your product pages, you might be missing a Manufacturer Part # ("Model" in AIM), or you might be using a modified layout. 

Confirm that your product has a Manufacturer Part Number populated by locating the product in the AIMStorefront admin console. ( Products > Manage Products ). This should match your Model field specified on your inventory in AIM.

If you've confirmed your product has a Manufacturer Part number, and it's still not displaying inventory, check to see if you have a modified layout. Modified layouts (XmlPackages) are not automatically updated when we update your website with new releases. You can either merge the new code from the root XmlPackages folder into your Skins XmlPackages folders (advanced users!), or remove your modified layout.

You can remove your modified layout by logging in to your website's FTP account and navigating to your Skins/Skin_1/XmlPackages folder ("Skin_1" may vary depending on your store's configuration). Look for files like: product.*.xml.config , download them to your computer to make a quick backup, then delete them in your FTP client.

BEFORE REMOVING any Xml Packages, be sure to select a different one for the product from the root directory (will not be designated with a skin in the selection drop down). You will want to identify the different xml packages used and set them appropriately to the products in your AIM module as well.

If you're not sure how to go about this, please submit a ticket, our team is standing by ready to help!