<?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"

			>

	<channel>

		<title>WooCommerce Page redirection &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/woocommerce-page-redirection/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/woocommerce-page-redirection/feed/</link>
		<description></description>
		<lastBuildDate>Sat, 11 Oct 2025 11:46:14 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/woocommerce-page-redirection/#post-171427</guid>
					<title><![CDATA[WooCommerce Page redirection]]></title>
					<link>https://theme.co/archive/forums/topic/woocommerce-page-redirection/#post-171427</link>
					<pubDate>Fri, 26 Dec 2014 20:51:27 +0000</pubDate>
					<dc:creator>jeffyablon</dc:creator>

					<description>
						<![CDATA[
						<p>I realize this may be more of a woocommerce support issue than one for you guys, but I&#8217;m gonna take a shot.</p>
<p>When I set up a page in woocommerce with an affiliate link (and hey &#8230; that is a category in there, out of the box), the item in my home/shop/product archive page links DIRECTLY to the affiliate page.</p>
<p>Not what I want.</p>
<p>I want the image to link to my internal product page, FROM WHICH I can redirect people to the affiliate link.</p>
<p>There seem to be only two choices:<br />
1) Use the affiliate link in the product page&#8217;s parameters, which does what I just said<br />
2) Use my internal product page link, which thn has a BUY button that does NOT go to the affilate page.</p>
<p>So at its simplest I guess I&#8217;m asking whether there&#8217;s a way to have the link on my product page link to somewhere other than the link built into woocommerce. Circular logic be bad!</p>
<p>Thanks</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/woocommerce-page-redirection/#post-171470</guid>
					<title><![CDATA[Reply To: WooCommerce Page redirection]]></title>
					<link>https://theme.co/archive/forums/topic/woocommerce-page-redirection/#post-171470</link>
					<pubDate>Fri, 26 Dec 2014 22:16:30 +0000</pubDate>
					<dc:creator>John Ezra</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Thanks for writing in. The overall logic &#8220;the product page then links to the affiliate if it&#8217;s an affiliate category item&#8221; is quite simple. With static sites,it would just be manually placing the links, with dynamic sites like WordPress though you need to write loops and conditionals. </p>
<p>Regretfully what you need isn&#8217;t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities. </p>
<p>To give you some direction, here are some thoughts you can try taking to woocommerce or a developer.</p>
<p>1.Conditional to check if the product post is an affiliate category.</p>
<p>2. If yes output a custom single post page template that looks similar to regular post type template with the difference of the buy button now links to affiliate page.</p>
<p>3. If not an affiliate product to just output the regular product post type template.</p>
<p>Hope this helsp and sorry we can&#8217;t provide further support on this. Thanks for understanding. Take care!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/woocommerce-page-redirection/#post-171517</guid>
					<title><![CDATA[Reply To: WooCommerce Page redirection]]></title>
					<link>https://theme.co/archive/forums/topic/woocommerce-page-redirection/#post-171517</link>
					<pubDate>Fri, 26 Dec 2014 23:49:44 +0000</pubDate>
					<dc:creator>jeffyablon</dc:creator>

					<description>
						<![CDATA[
						<p>Appreciate it. Like I said, I thought it might not be a &#8220;you&#8221; thing. Was just hoping .</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/woocommerce-page-redirection/#post-171545</guid>
					<title><![CDATA[Reply To: WooCommerce Page redirection]]></title>
					<link>https://theme.co/archive/forums/topic/woocommerce-page-redirection/#post-171545</link>
					<pubDate>Sat, 27 Dec 2014 01:19:00 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>You&#8217;re welcome Jeffy! And thanks for understanding.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/woocommerce-page-redirection/#post-171830</guid>
					<title><![CDATA[Reply To: WooCommerce Page redirection]]></title>
					<link>https://theme.co/archive/forums/topic/woocommerce-page-redirection/#post-171830</link>
					<pubDate>Sat, 27 Dec 2014 18:22:47 +0000</pubDate>
					<dc:creator>jeffyablon</dc:creator>

					<description>
						<![CDATA[
						<p>OK, so&#8230; I&#8217;ve done some investigation and I believe that if I re-frame my question this IS an &#8220;X&#8221; issue:</p>
<p>The way Woocommerce works, as I now understand it, it that if a theme has built-in support for it (as X does), then it is the theme that controls pretty much everything about how thing look and work. Hierarchically, this means that the implementation of theme-specific woocommerce functions and styles override woo&#8217;s native stuff, in much the same way using a child theme overrides a parent.</p>
<p>By extension, one can secondarily override your woo work by setting up woo stuff in the child of x, matching your override of woo. This is good.</p>
<p>Since each of the products on my shop page LOOKS like X (specifically, the buy buttons act just like the carousel items in Ethos), I presume the place they are pointed (&#8220;buy/add to cart&#8221;) is also controlled by X. And since if someone DOES get to the actual product pages there&#8217;s still (the same) buy mechanism.</p>
<p>So: how do I replace what I now think is YOUR CHOICE of where the button point from the shop archive page to the PRODUCT pages instead of jumping directly to &#8220;buy/add to cart&#8221;?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/woocommerce-page-redirection/#post-171887</guid>
					<title><![CDATA[Reply To: WooCommerce Page redirection]]></title>
					<link>https://theme.co/archive/forums/topic/woocommerce-page-redirection/#post-171887</link>
					<pubDate>Sat, 27 Dec 2014 20:49:08 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Jeffy,</p>
<p>You should able to find the templates used for woocommerce at /x/woocommerce/. We do not create our own standard for woocommerce, as you can see it still under /woocommerce/ folder as their rule.</p>
<p>Woocommerce also uses filters and action as their standard. And you should find this at /x/framework/functions/global/plugins/woocommerce.php</p>
<p>We can&#8217;t cover any documentation or help of how these filters/actions should be use, so you may consult woocommerce for that.</p>
<blockquote><p>how do I replace what I now think is YOUR CHOICE of where the button point from the shop archive page to the PRODUCT pages instead of jumping directly to “buy/add to cart”?</p></blockquote>
<p>From /x/framework/functions/global/plugins/woocommerce.php</p>
<pre><code>function x_woocommerce_after_shop_loop_item_title() {
  woocommerce_get_template( &#039;loop/add-to-cart.php&#039; );
  echo &#039;&lt;/header&gt;&lt;/div&gt;&#039;;
}</code></pre>
<p>Which still load the native add cart template from woocommerce plugin directory and not from X.</p>
<p>Hope this helps.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/woocommerce-page-redirection/#post-171890</guid>
					<title><![CDATA[Reply To: WooCommerce Page redirection]]></title>
					<link>https://theme.co/archive/forums/topic/woocommerce-page-redirection/#post-171890</link>
					<pubDate>Sat, 27 Dec 2014 20:56:56 +0000</pubDate>
					<dc:creator>jeffyablon</dc:creator>

					<description>
						<![CDATA[
						<p>yes, but &#8230; no. It&#8217;s you guys, at least in part. see this thread: <a href="https://theme.co/x/member/forums/topic/no-woocommerce-product-image-sizes/" rel="nofollow">https://theme.co/x/member/forums/topic/no-woocommerce-product-image-sizes/</a></p>
<p>SOMETHING is wrong in your Woo implementation, at least as it lives, un-altered, on my site.</p>
<p>As I suggested in the other thread, maybe who ever is working on the two should put their heads together.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/woocommerce-page-redirection/#post-171964</guid>
					<title><![CDATA[Reply To: WooCommerce Page redirection]]></title>
					<link>https://theme.co/archive/forums/topic/woocommerce-page-redirection/#post-171964</link>
					<pubDate>Sun, 28 Dec 2014 00:24:26 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Jeffy,</p>
<p>There is no wrong with woocommerce template implementation, it still simply follow the correct template structure from /plugins/woocommerce/templates/ check it and you should see. The changes we add is just to make it look more alike with X theme styling/design. So again, you should consult woocommerce documentation for integration/development. And I gave you the list of files and folder where you can find these integration from X for woocommerce and you will not find them on other places, but just from those given references.</p>
<p>And about your other thread,</p>
<p>Yes, switching will of course give some differences because of the integration and css styling are not available on other theme. Again, you&#8217;re free to edit/override those given templates ( /x/woocommerce/ and /x/framework/functions/global/plugins/woocommerce.php ). What you will do on those templates are your call, I could guide you though. But more than X&#8217;s default feature like extending, modification, and enhancement of current integration are out of our capability as we don&#8217;t cover woocommerce development. Our job is primarily addressing bugs, fixes, and some tweaking.</p>
<p>1. Image Control &#8211; Yes, this is overriden because X is meant to be responsive. And image sizes are computed dynamically base on total width of the layout. Now imagine if your thumbnail is 150&#215;150, and your site is displayed on mobile with 600px width. Then 150px image on 600px contain will be ugly as it will be pixelated. If you wish to use woocommerce default size, then just edit /x/framework/functions/global/plugins/woocommerce.php and find this code</p>
<pre><code>// Shop Thumbnail
// =============================================================================

//
// $stack_shop_thumb = &#039;shop_catalog&#039; and woocommerce_get_product_thumbnail()
// can be used as well to echo out the thumbnail.
//

function x_woocommerce_shop_thumbnail() {

  GLOBAL $product;

  $stack            = x_get_stack();
  $stack_thumb      = &#039;entry-full-&#039; . $stack;
  $stack_shop_thumb = $stack_thumb;
  $id               = get_the_ID();
  $rating           = $product-&gt;get_rating_html();

  woocommerce_show_product_sale_flash();
  echo &#039;&lt;div class=&quot;entry-featured&quot;&gt;&#039;;
    echo &#039;&lt;a href=&quot;&#039; . get_the_permalink() . &#039;&quot;&gt;&#039;;
      echo get_the_post_thumbnail( $id , $stack_shop_thumb );
      if ( ! empty( $rating ) ) {
        echo &#039;&lt;div class=&quot;star-rating-container aggregate&quot;&gt;&#039; . $rating . &#039;&lt;/div&gt;&#039;;
      }
    echo &#039;&lt;/a&gt;&#039;;
  echo &quot;&lt;/div&gt;&quot;;

}</code></pre>
<p>You can either replace this code :</p>
<p><code>$stack_thumb      = &#039;entry-full-&#039; . $stack;</code></p>
<p>with this :</p>
<p><code>$stack_thumb      = &#039;shop_catalog&#039;;</code></p>
<p>or replace this code :</p>
<p><code>echo get_the_post_thumbnail( $id , $stack_shop_thumb );</code></p>
<p>with this :</p>
<p><code>echo woocommerce_get_product_thumbnail();</code></p>
<p>Again, X is made to be responsive so this might have effect at X&#8217;s current styling.</p>
<p>2. Product Link &#8211; the thumbnail itself is the link. I&#8217;m not really sure what you&#8217;re trying to achieve as I can successfully go to product page by clicking them. It&#8217;s not a mistake, but intended per stack. The problem I can see from your setup is that the hover is bigger than your images. They are small. Try this one <a href="http://theme.co/x/demo/shop/ethos/" rel="nofollow">http://theme.co/x/demo/shop/ethos/</a>. X is made for medium size images to accomodate changes for smaller or bigger screen and we can&#8217;t limit it to specific dimensions (hence responsive).</p>
<p>You can either use larger image or use css to change hover behaviour ( no need to modify any php or woocommerce integration because it&#8217;s all done by just css, unless need to use different structure which in case you need someone to do it ). Custom CSS could be tricky since your area are too small, so probably we will just make it under the images and disable hover.</p>
<p>I&#8217;ll forward our discussion to see if possible to add option to completely disable woocommerce integration. But that will remove all X theming for woocommerce.</p>
<p>Thank you.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/woocommerce-page-redirection/#post-171992</guid>
					<title><![CDATA[Reply To: WooCommerce Page redirection]]></title>
					<link>https://theme.co/archive/forums/topic/woocommerce-page-redirection/#post-171992</link>
					<pubDate>Sun, 28 Dec 2014 01:24:04 +0000</pubDate>
					<dc:creator>jeffyablon</dc:creator>

					<description>
						<![CDATA[
						<p>OK, so: at the end of the day I accept (no seriously, I do) your logic.</p>
<p>But imagine that you&#8217;re me, ask &#8220;why is this feature missing?&#8221; (and it <em>is</em>), are told to check against a &#8220;standard&#8221;, PASS the standard, and then are told the question never mattered.</p>
<p>That&#8217;s a response to the image thing. But if your logic is about responsive image sizing, I&#8217;m afraid it&#8217;s nonsense, since my uploaded images are showing up in what looks like a cell in a table. That outline is not of my making, nor does it match the aspect ration of the image it bounds:</p>
<p><img decoding="async" src="http://s531852489.onlinehome.us/huh.png" alt="" /></p>
<p>As for the &#8220;missing links&#8221; thing (that&#8217;s really the simplest way to put it, right?) being a matter of adhering to the standards of the theme, well, I call shenanigans. I <em>like </em>that the buy button looks the way it does. But that doesn&#8217;t mean it&#8217;s &#8220;the way the theme is&#8221;; the individual and distinct elements on the Woo template aren&#8217;t related in the same way the grouping of items in your Carousel are. On a WP page or post I could find a way to augment each free-standing element with a link, but within the Woo framework, where it sets a standard (it has) and you override the standard (you have), I should have a next-step opportunity to override you—assuming X adhered to the Woo standard.</p>
<p>Since their standard seems to be altering the <strong>archive-product.php</strong> file, and you guys have overridden even THAT (you have none!), it leaves fixing your work way harder than it ought to be. What file contains YOUR template?</p>
<p>Listen: I&#8217;m upset, and sure there&#8217;s a venting element to this, but mostly I&#8217;m just wishing X was ACTUALLY as great as it SEEMS to be, and as I&#8217;ve said in other posts you guys playing fast and loose with &#8220;da rules&#8221; is not OK.</p>
<p>I&#8217;m done. I&#8217;d appreciate if you could point me at the right file to edit to mess with your edited template file in Woo. Meantime, I&#8217;ll analyze the options.</p>
<p>Thanks for your time.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/woocommerce-page-redirection/#post-172081</guid>
					<title><![CDATA[Reply To: WooCommerce Page redirection]]></title>
					<link>https://theme.co/archive/forums/topic/woocommerce-page-redirection/#post-172081</link>
					<pubDate>Sun, 28 Dec 2014 06:12:57 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Jeffy,</p>
<p>Would you mind showing what features are missing? I can see your screenshots from other theme but they are simply showing the default layout of woocommerce loop template where add cart, buy button, and etc are. On X, they are simply available when you hover your product on shop page. And since you&#8217;re using a really small ( landscape image ), the hover simply overflow the height of your image. Thus, it also cover the thumbnail that supposed to be clickable for product page.</p>
<p>I am simply saying the X still follow woocommerce standard, so the modification of X existing woocomerce templates should be still as the same as woocommerce standard. No more, and no less. So anyone could edit X woocomerce template as long they know how to do woocommerce development. And we do not teach woocommerce development, though we can always point you out or assist for some tweaks. I point you out to the folder and files assuming that you have knowledge about woocommerce or you have someone that will do woocommerce development.</p>
<p>Then about your screenshot, as I&#8217;m saying X is good for medium size image so it can still respond to smaller and larger image. But, you&#8217;re still using a very small image, how about providing the url address so I could simply check if its because of any custom css. Like max-width and min-width that alters default size.</p>
<p>What else you need to override? The item loops? Then just duplicate a copy of /x/woocomerce/loop/loop-start.php and /x/woocomerce/loop/loop-end.php to your child theme. Or modify the links? then it should be /x/woocommerce/content-product.php.</p>
<p>X  override /wp-content/plugins/woocommerce/templates/ by /x/woocommerce/ , so you can override /x/woocommerce/ too by creating it again from your child theme /x-child-ethos/woocommerce/</p>
<p>/wp-content/plugins/woocommerce/templates/loop/loop-start.php = /x/woocomerce/loop/loop-start.php<br />
/wp-content/plugins/woocommerce/templates/loop/loop-end.php = /x/woocomerce/loop/loop-end.php<br />
/wp-content/plugins/woocommerce/templates/content-product.php = /x/woocommerce/content-product.php<br />
&#8230;..<br />
&#8230;<br />
..<br />
/../</p>
<p>I&#8217;m not really sure what area of woocommerce is missing or need to be overriden since your initial query is about page link, add/buy button, and thumbnail size which I did answered.</p>
<p>Before I explain about archive-product.php template :</p>
<p><strong>This is the overriding process by wordpress and woocommerce :</strong></p>
<p>1. First, it checks if the template is available on child, if available then it will use it. If not then it will find it on it&#8217;s parent theme.<br />
2. Second, it checks if the template is available on parent theme, if available, then it will use it. If not then it will check woocommerce plugin&#8217;s template directory and use the available template.</p>
<p>This process applies for all templates, and not just  archive-product.php</p>
<p>Now back to  archive-product.php :</p>
<p>So if /x/woocommerce/archive-product.php does not exists, it will then use /wp-content/plugins/woocommerce/templates/archive-product.php</p>
<p>But, if /x/woocommerce.php is present at any theme, woocommerce will use it for all woocomerce page ( shop index, categories, product page, etc. ), so /x/woocommerce.php is also simply the archive-product.php.</p>
<blockquote><p> <strong><a href="http://docs.woothemes.com/document/template-structure/" rel="nofollow">http://docs.woothemes.com/document/template-structure/</a> :</strong> Please note: when creating woocommerce.php in your theme’s folder, you won’t then be able to override the woocommerce/archive-product.php custom template (in your theme) as woocommerce.php has the priority over all other template files. This is intended to prevent display issues.
</p></blockquote>
<p>/x/woocommerce.php is pointing to /x/framework/views/ethos/woocommerce.php where the content template being used is /x/woocommerce/content-product.php</p>
<p>So the conclusion is, the template being used for shop page, category page, product page, and etc. is  /x/woocommerce.php and /x/woocommerce/content-product.php, and it just switches to /loop/ and /single-product/ internally by woocomerce itself (  <code>&lt;?php woocommerce_content(); ?&gt;</code> )</p>
<p>I&#8217;m not trying to cause any conflict 😛 But I&#8217;m just trying to explain on the best I can 🙂</p>
<p>Hope this explains them further 🙂</p>
<p>Thanks and sorry for long explanation.</p>
<p>Edit :</p>
<p>If you will check /wp-content/plugins/woocommerce/templates/archive-product.php, you should see that it also uses content-product.php which overridden by /x/woocommerce/content-product.php. And /x/woocomerce.php also uses content-product.php</p>
<p>Again, /x/woocommerce.php is just the same as /wp-content/plugins/woocommerce/templates/archive-product.php and the only difference is that in /x/woocomerce.php, it loads X’s styling and structure for header, footer, content layout, wrapper, and etc. to contain content-product.php and its /loops/ /single-product/ templates.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

