skaterguy Posted July 3, 2005 Posted July 3, 2005 Hi Folks I have an interesting problem to a vanilla installation. After pressing the buy button, if I enter 1.5 in the quantity field and press the checkout button. My quanitity field gets reset to a whole interger of 1.0 - however, if I edit the product quantity back to 1.5 in the Order confirmation screen. The quantity field will stay at 1.5... In a nutshell the shopping cart Update Button allows fractions in the quantity field such as 1.5 - but if you use the checkout button it will convert my quantity field to a whole number upon check-out finalization. Has this bug been reported! I want to be able to have fractions such as 1.5 meters.... What gives!!! Danny
Guest Posted July 3, 2005 Posted July 3, 2005 Hi Folks I have an interesting problem to a vanilla installation. After pressing the buy button, if I enter 1.5 in the quantity field and press the checkout button. My quanitity field gets reset to a whole interger of 1.0 - however, if I edit the product quantity back to 1.5 in the Order confirmation screen. The quantity field will stay at 1.5... In a nutshell the shopping cart Update Button allows fractions in the quantity field such as 1.5 - but if you use the checkout button it will convert my quantity field to a whole number upon check-out finalization. Has this bug been reported! I want to be able to have fractions such as 1.5 meters.... What gives!!! Danny <{POST_SNAPBACK}> Not a bug, just the way it works. Obviously designed to work with whole products, no one should be able to buy 1? warddrobes. so there must be a rounding function in there somewhere that you would need to change.
skaterguy Posted July 4, 2005 Author Posted July 4, 2005 Not a bug, just the way it works. Obviously designed to work with whole products, no one should be able to buy 1? warddrobes. so there must be a rounding function in there somewhere that you would need to change. <{POST_SNAPBACK}> 1. What about if the product is fabric - you should be able to buy 1.5 meters of fabric? 2. Plus it isn't consistent if you press the UPDATE button (shopping cart) it will takes a fractional value... but if you press the BUY button (shopping cart) it doesn't take a frational value. If a function is called it should be used in both places not only in one place? I would call this a bug... Danny
Guest Posted July 4, 2005 Posted July 4, 2005 1. What about if the product is fabric - you should be able to buy 1.5 meters of fabric? 2. Plus it isn't consistent if you press the UPDATE button (shopping cart) it will takes a fractional value... but if you press the BUY button (shopping cart) it doesn't take a frational value. If a function is called it should be used in both places not only in one place? I would call this a bug... Danny <{POST_SNAPBACK}> Guess you're right then. Better report it.
skaterguy Posted July 4, 2005 Author Posted July 4, 2005 Guess you're right then. Better report it. <{POST_SNAPBACK}> Thanks, where and how to you report a bug... Danny
beeze455 Posted July 4, 2005 Posted July 4, 2005 I think I am trying to do something just like you. I have created a site http://www.butlerhillglass.com, but I cannot charge by the pound. I am not sure if I need to do something inside of OScommerce or if a script is needed. Feel free to look at the site. I would mainly like quanity conveted into pounds. I currently cannot do less than one though or a fraction.
AlanR Posted July 4, 2005 Posted July 4, 2005 This is by far not a new issue. Search using the term "fractional" http://www.oscommerce.com/forums/index.php?act...lite=Fractional Lots of people are using fractional quantities, I'm not so I'm not familiar with the issues. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
Guest Posted July 4, 2005 Posted July 4, 2005 Thanks, where and how to you report a bug... Danny <{POST_SNAPBACK}> On the community menu at the top of this page there is a Bug Reports option. maybe try there.
skaterguy Posted July 4, 2005 Author Posted July 4, 2005 This is by far not a new issue. Search using the term "fractional" http://www.oscommerce.com/forums/index.php?act...lite=Fractional Lots of people are using fractional quantities, I'm not so I'm not familiar with the issues. <{POST_SNAPBACK}> Thanks - did the search and it appears to be alot of discussion about whether a product has to be a whole number... alot of rants - but no real answers... I also checked the bug section- and the same rants appear their as well. I guess I will have to search thru the code to see why this is happening. It should be consistent - (whole or fraction allowed) not one button allowing fractions and another not. Any help with this issue would be appreciated. Danny
beeze455 Posted July 6, 2005 Posted July 6, 2005 I would like store to be able to order .5 items. I just can't figure out how.
skaterguy Posted July 7, 2005 Author Posted July 7, 2005 I would like store to be able to order .5 items. I just can't figure out how. <{POST_SNAPBACK}> I guess nobody wants to help us... so I guess I will have to look at the code to see what is happening. I would have thought that this would have been a common issue and that someone would have helped us by now. Danny
lrdiii Posted July 30, 2005 Posted July 30, 2005 I guess nobody wants to help us... so I guess I will have to look at the code to see what is happening. I would have thought that this would have been a common issue and that someone would have helped us by now. Danny <{POST_SNAPBACK}> I have the same problem selling fabric and could surely use a fix, but in the meantime am setting my minimum quantity (0.5 yd) as "1 unit". So if someone wants 5 yds they'll have to order qty 10. It'll be a nightmare, but perhaps not as bad as the alternative...! Lou
Jeremy at oddly enough Posted July 31, 2005 Posted July 31, 2005 It's ok folks, you can sell fractional products, you just need to put some thought into using the attribute function properly. We sell mosaic tile, by the pound. I have it set up so that 1 pound is the basic unit, with optional attributes that can allow half, quarter pounds, and in some cases sheets, what ever I want. You can adjust the price, and set it to adjust the weight for shipping calculations too. It will show the adjustments on the order invoice as well. You will want to do a search to find solutions to some common problems. The way attributes are displayed in a stock store is not likely to make you jump for joy, but code changes and contribs are around to fix this. The stock method of inputting attributes leaves a lot to be desired, there are contribs for this too. Before I found osc, I was using a shop program that was such a straight jacket I was using half pounds as a basic unit, and it was awful, do not do it! Jeremy
skaterguy Posted March 16, 2006 Author Posted March 16, 2006 Thanks Jeremy Tried the product attribute method - but since we like to give the client alot of flexibility ie: being able to buy .1 or .2 or 2.5 etc of a meter of our product. This method was a real nightmare. I really like OSC but wish that some of the developers would help us out. I started by checking out the Database where the several fields would need to be changed from int to decimal. Table name orders_products Field name Products_quantity int(2) not null default 0 Table name products products_quantity int(4) not null default 0 products_ordered int(4) not null default 0 Table Name Customers_basket customers_basket_quantity int(2) Not Null default 0 I hope this is all the fields that require adjustment ... I looked at the code and couldn't find anything that made the product quantity an interger. Any suggestion/comments or help would be appreciated. Dan
Recommended Posts
Archived
This topic is now archived and is closed to further replies.