<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Forum posts to 'Extending and hacking'</title>
		<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/</link>
		

		
		<item>
			<title>Re: Setting SimpleShipping and TaxCalculator--- its not working</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/66984?showPost=71980</link>
			<description>Must i write the command these way&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Order::set_modifiers(TaxModifier::set_for_country(&quot;CH&quot;, 7.6, &quot;MWST.&quot;, &quot;inclusive&quot;));&lt;br /&gt;&lt;br /&gt;perhaps is  Romain Louis here he has write the new TaxModifier???&lt;br /&gt;&lt;br /&gt;Thanks for Help stooni&lt;br&gt;&lt;br&gt;Posted to: Setting SimpleShipping and TaxCalculator--- its not working</description>
			<pubDate>Thu, 15 May 2008 07:15:47 +1200</pubDate>
			<author>Martin Steiner</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/66984?showPost=71980</guid>
		</item>
		
		<item>
			<title>Re: Setting SimpleShipping and TaxCalculator--- its not working</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/66984?showPost=69342</link>
			<description>These its working&lt;br /&gt;SimpleShippingModifier::set_charges_for_countries(array(&lt;br /&gt;	  'CH' =&amp;gt; 10,&lt;br /&gt;	   'DE' =&amp;gt; 25,&lt;br /&gt;	 ));&lt;br /&gt;&lt;br /&gt;because these not working&lt;br /&gt;TaxModifier::set_for_country(&quot;CH&quot;, 7.6, &quot;MWST.&quot;, &quot;inclusive&quot;);&lt;br /&gt;&lt;br /&gt;You Check on [url]http://const.webjobs.ch/products/[/url]&lt;br /&gt;&lt;br /&gt;thanks for help&lt;br /&gt;&lt;br /&gt;--- stooni!&lt;br&gt;&lt;br&gt;Posted to: Setting SimpleShipping and TaxCalculator--- its not working</description>
			<pubDate>Sat, 10 May 2008 20:47:06 +1200</pubDate>
			<author>Martin Steiner</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/66984?showPost=69342</guid>
		</item>
		
		<item>
			<title>Re: Setting SimpleShipping and TaxCalculator--- its not working</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/66984?showPost=68819</link>
			<description>in the documentation TaxCalculator is  wrong!!!&lt;br /&gt;// Set the tax calculation to be for NZ customers at 12.5% exclusive&lt;br /&gt;// on the order price.&lt;br /&gt;TaxCalculator::set_for_country(&quot;NZ&quot;, 0.125, &quot;GST&quot;, &quot;exclusive&quot;);&lt;br /&gt;&lt;br /&gt;when i take this one in the log saying &lt;br /&gt;&lt;br /&gt;PHP Fatal error: Class 'TaxCalculator' not found in /var/www/vhosts/webjobs.ch/subdomains/const/httpdocs/ecommerce/_config.php on line 17,&lt;br /&gt;&lt;br /&gt;Some Help?&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;---Stooni&lt;br&gt;&lt;br&gt;Posted to: Setting SimpleShipping and TaxCalculator--- its not working</description>
			<pubDate>Fri, 09 May 2008 19:45:37 +1200</pubDate>
			<author>Martin Steiner</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/66984?showPost=68819</guid>
		</item>
		
		<item>
			<title>Re: Setting SimpleShipping and TaxCalculator--- its not working</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/66984?showPost=67220</link>
			<description>Setting SimpleShipping  --- is ok. in the new version functionaly&lt;br /&gt;&lt;br /&gt;because when i set&lt;br /&gt;&lt;br /&gt;TaxCalculator::set_for_country(&quot;CH&quot;, 7.6, &quot;MWST.&quot;, &quot;inclusive&quot;);&lt;br /&gt;&lt;br /&gt;in the ecommerce/_config.php then nothing dooing also when i db/build...  or /?flush=1 ...???&lt;br /&gt;???&lt;br /&gt;&lt;br /&gt;thanks for help!&lt;br /&gt;&lt;br /&gt;--stooni&lt;br&gt;&lt;br&gt;Posted to: Setting SimpleShipping and TaxCalculator--- its not working</description>
			<pubDate>Thu, 08 May 2008 07:55:30 +1200</pubDate>
			<author>Martin Steiner</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/66984?showPost=67220</guid>
		</item>
		
		<item>
			<title>Setting SimpleShipping and TaxCalculator--- its not working</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/66984</link>
			<description>I have setting in _config.php following parameters!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SimpleShippingCalculator::set_charges(10);&lt;br /&gt;TaxCalculator::set_for_country(&quot;CH&quot;, 7.6, &quot;MWST&quot;, &quot;inclusive&quot;);&lt;br /&gt;&lt;br /&gt;and in the Order.php&lt;br /&gt;$shipping = '$' . number_format($sc-&amp;gt;Shipping(), 2);&lt;br /&gt;$tax = '$' . number_format($sc-&amp;gt;calcAddedTax(), 2);		&lt;br /&gt;remove the Comment // signs ... &lt;br /&gt;	&lt;br /&gt;it still does not working??? &lt;br /&gt;&lt;br /&gt;Can any body help me!!!&lt;br /&gt;&lt;br /&gt;Thanks   ---stooni&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br&gt;Posted to: Setting SimpleShipping and TaxCalculator--- its not working</description>
			<pubDate>Wed, 07 May 2008 21:44:47 +1200</pubDate>
			<author>Martin Steiner</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/66984</guid>
		</item>
		

	</channel>
</rss>
