<?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: Change the &#34;Select options&#34; button into a lightbox link</title>
		<link>http://www.kriesi.at/support/topic/change-the-select-options-button-into-a-lightbox-link</link>
		<description>Support Forum - Topic: Change the &quot;Select options&quot; button into a lightbox link</description>
		<language>en-US</language>
		<pubDate>Sun, 19 May 2013 15:04:11 +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/change-the-select-options-button-into-a-lightbox-link" rel="self" type="application/rss+xml" />

		<item>
			<title>Devin on "Change the &#34;Select options&#34; button into a lightbox link"</title>
			<link>http://www.kriesi.at/support/topic/change-the-select-options-button-into-a-lightbox-link#post-88856</link>
			<pubDate>Tue, 18 Dec 2012 19:36:19 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">88856@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;No worries, it will be useful for others down the road and I can see the appeal of it. Also like I said, I've worked quite a bit with this particular function so I know how to play with it pretty well :)&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bruwa on "Change the &#34;Select options&#34; button into a lightbox link"</title>
			<link>http://www.kriesi.at/support/topic/change-the-select-options-button-into-a-lightbox-link#post-88853</link>
			<pubDate>Tue, 18 Dec 2012 19:25:32 +0000</pubDate>
			<dc:creator>bruwa</dc:creator>
			<guid isPermaLink="false">88853@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Devin, &#60;/p&#62;
&#60;p&#62;Sorry, it seems I underestimated the task.&#60;br /&#62;
Thanks so much for your effort.&#60;/p&#62;
&#60;p&#62;I'm a happy camper now.&#60;/p&#62;
&#60;p&#62;Bruno
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Devin on "Change the &#34;Select options&#34; button into a lightbox link"</title>
			<link>http://www.kriesi.at/support/topic/change-the-select-options-button-into-a-lightbox-link#post-88848</link>
			<pubDate>Tue, 18 Dec 2012 19:18:37 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">88848@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Glad its working for you :)&#60;/p&#62;
&#60;p&#62;Typically we wouldn't be able to do something like this but I've worked quite a bit with that function before so I spent a bit of personal time quickly fixing it up.&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bruwa on "Change the &#34;Select options&#34; button into a lightbox link"</title>
			<link>http://www.kriesi.at/support/topic/change-the-select-options-button-into-a-lightbox-link#post-88845</link>
			<pubDate>Tue, 18 Dec 2012 19:13:52 +0000</pubDate>
			<dc:creator>bruwa</dc:creator>
			<guid isPermaLink="false">88845@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Devin&#60;/p&#62;
&#60;p&#62;thank you so much - you saved my day!&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Bruno
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Devin on "Change the &#34;Select options&#34; button into a lightbox link"</title>
			<link>http://www.kriesi.at/support/topic/change-the-select-options-button-into-a-lightbox-link#post-88818</link>
			<pubDate>Tue, 18 Dec 2012 17:12:36 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">88818@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Bruwa,&#60;/p&#62;
&#60;p&#62;The issue I see is that it would make more sense and be significantly easier to just make the Show details button always consistently show the image instead of the add to cart/variable add to cart button. I'm actually not sure with out some reading and testing how to do it.&#60;/p&#62;
&#60;p&#62;For the Show details, you just need to look for the following in woocommerce-config&#38;gt;config.php:&#60;br /&#62;
&#60;code&#62;echo &#38;quot;&#38;lt;a class=&#38;#39;button show_details_button $extraClass&#38;#39; href=&#38;#39;&#38;quot;.get_permalink($post-&#38;gt;ID).&#38;quot;&#38;#39;&#38;gt;&#38;quot;.__(&#38;#39;Show Details&#38;#39;,&#38;#39;avia_framework&#38;#39;).&#38;quot;&#38;lt;/a&#38;gt;&#38;quot;;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Change it to:&#60;br /&#62;
&#60;code&#62;echo &#38;quot;&#38;lt;a class=&#38;#39;button show_details_button $extraClass&#38;#39; href=&#38;#39;&#38;quot;.wp_get_attachment_url( get_post_thumbnail_id($post-&#38;gt;ID) ).&#38;quot;&#38;#39; rel=&#38;#39;lightbox&#38;#39; alt=&#38;#39; &#38;#39; title=&#38;#39; &#38;#39;&#38;gt;  &#38;quot;.__(&#38;#39;Enlarge Image&#38;#39;,&#38;#39;avia_framework&#38;#39;).&#38;quot;&#38;lt;/a&#38;gt;&#38;quot;;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I just test it on my end since I had to get the image url to spit out correctly and it works without issue.&#60;/p&#62;
&#60;p&#62;Then its just a matter of changing the icon for that button in:&#60;br /&#62;
&#60;code&#62;images/icons-shop-details.png&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Change that file to the magnifying glass or whatever you want.&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bruwa on "Change the &#34;Select options&#34; button into a lightbox link"</title>
			<link>http://www.kriesi.at/support/topic/change-the-select-options-button-into-a-lightbox-link#post-88691</link>
			<pubDate>Mon, 17 Dec 2012 21:57:36 +0000</pubDate>
			<dc:creator>bruwa</dc:creator>
			<guid isPermaLink="false">88691@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I'm not sure whether we are in sync:&#60;/p&#62;
