<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - Topic: Move add to cart on product page</title>
		<link>http://www.kriesi.at/support/topic/move-add-to-cart-on-product-page</link>
		<description>Support Forum - Topic: Move add to cart on product page</description>
		<language>en-US</language>
		<pubDate>Sun, 26 May 2013 06:27:09 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/move-add-to-cart-on-product-page" rel="self" type="application/rss+xml" />

		<item>
			<title>Nick on "Move add to cart on product page"</title>
			<link>http://www.kriesi.at/support/topic/move-add-to-cart-on-product-page#post-75183</link>
			<pubDate>Mon, 10 Sep 2012 14:26:50 +0000</pubDate>
			<dc:creator>Nick</dc:creator>
			<guid isPermaLink="false">75183@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Kate,&#60;/p&#62;
&#60;p&#62;Terribly sorry for the delay. I wrote out the plan of attack below:&#60;/p&#62;
&#60;p&#62;1) Please make a backup of config.php inside the config-woocommerce directory in the root of the theme.&#60;/p&#62;
&#60;p&#62;2) In the file config.php, please *delete* from lines 321-332 which look like:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//price
	if(is_object($product) &#38;amp;&#38;amp; is_singular())
	{
		echo &#38;quot;&#38;lt;div class=&#38;#39;price_container&#38;#39;&#38;gt;&#38;quot;;
		woocommerce_template_single_price($post, $product);
		echo &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
	}

	if(!empty($slider)) {
		avia_add_to_cart($post, $product );
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;3) delete a block of code below which starts on line 171 and ends on line 191&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;#
# create the shop navigation with account links, as well as cart and checkout
#

function avia_woocommerce_template_single_excerpt($post)
{
	global $product;

	if(is_singular() &#38;amp;&#38;amp; avia_post_meta(&#38;#39;hero&#38;#39;))
	{
		echo &#38;quot;&#38;lt;div class=&#38;#39;hero-text entry-content&#38;#39;&#38;gt;&#38;quot;;
		the_excerpt();
		echo &#38;quot;&#38;lt;span class=&#38;#39;seperator extralight-border&#38;#39;&#38;gt;&#38;lt;/span&#38;gt;&#38;quot;;
		echo &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
	}

	echo &#38;quot;&#38;lt;div class=&#38;#39;summary-main-content entry-content&#38;#39;&#38;gt;&#38;quot;;
	the_content();
	echo &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;4) and paste the code below on line 171 after deleting the code in step 3&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;#
# create the shop navigation with account links, as well as cart and checkout
#

function avia_woocommerce_template_single_excerpt($post)
{
	global $avia_config, $product;

	if(is_singular() &#38;amp;&#38;amp; avia_post_meta(&#38;#39;hero&#38;#39;))
	{
		echo &#38;quot;&#38;lt;div class=&#38;#39;hero-text entry-content&#38;#39;&#38;gt;&#38;quot;;
		the_excerpt();
		echo &#38;quot;&#38;lt;span class=&#38;#39;seperator extralight-border&#38;#39;&#38;gt;&#38;lt;/span&#38;gt;&#38;quot;;
		echo &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
	}

	echo &#38;quot;&#38;lt;div class=&#38;#39;summary-main-content entry-content&#38;#39;&#38;gt;&#38;quot;;
	the_content();
	echo &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
	//price
	if(is_object($product) &#38;amp;&#38;amp; is_singular())
	{
		echo &#38;quot;&#38;lt;div class=&#38;#39;price_container&#38;#39;&#38;gt;&#38;quot;;
		woocommerce_template_single_price($post, $product);
		echo &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
	}

//	echo &#38;quot;--&#38;gt;&#38;quot;;
	if(!empty($slider)) {
		avia_add_to_cart($post, $product );
	}
if(empty($avia_config[&#38;#39;slide_output&#38;#39;]))
	{
		//$slider = new avia_slideshow(get_the_ID());
		//$slider -&#38;gt; setImageSize(&#38;#39;portfolio&#38;#39;);
		//echo $slider-&#38;gt;display();
		//echo $slider-&#38;gt;slideshow_thumbs();
	}
	else
	{
		avia_add_to_cart($post, $product );
		//echo &#38;quot;&#38;lt;h1 class=&#38;#39;post-title portfolio-single-post-title&#38;#39;&#38;gt;&#38;quot;.get_the_title().&#38;quot;&#38;lt;/h1&#38;gt;&#38;quot;;
	}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;5) Line 339-343 should look like&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;else
	{
		avia_add_to_cart($post, $product );
		echo &#38;quot;&#38;lt;h1 class=&#38;#39;post-title portfolio-single-post-title&#38;#39;&#38;gt;&#38;quot;.get_the_title().&#38;quot;&#38;lt;/h1&#38;gt;&#38;quot;;
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;so please change them to look like&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;else
	{
		echo &#38;quot;&#38;lt;h1 class=&#38;#39;post-title portfolio-single-post-title&#38;#39;&#38;gt;&#38;quot;.get_the_title().&#38;quot;&#38;lt;/h1&#38;gt;&#38;quot;;
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;* Save, cross your finger, and look at the results. Don't forget that any update of the theme will undo this edit (update of plugin should not).&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Nick
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Devin on "Move add to cart on product page"</title>
			<link>http://www.kriesi.at/support/topic/move-add-to-cart-on-product-page#post-74534</link>
			<pubDate>Wed, 05 Sep 2012 17:32:38 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">74534@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I've tagged this for Nick so he can quickly re-find it :)&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cutecreations on "Move add to cart on product page"</title>
			<link>http://www.kriesi.at/support/topic/move-add-to-cart-on-product-page#post-74310</link>
			<pubDate>Tue, 04 Sep 2012 12:57:06 +0000</pubDate>
			<dc:creator>cutecreations</dc:creator>
			<guid isPermaLink="false">74310@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Nick, &#60;/p&#62;
&#60;p&#62;Have sent you the details :-)&#60;/p&#62;
&#60;p&#62;Kind regards&#60;/p&#62;
&#60;p&#62;Kate
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Nick on "Move add to cart on product page"</title>
			<link>http://www.kriesi.at/support/topic/move-add-to-cart-on-product-page#post-69624</link>
			<pubDate>Mon, 06 Aug 2012 16:04:16 +0000</pubDate>
			<dc:creator>Nick</dc:creator>
			<guid isPermaLink="false">69624@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I was able to move both the price and the block with the shopping cart under the description.. The only problem is, to explain it like this in a meaningful way would take hours. Even though its just surgically moving 4 blocks of code. If you can create a temporary password and login for me and email them to usjahm [at] gmail.com , I can make the modifications in 10-15 minutes. &#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Nick
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cutecreations on "Move add to cart on product page"</title>
			<link>http://www.kriesi.at/support/topic/move-add-to-cart-on-product-page#post-69221</link>
			<pubDate>Fri, 03 Aug 2012 09:26:19 +0000</pubDate>
			<dc:creator>cutecreations</dc:creator>
			<guid isPermaLink="false">69221@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'm afraid neither of those worked. It put it underneath the related products instead and not just underneath the description text.&#60;/p&#62;
&#60;p&#62;It also didn't move the cost of the product along with the box with the add to cart and quantity.&#60;/p&#62;
&#60;p&#62;Kind regards&#60;/p&#62;
&#60;p&#62;Kate
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Move add to cart on product page"</title>
			<link>http://www.kriesi.at/support/topic/move-add-to-cart-on-product-page#post-69211</link>
			<pubDate>Fri, 03 Aug 2012 08:58:42 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">69211@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Try following - open up propulsion\config-woocommerce/config.php and replace:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action( &#38;#39;avia_add_to_cart&#38;#39;, &#38;#39;woocommerce_template_single_add_to_cart&#38;#39;, 30, 2 );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action( &#38;#39;woocommerce_after_single_product_summary&#38;#39;, &#38;#39;woocommerce_template_single_add_to_cart&#38;#39;, 30, 2 );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;or: &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action( &#38;#39;woocommerce_after_single_product&#38;#39;, &#38;#39;woocommerce_template_single_add_to_cart&#38;#39;, 30, 2 );&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>cutecreations on "Move add to cart on product page"</title>
			<link>http://www.kriesi.at/support/topic/move-add-to-cart-on-product-page#post-69179</link>
			<pubDate>Fri, 03 Aug 2012 06:49:58 +0000</pubDate>
			<dc:creator>cutecreations</dc:creator>
			<guid isPermaLink="false">69179@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey&#60;/p&#62;
&#60;p&#62;Is there any way to move the 'add to cart' panel and price to underneath the product description?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://cutecreations.co.uk/wp/shop/chickie-necklace&#34; rel=&#34;nofollow&#34;&#62;http://cutecreations.co.uk/wp/shop/chickie-necklace&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Kind regards&#60;/p&#62;
&#60;p&#62;Kate
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
