Cyperis Posted August 16, 2012 Share Posted August 16, 2012 (edited) Product Info Page Box Version 1.0 This contribution will change the way that the product_info.php displays the product information. It does this by changing it in the following ways 1) Removes the standard product name and price 2) Adds a new box to the left of the product image that is just over half of the center column width 3) Removes the Attributes and the 'Add to Cart' button from below the product description and places them inside of said box 4) Adds Manufacturer information inside of box (Manufacturer, Link to Homepage, Link to Other Products) 5) Adds the following buttons: Reviews - This adds a popup that will display reviews for product as well as give a button link to 'Write Review' Tell a Friend - This adds a popup that will display a form the customer can fill out to email a product to a friend Ask a Question - This adds a popup that is similar to the 'Contact Us' page. It includes the product name and a link to it automatically in a hidden field so that the customer does not have to Link coming as soon as its approved! Edited August 16, 2012 by EchoGuns Quote Link to comment Share on other sites More sharing options...
Cyperis Posted August 17, 2012 Author Share Posted August 17, 2012 http://addons.oscommerce.com/info/8530 - Product Info Page Box Version 1.0 Please post any comments/suggestions/problems here! -Enjoy Quote Link to comment Share on other sites More sharing options...
Cyperis Posted August 18, 2012 Author Share Posted August 18, 2012 Updated to fix a few issues where some form tags were out of place as well as a column was sized incorrectly. Confirmed to work in IE 9.0.8112.16421, Chrome 21.0.1180.79m, and Firefox 14.0.1 Download link is at http://addons.oscommerce.com/info/8530 Quote Link to comment Share on other sites More sharing options...
♥Heatherbell Posted August 20, 2012 Share Posted August 20, 2012 I've not found the screenshots referred to in the download? Quote Link to comment Share on other sites More sharing options...
Cyperis Posted August 20, 2012 Author Share Posted August 20, 2012 They are in the original download, not the newest. Quote Link to comment Share on other sites More sharing options...
♥Heatherbell Posted August 21, 2012 Share Posted August 21, 2012 Many thanks for such a quick reply, good on you Quote Link to comment Share on other sites More sharing options...
♥Heatherbell Posted August 21, 2012 Share Posted August 21, 2012 How do I remove the 'tell a friend' and 'review' buttons from use? Quote Link to comment Share on other sites More sharing options...
Cyperis Posted August 21, 2012 Author Share Posted August 21, 2012 (edited) @@Heatherbell I am currently in the process of releasing a new version of this that will enable you to set individual items on/off via the admin configuration panel. Until then you can edit the product_info.php file that was supplied in the version 1.1 look for lines 225-257. Change them to: <div class="buttonSet"> <span class="buttonActionProductInfoCart"> <?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_draw_button(IMAGE_BUTTON_IN_CART, 'cart', null, 'primary'); ?></form> </span> <?php echo '<a href="' . tep_href_link(FILENAME_ASK_A_QUESTION_POPUP) . '" target="_blank" onclick="$(\'#askaquestion\').dialog(\'open\'); return false;">'; echo tep_draw_button(TEXT_ASK_A_QUESTION_POPUP, 'help'); echo '</a>'; ?> </div> Thanks, Clint Edited August 21, 2012 by EchoGuns Quote Link to comment Share on other sites More sharing options...
Cyperis Posted August 22, 2012 Author Share Posted August 22, 2012 Updated to version 2.0 New in this version: Added configuration options to the admin panel Turn on off individual buttons Show/Hide Model, Stock quantity, Manufacturer Info Screenshot: Thanks, Clint Quote Link to comment Share on other sites More sharing options...
♥Heatherbell Posted August 22, 2012 Share Posted August 22, 2012 Many thanks again. The 'continue' button on 'ask a question' pop-up does not respond, any advice? Quote Link to comment Share on other sites More sharing options...
Cyperis Posted August 22, 2012 Author Share Posted August 22, 2012 @@Heatherbell Updated files: Addon has been uploaded as well Version 2.1 - Fixed a few errors. Replace the following files: catalog/product_info.php catalog/ask_a_question_popup.php catalog/tell_a_friend_popup.php Quote Link to comment Share on other sites More sharing options...
♥Heatherbell Posted August 22, 2012 Share Posted August 22, 2012 Thank you again for your quick help. How do I cure the corruption to layout of pictures and 'customers also purchased' as shown on my webpage here: http://www.cornwallhoney.com/catalog/product_info.php?cPath=35&products_id=75 Quote Link to comment Share on other sites More sharing options...
♥Heatherbell Posted August 22, 2012 Share Posted August 22, 2012 I have sorted the layout, sorry to ask stupid question. Quote Link to comment Share on other sites More sharing options...
♥Heatherbell Posted August 25, 2012 Share Posted August 25, 2012 'Ask a Question' is working except email received does not show product name? Quote Link to comment Share on other sites More sharing options...
Cyperis Posted August 26, 2012 Author Share Posted August 26, 2012 @@Heatherbell Corrected and uploaded the fix to it. http://addons.oscommerce.com/info/8530 Email now shows the product name and a link to the product. Just make sure you have the configuration setting "Use MIME HTML When Sending Emails" set to True. Only two files changed and you can drag and drop them! Also, here is a example you can view of how this box looks: http://infobox.echo-guns.com/product_info.php?products_id=28 Quote Link to comment Share on other sites More sharing options...
♥Heatherbell Posted August 26, 2012 Share Posted August 26, 2012 Many thanks for your time, help and kindness, works great Quote Link to comment Share on other sites More sharing options...
Guest Posted September 4, 2012 Share Posted September 4, 2012 Hi EchoGuns, Well I finaly did it. I brought the 2 contributions to 1. If you want to see it in action here is the link. I did swith price with model. As it is more friendly. And I fix the issue with the layout of the buttons http://www.shoptuin.nl/product_info.php?cPath=21&products_id=28&language=en Quote Link to comment Share on other sites More sharing options...
Cyperis Posted September 5, 2012 Author Share Posted September 5, 2012 @@mbuist Good idea switching the price and model. Looks nice, although I would remove the reviews below the tabs that way you dont have them twice. What issue with the buttons were you referring to? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 5, 2012 Share Posted September 5, 2012 @@mbuist Good idea switching the price and model. Looks nice, although I would remove the reviews below the tabs that way you dont have them twice. What issue with the buttons were you referring to? The buttons where not lined up correctly when I installed it. As for the reviews. I have it twice but the user can select in the admin wich one he wants. I prefere both as a customer does not need to press a button and can see at least 1 review without an action. I'm still thinking a way to spice it up a little bit by removing the share procuct box from the left colom and implanting it on the product info page. This way there is a higher chance a user will share it Quote Link to comment Share on other sites More sharing options...
hornetnz Posted September 18, 2012 Share Posted September 18, 2012 I'm getting a "d is undefined" jquery error when clicking any of the 3 buttons that are supposed to open the dialog window. It instead redirects to the target page instead of opening it in a dialog. Suggestions? Quote Link to comment Share on other sites More sharing options...
Cyperis Posted September 18, 2012 Author Share Posted September 18, 2012 @@hornetnz Never saw that before. Javascript enabled? Quote Link to comment Share on other sites More sharing options...
hornetnz Posted September 18, 2012 Share Posted September 18, 2012 Yeah, check it out here - http://bit.ly/PoTGfX Quote Link to comment Share on other sites More sharing options...
Cyperis Posted September 18, 2012 Author Share Posted September 18, 2012 @@hornetnz Not sure really, just looking at it makes me think you have something in the wrong order on your product_info.php page. I think once I had something out of align and it was going to the file itself rather than doing the popup and that would automatically forward it. Quote Link to comment Share on other sites More sharing options...
ping_ping Posted September 19, 2012 Share Posted September 19, 2012 (edited) Hi EchoGuns, Well I finaly did it. I brought the 2 contributions to 1. If you want to see it in action here is the link. I did swith price with model. As it is more friendly. And I fix the issue with the layout of the buttons http://www.shoptuin.nl/product_info.php?cPath=21&products_id=28&language=en Hi mbuist: 1) On your sample page, I see that Description, Specification, and Delivery Time are on separate tabs. May I ask which contribution you installed for that feature? 2) If I disable the "Reivew" function, then the Review button would disappear. However, there would be a gap between the "? Question" and "Tell a Friend" buttons. How would I fix the layout of the buttons? Is it in stylesheet.css? Thank you for your help. Edited September 19, 2012 by ping_ping Quote Link to comment Share on other sites More sharing options...
Cyperis Posted September 19, 2012 Author Share Posted September 19, 2012 @@ping_ping He is using the Product Tabs which is found in my signature. He just changed the names of the tabs to reflect what he needed. The layout of the buttons is found in the product_info.php page and you can edit using any flat text editor. ping_ping 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.