&#60;p&#62;I don't see why visitors would be confused if they saw this (&#60;strong&#62;my suggestion&#60;/strong&#62;):&#60;/p&#62;
&#60;p&#62;&#60;img src=&#34;http://www.wp2.fotowalther.ch/wp-content/uploads/enlarge_image.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;instead of this (the theme default)&#60;/strong&#62;:&#60;/p&#62;
&#60;p&#62;&#60;img src=&#34;http://www.wp2.fotowalther.ch/wp-content/uploads/Select_options.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;and why expanding the image would serve no purpose?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bruwa on "Change the &#34;Select options&#34; button into a lightbox link"</title>
			<link>http://www.kriesi.at/support/topic/change-the-select-options-button-into-a-lightbox-link#post-88669</link>
			<pubDate>Mon, 17 Dec 2012 20:26:27 +0000</pubDate>
			<dc:creator>bruwa</dc:creator>
			<guid isPermaLink="false">88669@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;As the button with the magnifying glass opening the image in the prettyPhoto lightbox &#60;strong&#62;already exists on the product detail page&#60;/strong&#62;,&#60;/p&#62;
&#60;p&#62;&#60;img src=&#34;http://www.wp2.fotowalther.ch/wp-content/uploads/magnify.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62; I assumed that I could just copy the underlying code.&#60;/p&#62;
&#60;p&#62;Unfortunately I could not figure out&#60;br /&#62;
- from which file I could copy the code and&#60;br /&#62;
- into which file I need to insert it (and in which position) ...&#60;/p&#62;
&#60;p&#62;***&#60;br /&#62;
PS&#60;br /&#62;
The following line in my previous post should read:&#60;br /&#62;
&#34;- see a larger image (lightbox) - should the magnifying glass create confusion, it could be named e.g. &#34;Expand image&#34; instead&#34;&#60;/p&#62;
&#60;p&#62;(the &#34;-&#34; was misplaced and is confusing)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bruwa on "Change the &#34;Select options&#34; button into a lightbox link"</title>
			<link>http://www.kriesi.at/support/topic/change-the-select-options-button-into-a-lightbox-link#post-88646</link>
			<pubDate>Mon, 17 Dec 2012 19:00:47 +0000</pubDate>
			<dc:creator>bruwa</dc:creator>
			<guid isPermaLink="false">88646@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;actually I would rather say that visitors are confused when they see the existing theme solution:&#60;/p&#62;
