mJULESY Posted April 10, 2005 Posted April 10, 2005 Hi Guys, I want to display the avilibility of products ast the top of my product_info page just under the model, are there any contrubitions that do that, i have fount one called product availibility 1.6b but it seems to require "osCommerce 2.2 CVS CRE_loaded6.0 WITH PATCH 1,2,3 INSTALLED" which i do not have. All that i want to be able to do is display the amount that that i have in Stock like so: Avability:20 in stock or Avilibility:OUT OF STOCK Surely someone has done this, i have looked in the contrubitions agaian and again but cant find one, Any ideas Chears in advance! mJULESY
♥14steve14 Posted April 10, 2005 Posted April 10, 2005 can you not move the piece of code that is already present to show stock levels at the bottom of the listing to the top. It cant be that hard to do. I am no programmer, but that must be the easiest way REMEMBER BACKUP, BACKUP AND BACKUP
mJULESY Posted April 10, 2005 Author Posted April 10, 2005 Cheers steve, you right but i also wanted to add custome text like prduct out of stock, comming soon, no longer available etc... what i am going to add is your suggestion just to get me going with the following code.. <tr> <td align="center" class="main">Avaiability: <b><?php echo tep_get_products_stock($product_info['products_id']); ?></b> in stock.<p></td> </tr> then i might try and add to it! Cheers
TerryK Posted April 10, 2005 Posted April 10, 2005 There is a contribution for adding stock messages - check the Contributions section for 'Product Availability.' You can see it in action on my site, here: http://www.kididdles.com/catalog HTH, Terry Terry Kluytmans Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like: Add order total to checkout_shipment Add order total to checkout_payment Add radio buttons at checkout_shipping (for backorder options, etc.) Duplicate Table Rate Shipping Module Better Product Review Flow * If at first you don't succeed, find out if there's a prize for the loser. *
mJULESY Posted April 10, 2005 Author Posted April 10, 2005 There is a contribution for adding stock messages - check the Contributions section for 'Product Availability.' You can see it in action on my site, here: http://www.kididdles.com/catalog HTH, Terry <{POST_SNAPBACK}> Hi Terry, i found that one as i pointed out in my first posting but in the readme it says that it is only for "version of osCommerce 2.2 CVS CRE_loaded6.0 WITH PATCH 1,2,3 INSTALLED" this contrubition aslo looked very long and difficult to install, What was it like for you? i have made a simple change for my site www.wifigear.co.uk although i could do with more options... cheers
TerryK Posted April 10, 2005 Posted April 10, 2005 http://www.oscommerce.com/community/contri...ct+Availability Get the newest download there. I don't think I had that much trouble installing it, but can't really remember... Terry Terry Kluytmans Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like: Add order total to checkout_shipment Add order total to checkout_payment Add radio buttons at checkout_shipping (for backorder options, etc.) Duplicate Table Rate Shipping Module Better Product Review Flow * If at first you don't succeed, find out if there's a prize for the loser. *
Recommended Posts
Archived
This topic is now archived and is closed to further replies.