Search found 8 matches

Page 1 of 1

Search found 8 matches

Re: Decimal Places Producing Wrong Prices

it's some later flavour of 1.4.x but as I said it's been modified so heavily it's a million miles away from the original distro. I'll try asking Daniel. Thanks very much for your help

Jump to post
  • Tue Jun 14, 2011 11:34 pm
  • Replies 12
  • Views 4232
Re: Decimal Places Producing Wrong Prices

Thanks for looking to to this for me i2Paq - Is there anyway you could let me know what the fix was? Or could I ask Daniel myself? Becuase i'm running a heavily modified version of OC that I'm unable to update to a newer version

Jump to post
  • Tue Jun 14, 2011 6:54 pm
  • Replies 12
  • Views 4232
Re: Decimal Places Producing Wrong Prices

Hi, I've tried it with 2 and 4 decimal places with no difference. I think it defaults to 4 as soon as it enters the database anyway due to the structure of the price field (DECIMAL (15,4))

Jump to post
  • Mon Jun 13, 2011 4:48 pm
  • Replies 12
  • Views 4232
Re: Decimal Places Producing Wrong Prices

It's set to 2 decimals

EDIT: sorry, misread that a bit. The currency class is set to two decimal places and the products are all entered with 2 decimal places

Jump to post
  • Fri Jun 10, 2011 9:03 pm
  • Replies 12
  • Views 4232
Decimal Places Producing Wrong Prices

Hi, I've had this issue on a few sites i've been working on recently with regards to decimal places of prices. For example, I have a product with a price of 21.67, so with 20% VAT added the product is £26. If a customer buys two of this product, they should be charged £52 but they are being charged ...

Jump to post
  • Fri Jun 10, 2011 7:39 pm
  • Replies 12
  • Views 4232
Re: Product Option Variations

Thanks for the heads up on those other posts. Just took a look at them and people are either telling the OP to go away or coming up with ridiculously complex ideas. Makes my idea look a piece of cake. This is how the option hierarchy works with my idea: Colour White Size Large Medium Blue Size Large...

Jump to post
  • Thu Jun 09, 2011 1:07 am
  • Replies 15
  • Views 14533
Product Option Variations

Hi all, I'm having a bit of an issue with a clothing store I'm making a site for. They have there master product, e.g a Polo Shirt, which then has different sizes and colours. So I added the different sizes and colours to the product options but this is where the problem lies. If i add an option for...

Jump to post
  • Wed Jun 08, 2011 9:36 pm
  • Replies 15
  • Views 14533
Re: Show all categories a product is in

I realise this post is quite old but wanted to show a very simpler way of doing it Put the following code in to catalog/model/category.php: public function getProductCategories($prodid) { $query = $this->db->query("SELECT category_id FROM " . DB_PREFIX . "product_to_category WHERE pro...

Jump to post
  • Fri Dec 03, 2010 12:52 am
  • Replies 16
  • Views 21421

Page 1 of 1

Search found 8 matches