<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>delete cart Архиви - rosen4o.net</title>
	<atom:link href="https://rosen4o.net/tag/delete-cart/feed/" rel="self" type="application/rss+xml" />
	<link>https://rosen4o.net/tag/delete-cart/</link>
	<description></description>
	<lastBuildDate>Tue, 18 Dec 2012 19:49:48 +0000</lastBuildDate>
	<language>bg-BG</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>virtuemart empty cart link</title>
		<link>https://rosen4o.net/2012/12/18/virtuemart-empty-cart-link/</link>
					<comments>https://rosen4o.net/2012/12/18/virtuemart-empty-cart-link/#comments</comments>
		
		<dc:creator><![CDATA[rosen4o]]></dc:creator>
		<pubDate>Tue, 18 Dec 2012 19:45:27 +0000</pubDate>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[cart]]></category>
		<category><![CDATA[delete cart]]></category>
		<category><![CDATA[empty cart]]></category>
		<category><![CDATA[joomla]]></category>
		<guid isPermaLink="false">http://rosen4o.net/?p=906</guid>

					<description><![CDATA[<p>go to /components/com_virtuemart/controllers/cart.php and add this fuction public function deleteall() { $mainframe = JFactory::getApplication(); $cart = VirtueMartCart::getCart(); $cart-&#62;emptyCart(); $mainframe-&#62;redirect(JRoute::_(&#8216;index.php?option=com_virtuemart&#38;view=cart&#8217;)); } Go to your cart template and add &#60;a title=&#8220;&#60;?php echo JText::_(&#8216;COM_VIRTUEMART_CART_DELETE&#8217;) ?&#62;&#8220; align=&#8220;middle&#8220; href=&#8220;&#60;?php echo JRoute::_(&#8216;index.php?option=com_virtuemart&#38;view=cart&#38;task=deleteall&#8217;) ?&#62;&#8220;&#62;&#60;i&#62;&#60;/i&#62;&#60;/a&#62;</p>
<p>Материалът <a href="https://rosen4o.net/2012/12/18/virtuemart-empty-cart-link/">virtuemart empty cart link</a> е публикуван за пръв път на <a href="https://rosen4o.net">rosen4o.net</a>.</p>
]]></description>
										<content:encoded><![CDATA[<blockquote><p>go to /components/com_virtuemart/controllers/cart.php and add this fuction</p>
<p>public function deleteall() {<br />
$mainframe = JFactory::getApplication();</p>
<p>$cart = VirtueMartCart::getCart();<br />
$cart-&gt;emptyCart();<br />
$mainframe-&gt;redirect(JRoute::_(&#8216;index.php?option=com_virtuemart&amp;view=cart&#8217;));<br />
}</p>
<p>Go to your cart template and add</p>
<p>&lt;a title=&#8220;&lt;?php echo JText::_(&#8216;COM_VIRTUEMART_CART_DELETE&#8217;) ?&gt;&#8220; align=&#8220;middle&#8220; href=&#8220;&lt;?php echo JRoute::_(&#8216;index.php?option=com_virtuemart&amp;view=cart&amp;task=deleteall&#8217;) ?&gt;&#8220;&gt;&lt;i&gt;&lt;/i&gt;&lt;/a&gt;</p></blockquote>
<p>Материалът <a href="https://rosen4o.net/2012/12/18/virtuemart-empty-cart-link/">virtuemart empty cart link</a> е публикуван за пръв път на <a href="https://rosen4o.net">rosen4o.net</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://rosen4o.net/2012/12/18/virtuemart-empty-cart-link/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