&#60;p&#62;This is what visitors currently see:&#60;br /&#62;
&#60;img src=&#34;http://www.wp2.fotowalther.ch/wp-content/uploads/Select_options.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;they see 2 buttons with seemingly 2 different options - however: whether they click on &#34;Select options&#34; or &#34;See details&#34; they are presented with the very same page. Myself I was confused when I saw it for the first time, thinking that this was a bug.&#60;br /&#62;
(Why would you see different text and different icons, if in fact this is all the same?)&#60;/p&#62;
&#60;p&#62;I think my suggestion does make much more sense:&#60;br /&#62;
&#60;img src=&#34;http://www.wp2.fotowalther.ch/wp-content/uploads/2012/12/1191_enhanced1-200x140.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;visitors would not only see but also &#60;strong&#62;get&#60;/strong&#62; 2 options:&#60;br /&#62;
- see a larger image (lightbox) should the magnifying glass - create confusion, it could be named e.g. &#34;Expand image&#34; instead&#60;br /&#62;
or&#60;br /&#62;
- see details (i.e. available variations) of the product (the button could be renamed e.g. &#34;Available options&#34;)&#60;/p&#62;
&#60;p&#62;The underlying idea is the same as in real life: in a shop you first either ask for details/variations or take the product off the shelf and have a closer look at it before considering a purchase..&#60;/p&#62;
&#60;p&#62;Bruno
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Nick on "Change the &#34;Select options&#34; button into a lightbox link"</title>
			<link>http://www.kriesi.at/support/topic/change-the-select-options-button-into-a-lightbox-link#post-88626</link>
			<pubDate>Mon, 17 Dec 2012 17:22:27 +0000</pubDate>
			<dc:creator>Nick</dc:creator>
			<guid isPermaLink="false">88626@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;HI,&#60;/p&#62;
&#60;p&#62;From a usability perspective , your visitors will see a button 'Show Details' and an icon which is a symbol for .. show details/. That's just a person opinion that it will just confuse people, and really serves no purpose or gives value to visitors.&#60;/p&#62;
&#60;p&#62;The customization you are describing is of course possible but I think its a bit time consuming Try to replace it by following the prettyphoto instructions &#60;a href=&#34;http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/documentation/&#34; rel=&#34;nofollow&#34;&#62;http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/documentation/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;However the magnifying glass w customization ill take look at now :)\&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Nick&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Nick
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bruwa on "Change the &#34;Select options&#34; button into a lightbox link"</title>
			<link>http://www.kriesi.at/support/topic/change-the-select-options-button-into-a-lightbox-link#post-88467</link>
			<pubDate>Sun, 16 Dec 2012 15:22:44 +0000</pubDate>
			<dc:creator>bruwa</dc:creator>
			<guid isPermaLink="false">88467@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;is there a way I could change the &#34;Select option&#34; / &#34;Show details&#34; button which appears when I hover over a product image?&#60;/p&#62;
&#60;p&#62;What I'm looking for:&#60;br /&#62;
1) &#60;strong&#62;replace&#60;/strong&#62; the &#34;&#60;strong&#62;Select options&#60;/strong&#62;&#34; button by a button showing a &#60;strong&#62;magnifying glass&#60;/strong&#62;&#60;br /&#62;
     -&#38;gt; on clicking it should open the image in a &#60;strong&#62;lightbox&#60;/strong&#62; (same effect as exists on the product detail page)&#60;br /&#62;
2) &#60;strong&#62;keep&#60;/strong&#62; the existing &#34;&#60;strong&#62;Show details&#60;/strong&#62;&#34; button&#60;br /&#62;
    -&#38;gt; on clicking it should open the product detail page with the product variations (as it currently does)&#60;/p&#62;
&#60;p&#62;&#60;img src=&#34;http://www.wp2.fotowalther.ch/wp-content/uploads/2012/12/1191_enhanced1-200x140.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;Upon inspection of the &#34;Select options&#34; button I learnt that this is the&#60;br /&#62;
&#34;class=&#34;add_to_cart_button button product_type_variable&#34;.&#60;br /&#62;
I'm stuck here.&#60;br /&#62;
- how can I change the button from showing &#34;Select options&#34; to show the icon &#34;magnifying glass&#34;?&#60;br /&#62;
- how can I assign the link to open the image in a lightbox?&#60;/p&#62;
&#60;p&#62;Thanks for helping&#60;/p&#62;
&#60;p&#62;Bruno&#60;/p&#62;
&#60;p&#62;PS&#60;br /&#62;
In the file &#34;Woocommerce-config/config.php&#34; I changed the background image of the button to &#34;images/skin-dark/magnify.png&#34; - the original icon disappeared, but the magnifying glass did not show ...
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
