Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Square meters problem


nataku_pl

Recommended Posts

Posted

Hi!

I'm new in osCommerce and I have a problem...

 

I need to implement calculating square meters of floors. Customers fills one field, and system calculates how many packages of ceramic floor tiling he need to order.

 

Is there any osCommerce plugin or easy solution for this problem?

Posted

I wouln't have the first clue how to do this, but i found someone elses calculator, see below

 

http://www.source4me.co.uk/calculate_patio...f7bf6ecadb31286

 

if you right click and view source, the web designers details are at the bottom, perhaps you could contact them and ask for a modified version. afterall most of the codes been written.

 

just a thought!

Running a botched up version of  osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help.

Posted

Don't forget that it's critical for a good-looking job, to shuffle the layout grid to end up with at least half a tile at each edge/wall of the floor (especially at doors and passages to other rooms). You don't want thin slivers of tile. This shouldn't be too hard to calculate in PHP code for a perfectly rectangular room, given tile dimensions and spacing, but if it's not a purely rectangular room you may have problems. This almost always calls for an experienced craftsman to judge tradeoffs in where to tweak the grid (and possibly space between tiles) to get the best effect.

 

I'm saying this so that you can avoid having disappointed customers who ended up with a crappy looking installation. Determining where to lay out the tile grid to achieve the best results is not simple mathematics, but involves some artistic/aesthetic judgment. Except in very simple cases, you may want to have the customer submit all dimensions, and come back to them with the number of tiles needed and where to start their grid (knowing how many are in a package may influence decisions, to avoid wasting most of a package).

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...