jeffhugh Posted November 30, 2012 Posted November 30, 2012 Hi. My client's store <http://www.beyondbonnersferry.com/shop/> is set up and running without too many problems except that after a customer purchases an item, they then will login to their account and click on the link, "My Orders, View the orders I have made". Next they can see a link that says "view" over on the right side. They click on it and it shows the product that was purchased. BUT, this is not an active link so they can't click on it and then leave a review. Not sure why this is happening or if this is just the way the store works. And if the latter, then how does the customer leave a review of a purchased product? Thanks Jeff
multimixer Posted November 30, 2012 Posted November 30, 2012 The product name displayed is not a link, but this can be done easily, by modifying files account_history.php and/or account_history_info.php depending on where you want the link to appear You could also create a link or button that would go directly to the page to write a review (products_review_write.php) You have the products_id available ( $order->products[$i]['id'] ), so you can use it for anything you want My community profile | Template system for osCommerce - New: Responsive | Feedback channel
jeffhugh Posted November 30, 2012 Author Posted November 30, 2012 Hi George. First off, thanks for the quick reply. Next, I'm certainly not the best at php but at least you gave me the files to take a look at. I will look and see if I can modify one of them so that it is easy for the customer to leave a review for what they bought. Thank you and I may be back for more info. Or hopefully, just to say thanks. Again. Jeff
jeffhugh Posted November 30, 2012 Author Posted November 30, 2012 George. Hi again. So, I looked at the two files account_history.php and account_history_info.php As I said, I am not very good at php. Which line would I be modifying to make the product linkable in either of these files? Thanks. Jeff
jeffhugh Posted December 2, 2012 Author Posted December 2, 2012 Hello again. Anybody out there that can help me with this? My last part about which lines in the php files do I edit to make those links active? Thanks Jeff
Recommended Posts
Archived
This topic is now archived and is closed to further replies.