I've updated the files attached to this mod with the latest & greatest.
Fixes in 1.0.2 include:
- No more than 250 pages can be requested, but this app would keep going forever, allowing the user (or a spider) to keep requesting past page 250 but nothing would be displayed. Now it will stop at page 250 and won't display the "Next" link.
- Corrected the page description, keywords & title.
- A user on a detail page wasn't been shown properly in "Who's Online"
- Added a subtotal to the cart page.
- In some cases, after adding an item to the cart the "items in cart" wasn't updated immediately.
- In some cases, guests could add items to the cart.
- The price displayed were wrong.
- Added "Continue Shopping" link to the cart, and have it go back to the last page displayed.
Still left to do, for the 1.0.3 version:
- Straighten out the boxes on the main page.
To upgrade from 1.0.1 to 1.0.2 (the latest),
download the amazon_store.php file and replace the one you already have.
Then, make these few changes:
In functions_online.php
Find:
PHP Code:
case 'book_store.html':
$userinfo['activity'] = 'amazon_store';
break;
Add after:
PHP Code:
case 'sort_salesrank.html':
$userinfo['activity'] = 'amazon_store';
break;
In the amazon_store template
Find:
Replace with:
PHP Code:
In Cart ($CartSubTotal) -
Find:
PHP Code:
<a href="$PurchaseURL" target=_blank>Checkout</a>
Add after:
PHP Code:
<if condition="$cart_title">
- <a href="/book_store/page_$page/category_$category/sort_$sort.html">Continue Shopping</a>
</if>
Find:
PHP Code:
Amazon Store for vBulletin version 1.0.1<br />
Replace with:
PHP Code:
Amazon Store for vBulletin version 1.0.2<br />