![]() |
Amazon Store Integration
This is my first mod for vBulletin, so take it easy on me if I've done something incorrect...
Anyway, this is an Amazon store integration mod for vB. One of my sites is job/career oriented, so I offer books that are related to this through this mod. It will pull all of the items in a particular category (Amazon BrowseNode) and display them for users to pick & choose what they want. They can add the items to a remote Amazon shopping cart, and when they're finished shopping they can check out through Amazon. Note that only logged in users will be able to add item to their carts. See the attached file "install.txt" for installation instruction. You can see it in action here: http://www.discusscareers.com/book_store.html Let me know what you think, have any problems, questions, suggestions, etc. |
Thank you for releasing this. I need to get the dev ID but I will be installing this later.
(btw the mods will ask you to add the instructions to a text file) |
Quick question for you....
Say you wanted to have two product catagories, 1 for say books and another for games, would this hack be able to do it? |
Quote:
Quote:
|
Everything :)
Just cut and paste your post to a text file and if you want create a zip file with it and the php file and upload the zip :) |
Quote:
|
Great man, I believe I asked for you to release this a while back, it looks very good
/me installs ~Curt |
Quote:
I found how to do a generic search, I'm going to try to integrate that with a context-sensitive link in threads, a "click here to search amazon for items related to xxx" sort of thing. Has anybody who has installed this found any problems with it? Have any questions, comments, suggestions? Can you post links to where you've installed it? I realized after I posted it here I should've put my name on the template somewhere... I guess when I update it I'll put a copyright line on it, hopefully those who've installed it will make that change. ;-) |
Would love to see this in 3.5. :) I will test it out on my 3.0.x board if you need it.
|
Quote:
If you could test it on you 3.0.x board, I'd appreciate it. |
Mikelbeck, the page you link to and when I browse through the 'store' it gives an error, syntax error in line 2 in the html pages.
|
Quote:
I don't see anything wrong with "line 2", though, I'll have to look further. |
I can't find anything wrong with what it's referring to.
However, I did find one error, and have one addition. I've changed the "install.txt" at the beginning of this thread. Here's the changes. In the amazon_store template: find: PHP Code:
PHP Code:
find: PHP Code:
PHP Code:
It doesn't occur on the main page, only the inside pages. This one is fine, but this one reports: Code:
Line: 2 |
great little mod installed here
http://www.daycareforums.com/book_store.html some kind of search feature (if possible) would be great |
ohh , i found some kind of goof up :)
when i click on a book to read more info then try and go to the navbar i get links like this http://www.daycareforums.com/book_st...?do=logout&u=1 instead of links like this http://www.daycareforums.com/login.php?do=logout&u=1 any clue of what i may have done? |
Quote:
PHP Code:
PHP Code:
|
thanks
|
A couple of request :)
Is there a way to have bigger thumbnails when your viewing pages (before you click on the product to read more) And possibly have 3 rows across instead of just the 2....looks a little empty :) and when you view your cart if there can be a link to continue shopping :) |
Here's a fix... The image displayed is supposed to be the medium image, the code for that got all screwed up. Also the title isn't displayed.
In amazon_store_data_listbit, find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
- Add a "continue shopping" link. - Straighten out the boxes on the main page, they're not lined up properly. - Guests can add items to their cart, apparantly, that's not supposed to happen. - The page description & keywords are screwed up. |
great, i also wonder if there is a way to show a subtotal somehow?
|
Quote:
|
I've got a bunch of fixes completed, I'm hoping to have the rest done today.
Completed: - 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. In Progress: - Once I added the subtotal to the cart page, I found that the price displayed was wrong. - Add "Continue Shopping" link to the cart, and have it go back to the last page displayed. - Straighten out the boxes |
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:
PHP Code:
Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
i get this 1 Item In Cart () instead of a price in it...and my continue shopping link doesn't show up :(
|
Quote:
|
lol, ohh my im a dork... hahah
i downloaded the most recent php file at the top, and saved it to my docs, made the changes (as needed for my store) and uploaded the old one back up instead of the new one...i normally save everything ot my desktop my bad, so sorry |
Quote:
I think I PM'd you on your site with the same info... If it wasn't you then I'm bothering one of your users and they won't have a clue what I'm talking about. ;-) |
Mikel can we add categories to it?
|
Quote:
|
Is anybody using this? Should I update it from 3.5?
|
This looks great! Update it to 3.5 and I'll certainly be using it! Cheers, twobob
|
Quote:
|
What's going on with this anyhow? I managed to embed the rat version here but it isn't something that could be released as a mod. This still needs some cleaning up too. I am actually hoping someone will still release something better.. I would be willing to help out..
Store Embed |
I've got a 3.6.8 version that should be out within another couple of days. See this thread: https://vborg.vbsupport.ru/showthrea...=105164&page=2
|
The 3.6.8 version is now available here: https://vborg.vbsupport.ru/showthread.php?p=1372422
|
Thanks!! Can't wait to get that going...
Let me know if you need a demo site or anything. I should have this up today at some point.. Thanks again, Rich |
All times are GMT. The time now is 09:09 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|