<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
	<title>LemonStand Forum</title>
	<description>LemonStand forum topics and replies</description>
	<link>http://forum.lemonstandapp.com/index.php</link>
	<pubDate>Sat, 18 May 2013 06:32:19 +0000</pubDate>
	<ttl>10</ttl>
	<item>
		<title>Validating File Uploads</title>
		<link>http://forum.lemonstandapp.com/topic/5395-validating-file-uploads/</link>
		<description><![CDATA[I have a product page which lets the user upload an image to customise. I've got it all working really easily by following:<br />
<a href='http://lemonstand.com/docs/supporting_file_uploads_on_the_product_page/' class='bbc_url' title='External link' rel='nofollow external'>http://lemonstand.com/docs/supporting_file_uploads_on_the_product_page/</a><br />
<br />
However, I can't seem to find anything about restricting this file upload to be image format only.<br />
<br />
Has anyone solved this before?<br />
<br />
Cheers, Rich]]></description>
		<pubDate>Sat, 18 May 2013 06:32:19 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5395-validating-file-uploads/</guid>
	</item>
	<item>
		<title>PayPal Standard and Payment Data Transfer inconsistency</title>
		<link>http://forum.lemonstandapp.com/topic/5394-paypal-standard-and-payment-data-transfer-inconsistency/</link>
		<description><![CDATA[Hi there,<br />
<br />
A client with a Lemonstand shop that I set up for them is finding that very often an order isn't marked as paid in Lemonstand even though the customer has paid via PayPal. PayPal Standard is the only payment method set up at the shop.<br />
<br />
A lot/most of the orders <em class='bbc'>are</em> automatically updated, and it always works when I test.<br />
<br />
Any ideas as to what could be the issue?<br />
<br />
Thanks.]]></description>
		<pubDate>Fri, 17 May 2013 14:09:57 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5394-paypal-standard-and-payment-data-transfer-inconsistency/</guid>
	</item>
	<item>
		<title>Image Slider</title>
		<link>http://forum.lemonstandapp.com/topic/5393-image-slider/</link>
		<description><![CDATA[Hi,<br />
<br />
I think my image slider is not working properly. Here is the code and i changed nothing there:<br />
<br />
<pre class='prettyprint'>
&lt;? $set_id = uniqid() ?&gt;
&lt;? if ($images-&gt;count): ?&gt;
&lt;div class="image"&gt;
  &lt;div class="container"&gt;
  &lt;?
    foreach ($images as $i =&gt; $image):
      $thumbnail = $image-&gt;getThumbnailPath(311,411);
      $large     = $image-&gt;getThumbnailPath(480,640);
  ?&gt;
    &lt;a rel="lightbox-&lt;?= $set_id ?&gt;" href="&lt;?= $large ?&gt;" &lt;? if ($i==0):?&gt;class="active"&lt;? endif ?&gt;&gt;
      &lt;img src="&lt;?= $thumbnail ?&gt;"/&gt;
    &lt;/a&gt;
  &lt;? endforeach ?&gt;
  &lt;/div&gt;
  &lt;div class="control"&gt;
  &lt;?
    if ($images-&gt;count &gt; 1):
      foreach ($images as $i =&gt; $image):
  ?&gt;
    &lt;span &lt;? if ($i==0):?&gt;class="active"&lt;? endif ?&gt;&gt;&bull;&lt;/span&gt;
  &lt;? endforeach; endif ?&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;? endif ?&gt;
</pre><br />
<br />
<strong class='bbc'>Mod: Don't forget code tags "[code]" to wrap your code. </strong><br />
<br />
Please see the screencap how it looks like... hope guys can help me!<br />
<br />
<br />
Thanks!]]></description>
		<pubDate>Fri, 17 May 2013 06:58:43 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5393-image-slider/</guid>
	</item>
	<item>
		<title>Login Redirect</title>
		<link>http://forum.lemonstandapp.com/topic/5392-login-redirect/</link>
		<description><![CDATA[Hi,<br />
<br />
I have some sort of problem here! I need to know how can i add a returnpath url after logging in. <br />
<br />
FYI. I set my "ADD TO CART" button like this:<br />
<pre class='prettyprint'>
          &lt;? if ($this-&gt;customer): ?&gt;

              &lt;div class="clear top_offset"&gt;&lt;/div&gt;
              &lt;input type="button" onclick="return $(this).getForm().sendRequest('shop:on_addToCart', {update: {'mini_cart': 'shop:mini_cart', 'product_page': 'product_partial'}})" name="add_to_cart" class="productSubmitInput" value="Add to cart"/&gt;

          &lt;? else: ?&gt;

            &lt;div id="loginAddtoCart"&gt;
            &lt;a href="&lt;?= root_url('/login') ?&gt;"&gt;&lt;/a&gt;
            &lt;/div&gt;

          &lt;? endif ?&gt;     
</pre><br />
<br />
So, if the Customer is Logged in, i will display the original "add to cart button" and when the customer is not logged in, i will redirect them to the log-in page then after they logged in they will throw back again in the PRODUCT page (Current location).<br />
<br />
Any one can help please?<br />
<br />
Thanks!]]></description>
		<pubDate>Fri, 17 May 2013 01:43:52 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5392-login-redirect/</guid>
	</item>
	<item>
		<title><![CDATA[&#34;Error Creating Thumbnails&#34; Error on Page Images - Front End and Backend]]></title>
		<link>http://forum.lemonstandapp.com/topic/5391-error-creating-thumbnails-error-on-page-images-front-end-and-backend/</link>
		<description><![CDATA[I'm setting up a shop with a limited developer's version for evaluation and training. However, right now, I keep seeing a "Error Creating Thumbnail" error message on page product images in the front end, as well as in the backend.<br />
<br />
1. Could this be some permissions issue? If so, what directories need to be made writable? Right now, the following have been made writable:<br />
<br />
uploaded (and everything inside of it - recursively)<br />
resources  (and everything inside of it - recursively)<br />
temp (and everything inside of it - recursively)<br />
themes (main directory)<br />
zest (theme name made default in the backend) &gt; resources &gt; images<br />
uploaded (and everything inside of it - recursively)<br />
<br />
Also, I have the main - root directory - set to 777 (public_html) although I'm not sure that's supposed to be that way.<br />
<br />
Other than the above, all the other directories are set for 755 and files are 644.<br />
<br />
Within the config file, I currently have this set:<br />
<br />
<pre class='prettyprint'>
	$CONFIG&#91;'FILE_PERMISSIONS'&#93; = 0777;
	$CONFIG&#91;'FOLDER_PERMISSIONS'&#93; = 0777;</pre><br />
<br />
Although I originally had them set for 755 for directories and 644 for files during the installation process. Not sure if that was the right procedure during installation.<br />
<br />
<br />
<br />
2. ImageMagick is installed on the server (works great with other applications).<br />
<br />
Within the config file, I have the following setting for ImageMagick:<br />
<br />
<pre class='prettyprint'>	$CONFIG&#91;'IMAGEMAGICK_ENABLED'&#93; = true;
	$CONFIG&#91;'IMAGEMAGICK_PATH'&#93; = null;
	$CONFIG&#91;'IMAGE_JPEG_QUALITY'&#93; = 85;
        $CONFIG&#91;'IMAGE_JPEG_COLORSPACE'&#93; = 'sRGB';</pre><br />
<br />
<br />
Not sure how to determine what the IMAGEMAGIC_PATH should be set for or how to determine that, if anyone can supply a clue as to how to determine that.<br />
<br />
<br />
I think that I'm really going to like this product once I get all the installation bugaboos figured out. Thank you in advance.]]></description>
		<pubDate>Thu, 16 May 2013 13:46:46 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5391-error-creating-thumbnails-error-on-page-images-front-end-and-backend/</guid>
	</item>
	<item>
		<title>Creating Themes</title>
		<link>http://forum.lemonstandapp.com/topic/5390-creating-themes/</link>
		<description><![CDATA[Hi Guys, <br />
 <br />
I need an advice, I used to developed a site using a default theme by digging it and just changing the CSS of that theme since the layout i have and the theme is almost the same, when i just first extracted that file i just saw the FOLDER called "resources" and saw nothing different there. Now I'm planning to create a Themes From Scratch, but i don't know how. I mean, i am confused whether where to start. i was thinking also if there's a some sort of code for the lemonstand recognize a THEME. for example in wordpress you just need to have this for example in the style.css , so that the theme will recognize by wordpress:<br />
<br />
Theme Name: John'S Theme<br />
Theme URI: ijohnnatividad.com<br />
Description: This is a collection to use for mobile<br />
Author: John<br />
<br />
And also including some of the vital codex. wp_head,wp_footer etc...<br />
<br />
Much appreciated if any can help and point where can i start! <img src='http://forum.lemonstandapp.com/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /><br />
<br />
Thanks!]]></description>
		<pubDate>Thu, 16 May 2013 07:00:52 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5390-creating-themes/</guid>
	</item>
	<item>
		<title>MailUp Email Module Development</title>
		<link>http://forum.lemonstandapp.com/topic/5389-mailup-email-module-development/</link>
		<description><![CDATA[Hello-- looking for someone to integrate email api with lemonstand. <br />
<br />
Has some nice featutures like an SMTP relay service for transactional emails, plus your can create automated, triggered campaigns in all sorts of scenarios: re-engagement, post-purchase, post-signup.  <br />
<br />
See <a href='http://www.mailup.com/p/pc/mailup-api-web-services-integrations-d65.htm' class='bbc_url' title='External link' rel='nofollow external'>http://www.mailup.com/p/pc/mailup-api-web-services-integrations-d65.htm</a><br />
<br />
Thanks!]]></description>
		<pubDate>Thu, 16 May 2013 01:03:32 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5389-mailup-email-module-development/</guid>
	</item>
	<item>
		<title>Product Bundled Items</title>
		<link>http://forum.lemonstandapp.com/topic/5388-product-bundled-items/</link>
		<description><![CDATA[Hi, <br />
I have been developing a drag and drop interface for the bundle items. It lets a customer drag the selected items in the configuration they want for the current viewed product. <br />
I have modified the default bundle items partial and used that code to build the drag and drop layout.<br />
<br />
THe issue we are currently having is that only some items are being submitted when the ajax call is being fired. <br />
One bundled items has two items that can be selected the first does not work but hte second does. <br />
The first item does not contain the selected item <br />
<pre class='prettyprint'> $selected_item_product = Shop_BundleHelper::get_bundle_item_product_item($item);	</pre><br />
when i try to view this object on submit it's empty but when i drag and drop the second item it works. I populate the texboxes on drop with the correct value for each product when it's dropped. <br />
the text boxes that are used to select the select items and which are used in the ajax submit upon drop are structure like this when the page loads.; <br />
<br />
<pre class='prettyprint'>

	&lt;input class="bundle_product_selector_element flavour-1" type="text" name="bundle_data&#91;6&#93;&#91;product_id&#93;" value="15|18"	&gt;
	

	&lt;div class="product-parameters"&gt;
				
				
		
&lt;div class="bundle_item_quantity_controls"&gt;
		
	&lt;input type="hidden" value="12.49996" class="bundle_item_price"&gt;
	&lt!-- This hidden is used by the optional JavaScript-based product price calculator --&gt;
&lt;/div&gt;	&lt;/div&gt;
 
&lt;input type="hidden" name="bundle_data&#91;6&#93;&#91;post_item_product_id&#93;" value="15"/&gt;			
			
						
	
	&lt;input class="bundle_product_selector_element flavour-2" type="text" name="bundle_data&#91;7&#93;&#91;product_id&#93;" value="25|18"	&gt;
	

	&lt;div class="product-parameters"&gt;
				
				
		
&lt;div class="bundle_item_quantity_controls"&gt;
		
	&lt;input type="hidden" value="12.49996" class="bundle_item_price"&gt;
	&lt!-- This hidden is used by the optional JavaScript-based product price calculator --&gt;
&lt;/div&gt;	&lt;/div&gt;
 
&lt;input type="hidden" name="bundle_data&#91;7&#93;&#91;post_item_product_id&#93;" value="25"/&gt;	
</pre><br />
<pre class='prettyprint'>

after dropping the first element on reload of content the page source is this
	&lt;input class="bundle_product_selector_element flavour-1" type="text" name="bundle_data&#91;6&#93;&#91;product_id&#93;" value="15|18"	&gt;
	

	&lt;div class="product-parameters"&gt;
				
				
		
&lt;div class="bundle_item_quantity_controls"&gt;
		
	&lt;input type="hidden" value="12.49996" class="bundle_item_price"&gt;
	&lt!-- This hidden is used by the optional JavaScript-based product price calculator --&gt;
&lt;/div&gt;	&lt;/div&gt;
 
&lt;input type="hidden" name="bundle_data&#91;6&#93;&#91;post_item_product_id&#93;" value="15"/&gt;			
			
						
	
	&lt;input class="bundle_product_selector_element flavour-2" type="text" name="bundle_data&#91;7&#93;&#91;product_id&#93;" value="25|18"	&gt;
	

	&lt;div class="product-parameters"&gt;
				
				
		
&lt;div class="bundle_item_quantity_controls"&gt;
		
	&lt;input type="hidden" value="12.49996" class="bundle_item_price"&gt;
	&lt!-- This hidden is used by the optional JavaScript-based product price calculator --&gt;
&lt;/div&gt;	&lt;/div&gt;
 
&lt;input type="hidden" name="bundle_data&#91;7&#93;&#91;post_item_product_id&#93;" value="25"/&gt;	
</pre><br />
<br />
<br />
Any one have any ideas as to why this wouldn't be working?<br />
The funcionality can be viewed here <br />
<br />
<a href='http://cobs.maltcreative.com.au/gift-shop/custom-gift-box/1-large-tube-2-small-tubes/' class='bbc_url' title='External link' rel='nofollow external'>http://cobs.maltcreative.com.au/gift-shop/custom-gift-box/1-large-tube-2-small-tubes/</a><br />
<a href='http://cobs.maltcreative.com.au/gift-shop/custom-gift-box/4-small-tubes/' class='bbc_url' title='External link' rel='nofollow external'>http://cobs.maltcreative.com.au/gift-shop/custom-gift-box/4-small-tubes/</a><br />
<a href='http://cobs.maltcreative.com.au/gift-shop/custom-gift-box/2-large-tubes/' class='bbc_url' title='External link' rel='nofollow external'>http://cobs.maltcreative.com.au/gift-shop/custom-gift-box/2-large-tubes/</a>]]></description>
		<pubDate>Wed, 15 May 2013 00:25:51 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5388-product-bundled-items/</guid>
	</item>
	<item>
		<title>Discount Engine Product Filter missing options</title>
		<link>http://forum.lemonstandapp.com/topic/5387-discount-engine-product-filter-missing-options/</link>
		<description><![CDATA[I'm having some serious issues with discount engine. We need to be able to offer a free tshirt with the customer's first order.<br />
<br />
To do this, we are using using the max uses per customer and a coupon code, which is ok for these purposes. However, the Product Filter on the actions tab is missing a bunch of options. It used to have the option for "Product is" and now the only option is "Product is bundle item". This is a big problem. Even the lemonstand documentation says that there should be the Product is option....<br />
<br />
I even tried doing Buy 0 get 1 free, but it's doing that to every product in the cart. I need JUST the tshirt to be discounted to 0 and not the rest of the cart.<br />
<br />
Can anyone help me out here? What am I missing?]]></description>
		<pubDate>Tue, 14 May 2013 20:26:29 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5387-discount-engine-product-filter-missing-options/</guid>
	</item>
	<item>
		<title>LS Directory Question</title>
		<link>http://forum.lemonstandapp.com/topic/5386-ls-directory-question/</link>
		<description><![CDATA[Hi Folks,<br />
<br />
I was wondering if we may ask some general advice please?<br />
<br />
During a hosting issue, our hosting provider made a copy of our LemonStand directory on our server (under a different name) as a backup while they were resolving a problem. Afterwards, we seemed to experience some performance limitations in LS that we did not encounter before this happened.<br />
<br />
We obviously plan to remove this second directory (to gain back storage space alone), but in your experience, could there be conflictions as a result of having multiple directories with the dynamic LS files inside (e.g. with the second directory running its own PHP.INI and the other root-referenced stuff etc.)?.<br />
<br />
Sorry if this is an ignorant question, just wondered if anyone had any ideas or thoughts about potential risks with this.<br />
<br />
Thanks very much for your help.]]></description>
		<pubDate>Tue, 14 May 2013 08:51:09 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5386-ls-directory-question/</guid>
	</item>
	<item>
		<title><![CDATA[Can't complete installation]]></title>
		<link>http://forum.lemonstandapp.com/topic/5383-cant-complete-installation/</link>
		<description><![CDATA[Hi,<br />
<br />
I try to install lemonstand through web installer, but the installation is not completed. It shows "Installing LemonStand... " for more than an hour. I tried it on my local system also, but the same result. I think you are redesign the web installer. Last month I installed it with the old web installer. Is it any issue with my lemonstand license or with the new design?<br />
Please let me known the reason for this error...<br />
<br />
Thank you.<br />
<br />
Regards]]></description>
		<pubDate>Mon, 13 May 2013 06:37:54 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5383-cant-complete-installation/</guid>
	</item>
	<item>
		<title>Display multiple pay forms</title>
		<link>http://forum.lemonstandapp.com/topic/5384-display-multiple-pay-forms/</link>
		<description><![CDATA[Hi there,<br />
<br />
I have two redirect payment option. Essentially all they do is provide a button to 'Pay Now'.  Instead of selecting a radio box for payment type and then hitting the ajax updated button I would like to show each form/button  side by side.<br />
<br />
I have achieved this using the following code on the pay page but there is a problem:<br />
<pre class='prettyprint'>
&lt;? $payment_methods = Shop_PaymentMethod::list_applicable(
    $order-&gt;billing_country_id,
    $order-&gt;total) ?&gt;
     
    &lt;? foreach ($payment_methods as $payment_method): 
	
			
			$order-&gt;payment_method_id = $payment_method-&gt;id;
			$order-&gt;save();
			
			$order-&gt;payment_method = Shop_PaymentMethod::create()-&gt;find($order-&gt;payment_method_id);
			$order-&gt;payment_method-&gt;define_form_fields();
			$this-&gt;data&#91;'payment_method'&#93; = $order-&gt;payment_method;
			$this-&gt;data&#91;'payment_method_obj'&#93; = $order-&gt;payment_method-&gt;get_paymenttype_object();
	
	?&gt;

    
    &lt;? $payment_method-&gt;render_payment_form($this); ?&gt;
    &lt;? endforeach ?&gt;
</pre><br />
<br />
The problem is that the pay method is being updated on the order when each form is displayed. So after all forms displayed the last payment method becomes the order assigned payment method but the user may pay with another method.  If this happens the paid status does not get updated and the payment method shown on the order is not correct.<br />
<br />
So how to do it?]]></description>
		<pubDate>Mon, 13 May 2013 06:37:54 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5384-display-multiple-pay-forms/</guid>
	</item>
	<item>
		<title>php disable_functions</title>
		<link>http://forum.lemonstandapp.com/topic/5382-php-disable-functions/</link>
		<description><![CDATA[Anyone using the PHP5 disable_functions directive in production?<br />
I have the following but just realised some of these are used by LS.<br />
<br />
<pre class='prettyprint'>disable_functions = passthru,system,proc_open,popen,curl_multi_exec,parse_ini_file,show_source,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,</pre>]]></description>
		<pubDate>Sun, 12 May 2013 02:49:44 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5382-php-disable-functions/</guid>
	</item>
	<item>
		<title>Installation Issue</title>
		<link>http://forum.lemonstandapp.com/topic/5381-installation-issue/</link>
		<description><![CDATA[I'm running into a problem while installing LemonStand using the web installer.<br />
I follow the installer instructions, enter any required data and press next until step 5.<br />
Everything works fine as far as I press the "Installing LemonStand..." button.<br />
Nothing happens, exept a spinner animation, the installation process stuck but no info/error/message occurs.<br />
<br />
Any hints?<br />
<br />
BTW: a system requirements checkup via the 'LemonStand System Requirements Evaluation Tool' tolds me that everything is fine.<br />
All files and directory permissions are set to 777. :/<br />
<br />
Kind regards, Ben]]></description>
		<pubDate>Sat, 11 May 2013 18:43:35 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5381-installation-issue/</guid>
	</item>
	<item>
		<title>Installation Timeout</title>
		<link>http://forum.lemonstandapp.com/topic/5380-installation-timeout/</link>
		<description><![CDATA[The web installer seems to have changed since I last installed LS.  I never had this problem before, but now if I go through all the install steps, I click the "Install Lemonstand" button and it spins and spins for 20 minutes now, just saying "Installing Lemonstand".  <br />
<br />
Should it take this long?  It doesn't look like any files are being added to the directory and no new tables have been added to the DB.<br />
<br />
I'm on a 1&1 shared host, but I think I've made all the correct modifications to .htaccess as instructed <a href='http://lemonstand.com/docs/installing_lemonstand_using_the_web_installer/' class='bbc_url' title='External link' rel='nofollow external'>here</a><br />
<br />
Anyone else have trouble with the new installer?<br />
<br />
Thanks.<div id='attach_wrap' class='rounded clearfix'>
	<h4>Attached thumbnail(s)</h4>
	<ul>
		
			<li class=''>
				<a class='resized_img' rel='lightbox[22518]' id='ipb-attach-url-455-0-11129300-1368898032' href="http://forum.lemonstandapp.com/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=455" title="lemonstand_install.jpg - Size: 21.99K, Downloads: 14"><img src="http://forum.lemonstandapp.com/uploads/monthly_05_2013/post-5379-0-52234800-1368297417_thumb.jpg" id='ipb-attach-img-455-0-11129300-1368898032' style='width:97;height:100' class='attach' width="97" height="100" alt="Attached Image: lemonstand_install.jpg" /></a>
			</li>
		
	</ul>
</div>]]></description>
		<pubDate>Sat, 11 May 2013 18:37:02 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5380-installation-timeout/</guid>
	</item>
	<item>
		<title>Adding a Manufacturer Logo</title>
		<link>http://forum.lemonstandapp.com/topic/5378-adding-a-manufacturer-logo/</link>
		<description><![CDATA[Hi, can someone advise me how to add a manufacturer logo to a manufacturer page please, I have uploaded an image to the manufacturer but it doesn't show. I've looked in the forums and documentation, but can't seem to work it out, tried:<br />
<br />
<pre class='prettyprint'>&lt;img src="&lt;?= h($product-&gt;manufacturer-&gt;logo_url(100, 'auto')) ?&gt;"/&gt;</pre><br />
<br />
But get an error.<br />
<br />
Thanks for your help.<br />
<br />
Stu]]></description>
		<pubDate>Sat, 11 May 2013 11:56:47 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5378-adding-a-manufacturer-logo/</guid>
	</item>
	<item>
		<title>Module Developer required</title>
		<link>http://forum.lemonstandapp.com/topic/5377-module-developer-required/</link>
		<description><![CDATA[I'm putting together a quote for a possible client, but we have a need for a fairly specialised module.<br />
<br />
I don't want to say too much here, but if you email me at nick@pixelsandcode.co.uk and I can give you more details.]]></description>
		<pubDate>Fri, 10 May 2013 17:07:02 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5377-module-developer-required/</guid>
	</item>
	<item>
		<title>Shipping Options on One Step Checkout</title>
		<link>http://forum.lemonstandapp.com/topic/5375-shipping-options-on-one-step-checkout/</link>
		<description><![CDATA[Hi,<br />
<br />
Has anyone implemented Shipping Options with the One Step Checkout?<br />
<br />
I want the customer to be able to choose if they want standard shipping or express shipping.]]></description>
		<pubDate>Fri, 10 May 2013 03:17:44 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5375-shipping-options-on-one-step-checkout/</guid>
	</item>
	<item>
		<title>Multiple shop:pay pages</title>
		<link>http://forum.lemonstandapp.com/topic/5374-multiple-shoppay-pages/</link>
		<description><![CDATA[Hi All,<br />
<br />
I have a site that has 2 Pay pages that both need a different layout and URL.<br />
<br />
The way lemonstand currently works is it finds the first page with shop:pay set as the action, but i need to overwrite this in a handler and assign the pay page it should go to from the Review step in the checkout.<br />
<br />
Has anyone achieved this?<br />
<br />
Thanks<br />
Sam]]></description>
		<pubDate>Thu, 09 May 2013 10:12:33 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5374-multiple-shoppay-pages/</guid>
	</item>
	<item>
		<title>PDF</title>
		<link>http://forum.lemonstandapp.com/topic/5368-pdf/</link>
		<description><![CDATA[I see it on the roadmap, but it's been there for a good year now. Any update on the PDF Invoice feature? I was hoping it would have been out months ago so I could avoid paying for someone to create one for me. Based on timing and all the pending items in the roadmap, it seems as if a major release is coming.]]></description>
		<pubDate>Wed, 08 May 2013 15:12:04 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5368-pdf/</guid>
	</item>
	<item>
		<title>How do I exempt a customer from sales tax</title>
		<link>http://forum.lemonstandapp.com/topic/5367-how-do-i-exempt-a-customer-from-sales-tax/</link>
		<description>How do I exempt a customer from being charged sales tax?</description>
		<pubDate>Wed, 08 May 2013 13:29:59 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5367-how-do-i-exempt-a-customer-from-sales-tax/</guid>
	</item>
	<item>
		<title>ImageMagick and LemonStand</title>
		<link>http://forum.lemonstandapp.com/topic/5366-imagemagick-and-lemonstand/</link>
		<description><![CDATA[Hi, everyone.<br />
I'm learning about LemonStand with a view to commercial use. Right now I have a developer licence running on my OS X 10.8 via localhost (i.e., not MAMP). I want to poke around with ImageMagick to see what it can do. I've built it from source and it's installed into /usr/local/bin/:<br />
<br />
<pre class='prettyprint'>pete$ convert -version
Version: ImageMagick 6.8.5-4 2013-05-06 Q16 http&#58;//www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: bzlib xml zlib</pre><br />
<br />
I have installed LemonStand and enabled IM in the install routine. I provided the /usr/local/bin/ path and the convert script is accessible by all users.<br />
<br />
I have installed the default/test products as proof of concept. I am getting 'Error Creating Thumbnail' errors on my images. I've cleared out the uploaded/thumbnails folder, and when I refresh the category and/or product page the 'Error Creating Thumbnails' thumbnails are recreated.<br />
<br />
To me, there's a problem talking to ImageMagick. I've built the binaries, they're installed and working; do I need to set up PHP to talk to IM using imagick.so, or am I missing something else I should be doing?<br />
<br />
Thank you in advance.]]></description>
		<pubDate>Wed, 08 May 2013 13:07:41 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5366-imagemagick-and-lemonstand/</guid>
	</item>
	<item>
		<title><![CDATA[Fatal error: Class 'Phpr_ClassLoader' not found]]></title>
		<link>http://forum.lemonstandapp.com/topic/5365-fatal-error-class-phpr-classloader-not-found/</link>
		<description><![CDATA[This was discussed on the forum before but the topic is now locked. I get<br />
Fatal error: Class 'Phpr_ClassLoader' not found in /home/public_html/phproad/system/initialize.php on line 69<br />
<br />
Working on a shared hosting environment. Short open tags are enabled in the server deafult php.ini]]></description>
		<pubDate>Wed, 08 May 2013 10:35:41 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5365-fatal-error-class-phpr-classloader-not-found/</guid>
	</item>
	<item>
		<title>Admin ordering - credit card processing</title>
		<link>http://forum.lemonstandapp.com/topic/5364-admin-ordering-credit-card-processing/</link>
		<description><![CDATA[Many of our customers will call in orders instead of ordering online. The current process has us submitting orders to get to a page where we can review the order, click pay to get to another page, and then enter in their credit card information. <br />
<br />
A significant number of phone customers will change their order in some way during the payment process. Very rarely does someone have the cajones to just pull the trigger without adjusting quantities slightly or upgrading shipping, etc. LemonStand allows us to go back and edit the order when changes are made, but then we still have to save and return to that pay page to actually process the payment. I have a feeling no developers have actually used this ordering process with a real customer. <br />
<br />
Anyway, is there a way to process credit cards directly from the admin order page? By selecting Credit Card, have it drop down showing the typical card number, expiration, and security code, and then clicking submit with everything wrapped up?]]></description>
		<pubDate>Tue, 07 May 2013 16:55:02 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5364-admin-ordering-credit-card-processing/</guid>
	</item>
	<item>
		<title>Shipping Options Order</title>
		<link>http://forum.lemonstandapp.com/topic/5363-shipping-options-order/</link>
		<description><![CDATA[How are the ordering of the shipping options determined? <br />
<br />
We are using a combination of flat rate + UPS. I want flat rate to appear first, rather than UPS options. I have a workaround w/ using just the table rate function, but if there is a way to do this natively that is ideal. <br />
<br />
As always, thanks in advanced!]]></description>
		<pubDate>Tue, 07 May 2013 02:40:52 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5363-shipping-options-order/</guid>
	</item>
	<item>
		<title>Customizing Page Titles</title>
		<link>http://forum.lemonstandapp.com/topic/5362-customizing-page-titles/</link>
		<description><![CDATA[Hello folks,<br />
<br />
New subscriber with my first question.<br />
<br />
I see that the page titles are also used for the navigation buttons, but I want to create custom page titles for each page instead of using the navigation page/button titles. How do I go about doing that? I tried changing the everything from the page to layout to partial with no success.<br />
<br />
Thanks in advance for any assistance.<br />
<br />
Robert Shepherd]]></description>
		<pubDate>Mon, 06 May 2013 21:22:28 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5362-customizing-page-titles/</guid>
	</item>
	<item>
		<title>Billing address different than shipping address</title>
		<link>http://forum.lemonstandapp.com/topic/5360-billing-address-different-than-shipping-address/</link>
		<description><![CDATA[Hi there,<br />
<br />
I just ran into a small issue today. Someone wanted to order from us, but they couldn't get through to the payment area. We only ship to the US and I set that up, however; it's interesting that her billing address is in Canada. Is there any way to get around that? I can take the order over the phone or another way, for now, but it would be nice to fix that so I don't lose any potentials. <img src='http://forum.lemonstandapp.com/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /><br />
<br />
Thank you,<br />
Stephanie]]></description>
		<pubDate>Mon, 06 May 2013 17:45:25 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5360-billing-address-different-than-shipping-address/</guid>
	</item>
	<item>
		<title>resized PNG background Phpr_Image</title>
		<link>http://forum.lemonstandapp.com/topic/5359-resized-png-background-phpr-image/</link>
		<description><![CDATA[When resizing an image for categories or product images using <br />
<br />
<pre class='prettyprint'>
$category-&gt;images&#91;0&#93;-&gt;getThumbnailPath($img_w, $img_h, false);
</pre><br />
<br />
The background of the image is created as solid white and drops the PNG transparency. I tracked the issue down to the following class member:<br />
<br />
<pre class='prettyprint'>
Phpr_Image::makeThumbnail();
</pre><br />
<br />
within this function the problem lies around here, without modifying the code i cannot specifically track down the issue<br />
<br />
<pre class='prettyprint'>
if (!$returnJpeg)
                {
                    imagealphablending( $image_p, false );
                    imagesavealpha( $image_p, true );
                }

                $white = imagecolorallocate($image_p, 255, 255, 255);
                imagefilledrectangle($image_p, 0, 0, $imgWidth, $imgHeight, $white);

                $dest_x = 0;
                $dest_y = 0;

                if ($centerImage)
                {
                    $dest_x = ceil($imgWidth/2 - $width/2);
                    $dest_y = ceil($imgHeight/2 - $height/2);
                }

                imagecopyresampled($image_p, $image, $dest_x, $dest_y, $offset_x, $offset_y, $width, $height, $width_orig, $height_orig);
                
                if ($returnJpeg)
                    imagejpeg($image_p, $destPath, Phpr::$config-&gt;get('IMAGE_JPEG_QUALITY', 70));
                else
                    imagepng($image_p, $destPath, 8);
</pre>]]></description>
		<pubDate>Sun, 05 May 2013 23:53:07 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5359-resized-png-background-phpr-image/</guid>
	</item>
	<item>
		<title>Seeking Theming and Integration for Lemonstand sites in Australia</title>
		<link>http://forum.lemonstandapp.com/topic/5358-seeking-theming-and-integration-for-lemonstand-sites-in-australia/</link>
		<description><![CDATA[Hi I run a small design agency servicing clients in small-medium business.<br />
<br />
We're considering Lemonstand as a platform for new eCommerce projects BUT to do so I need reliable developers who I can trust to deliver to the design standard our clients expect.<br />
<br />
If you meet the following criteria, I'd love to connect via PM initially and I'll be in touch if you've convinced me that you would be a good fit!<br />
<br />
- Experience building themes for Lemonstand, especially responsive<br />
- High level of attention to detail, particularly with design to frontend development - our design team will lynch me if this is not a pre-requisite <img src='http://forum.lemonstandapp.com/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /><br />
- Excellent English communication skills, written and verbal<br />
- Familiarity with Australian shipping and payment modules<br />
- Able to commit the time required to project completion within realistic timeframes<br />
- OPTIONAL Ability to extend/customise modules or build new ones where required (given our client base I think this would be a rarity)<br />
<br />
Please provide examples of your work and current client references if possible. <br />
<br />
Thanks,<br />
Peter]]></description>
		<pubDate>Sat, 04 May 2013 07:04:37 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5358-seeking-theming-and-integration-for-lemonstand-sites-in-australia/</guid>
	</item>
	<item>
		<title>Mega Menu Reloaded</title>
		<link>http://forum.lemonstandapp.com/topic/5357-mega-menu-reloaded/</link>
		<description><![CDATA[Hi hopefully somebody can help me and point me in the right direction, i have Lemonstand all functioning in Xammp locally and I want to implement a Mega menu that i have purchased from code canyon, it is a simple enough task to get working within a basic html template the problem i am having is linking the javascript files correctly within Lemonstand below is how i was hoping to link the files am i right in thinking that it can be done like this into the HEAD partial ?<br />
<br />
I have been trying to get this going for hours as i understood lemonstand it is able to be fully customised ??<br />
<br />
&lt;title&gt;&lt;?= h($this-&gt;page-&gt;title) ?&gt;&lt;/title&gt;<br />
<br />
&lt;?= $this-&gt;css_combine(array(<br />
  'ls_styles',<br />
  '@css/foundation.min.css',<br />
  '@css/megamenu.css',<br />
  '@css/megamenu_ie.css',<br />
  '@css/style.css'<br />
)) ?&gt;<br />
<br />
&lt;?= $this-&gt;js_combine(array(<br />
  '@javascript/jquery.js',<br />
 <br />
  '@javascript/modernizr.foundation.js',<br />
  '@javascript/foundation.min.js',<br />
  '@javascript/app.js',<br />
  'ls_core_jquery'<br />
)) ?&gt;<br />
<br />
&lt;script src="js/jquery.js"&gt;&lt;/script&gt;&lt!-- jQuery --&gt;<br />
&lt;script src="js/jquery.easing.js"&gt;&lt;/script&gt;&lt!-- jQuery Easing effects --&gt;<br />
&lt;script src="js/megamenu_plugins.js"&gt;&lt;/script&gt;&lt!-- Mega Menu Plugins (scroller, form, hoverIntent) --&gt;<br />
&lt;script src="js/megamenu.js"&gt;&lt;/script&gt;&lt!-- Mega Menu Script --&gt;<br />
&lt;script&gt;<br />
$(document).ready(function($){<br />
	$('.megamenu').megaMenuReloaded({<br />
		menu_speed_show : 300, // Time (in milliseconds) to show a drop down<br />
		menu_speed_hide : 200, // Time (in milliseconds) to hide a drop down<br />
		menu_speed_delay : 200, // Time (in milliseconds) before showing a drop down<br />
		menu_effect : 'hover_slide', // Drop down effect, choose between 'hover_fade', 'hover_slide', 'click_fade', 'click_slide', 'open_close_fade', 'open_close_slide'<br />
		menu_easing : 'jswing', // Easing Effect : 'easeInQuad', 'easeInElastic', etc.<br />
		menu_click_outside : 0, // Clicks outside the drop down close it (1 = true, 0 = false)<br />
		menu_show_onload : 0, // Drop down to show on page load (type the number of the drop down, 0 for none)<br />
		menubar_trigger : 0, // Show the menu trigger (button to show / hide the menu bar), only for the fixed version of the menu (1 = show, 0 = hide)<br />
        menubar_hide : 0, // Hides the menu bar on load (1 = hide, 0 = show)<br />
        menu_responsive : 1, // Enables mobile-specific script<br />
        menu_carousel : 1, // Enable / disable carousel<br />
        menu_carousel_groups : 2 // Number of groups of elements in the carousel<br />
	});<br />
	$('#megamenu_form').ajaxForm({target:'#alert'}); <br />
});<br />
&lt;/script&gt;<br />
<br />
&lt!--[if lt IE 8]&gt;<br />
&lt;link rel="stylesheet" type="text/css" href="css/megamenu_ie.css" /&gt;<br />
&lt;![endif]--&gt;<br />
&lt!--[if lt IE 7]&gt;<br />
&lt;script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE7.js"&gt;&lt;/script&gt;<br />
&lt;![endif]--&gt;]]></description>
		<pubDate>Fri, 03 May 2013 15:45:46 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5357-mega-menu-reloaded/</guid>
	</item>
	<item>
		<title>Google Merchants Issues Anyone?</title>
		<link>http://forum.lemonstandapp.com/topic/5354-google-merchants-issues-anyone/</link>
		<description><![CDATA[Interestingly enough, I was looking into my Google Feed this morning to ensure it was working correctly and of course, it was not.<br />
<br />
On the Google side of all this, it seems that all of our products are being disapproved due to a change in the acceptable policies. Thus being, they seem to be requiring the GTIN now...<br />
<br />
Either that, or there's a formatting error that's causing this. Either way, I wondered if anyone has experienced this? We were getting such great success from the merchant center, and I'd love to get this up and running again.]]></description>
		<pubDate>Fri, 03 May 2013 10:17:10 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5354-google-merchants-issues-anyone/</guid>
	</item>
	<item>
		<title>Developer required</title>
		<link>http://forum.lemonstandapp.com/topic/5353-developer-required/</link>
		<description><![CDATA[Hello<br />
We are a UK based company with a website based on Lemonstand. We require a Lemonstand savvy developer to make some amends to our site  as I cannot contact the original developer.  Could you recommend some developers for me to contact in UK?<br />
Thanks]]></description>
		<pubDate>Thu, 02 May 2013 09:49:56 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5353-developer-required/</guid>
	</item>
	<item>
		<title><![CDATA[QapTcha : jQuery captcha drag &#38; drop]]></title>
		<link>http://forum.lemonstandapp.com/topic/5352-qaptcha-jquery-captcha-drag-drop/</link>
		<description><![CDATA[In my Qaptcha contactus  form, the Jquery call made from (QapTcha.jquery.js) to the PHP control (QapTcha.jquery.php) has to generate encoded json response as true or false depending upon the position of arrow slider. But I am getting a response from QapTcha.jquery.php, which is not returning callback to QapTcha.jquery.js but generating HTML code of whole page of contactus form again. The response status is correct which is 200. <br />
<br />
I need help in this so that I should be redirected to QapTcha.jquery.js back instead of getting HTML code in midway.<br />
<br />
I have read the following Forum topic but it is not excatly the same what I am looking for.    <br />
<br />
<a href='http://forum.lemonstandapp.com/topic/2646-captcha-on-registration/page__p__12048__hl__qaptcha__fromsearch__1#entry12048' class='bbc_url' title=''>http://forum.lemonstandapp.com/topic/2646-captcha-on-registration/page__p__12048__hl__qaptcha__fromsearch__1#entry12048</a><br />
<br />
<a href='http://www.screencast.com/t/CuX2SdVK0KVL' class='bbc_url' title='External link' rel='nofollow external'>http://www.screencast.com/t/CuX2SdVK0KVL</a>]]></description>
		<pubDate>Wed, 01 May 2013 13:31:02 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5352-qaptcha-jquery-captcha-drag-drop/</guid>
	</item>
	<item>
		<title>Discount on Shipping</title>
		<link>http://forum.lemonstandapp.com/topic/5351-discount-on-shipping/</link>
		<description><![CDATA[Hi,<br />
<br />
Is anyone aware of a way to create a discount on part of the shipping? (e.g. $5 off shipping) <br />
<br />
Thanks<br />
Ben]]></description>
		<pubDate>Wed, 01 May 2013 06:45:32 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5351-discount-on-shipping/</guid>
	</item>
	<item>
		<title><![CDATA[Can't Import Theme]]></title>
		<link>http://forum.lemonstandapp.com/topic/5350-cant-import-theme/</link>
		<description><![CDATA[Trying to import a theme on a new host (client is insisting on this host). I get the following error:<br />
<br />
Fatal error: Class 'DOMDocument' not found in /var/www/html/company_folder/modules/cms/classes/cms_exportmanager.php on line 444 <br />
<br />
Line 444:<br />
<br />
$doc = new DOMDocument('1.0');<br />
<br />
Any ideas?]]></description>
		<pubDate>Tue, 30 Apr 2013 15:06:34 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5350-cant-import-theme/</guid>
	</item>
	<item>
		<title>Meganav containing all categories and products</title>
		<link>http://forum.lemonstandapp.com/topic/5349-meganav-containing-all-categories-and-products/</link>
		<description><![CDATA[Hi guys<br />
<br />
I'm working on a meganav type of navigation that basically gives access to every product on the site. Product catalog is divided into 2 main categories (there are slightly different websites, each feeds from relevant top level categories). So first thing that meganav does is creating the object of the main category, then list it's children and then list each child's products. There's about 12 categories and 70 products in total. The problem with this is that I'm getting significant performance drop when doing that using common LS methods (due to nested looping).<br />
<br />
Here's exactly what I do.<br />
Categories layout is something like that<br />
<br />
Website 1<br />
  - subcategory 1<br />
       products<br />
  - subcategory 2<br />
       products<br />
  - subcategory 3 <br />
       products<br />
<br />
Website 2<br />
  - subcategory 1<br />
       products<br />
  - subcategory 2<br />
       products<br />
  - subcategory 3 <br />
       products<br />
<br />
So for first website:<br />
<pre class='prettyprint'>
&lt;ul&gt;
&lt;?
$parent_category = Shop_Category::create()-&gt;find_by_code('Website 1');
$all_categories = $parent_category-&gt;list_children('front_end_sort_order'); 

foreach($all_categories as $subcategory){
   $products = $subcategory-&gt;products;
?&gt;

   &lt;li class="category"&gt;&lt;a href="&lt;?=h($subcategory-&gt;page_url('site1/products/category'))?&gt;"&gt;&lt;?=h($subcategory-&gt;name)?&gt;&lt;/a&gt;&lt;/li&gt;
   &lt;?foreach($products as $product){?&gt;
      &lt;li&gt;
	 &lt;a href="&lt;?=h($product-&gt;page_url('site1/product'))?&gt;/&lt;?=$product-&gt;category_list&#91;0&#93;-&gt;url_name?&gt;"&gt;&lt;?=h($product-&gt;name)?&gt;&lt;/a&gt;
      &lt;/li&gt;
   &lt;?}
}
?&gt;
&lt;/ul&gt;

</pre><br />
<br />
So this is causing a huge delay. I wonder if you can provide an example to do it in more efficient way. I tried assigning products to also the main category (plus the one they directly appear under) but that causes another challenge of listing the products under appropriate sections on the meganav and frankly I didn't see much performance jump]]></description>
		<pubDate>Tue, 30 Apr 2013 14:47:18 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5349-meganav-containing-all-categories-and-products/</guid>
	</item>
	<item>
		<title>Basic Demo checkout not working</title>
		<link>http://forum.lemonstandapp.com/topic/5348-basic-demo-checkout-not-working/</link>
		<description><![CDATA[Hey guys,<br />
just trying to test out the Paypal standard implementation on your basic demo store (<a href='http://demo.lemonstandapp.com/basic/pay/' class='bbc_url' title='External link' rel='nofollow external'>http://demo.lemonstandapp.com/basic/pay/</a> page) and the Paypal sandbox login details aren't working for me.  Any ideas? Thanks]]></description>
		<pubDate>Tue, 30 Apr 2013 13:40:19 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5348-basic-demo-checkout-not-working/</guid>
	</item>
	<item>
		<title>Themes and CSS Not Loading</title>
		<link>http://forum.lemonstandapp.com/topic/5347-themes-and-css-not-loading/</link>
		<description><![CDATA[We've installed both the Twig and PHP versions of Zest. The home page renders the CSS correctly but any subsequent pages do not unless you click Shift-Refresh. Before doing so, the content is rendered but without the styles. Click shift-refresh, and the stylesheet is loaded and the page renders correctly. Example at <a href='http://smartvendor.itristanmedia.com/.' class='bbc_url' title='External link' rel='nofollow external'>http://smartvendor.itristanmedia.com/.</a>]]></description>
		<pubDate>Tue, 30 Apr 2013 13:17:52 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5347-themes-and-css-not-loading/</guid>
	</item>
	<item>
		<title>cms:onCustomEvent - Nuts</title>
		<link>http://forum.lemonstandapp.com/topic/5346-cmsoncustomevent-nuts/</link>
		<description><![CDATA[Hi there,<br />
<br />
I have drawn a blank trying to implement a custom event in my module.<br />
<br />
<br />
I have in my custom Module<br />
class xNewsletterSub_Module extends Core_ModuleBase <br />
<pre class='prettyprint'>
public function subscribeEvents(){
//custom
Backend::$events-&gt;addEvent('xnewslettersub:onSubscribeCustomer', $this, 'backend_subscribe_customer');
}

function backend_subscribe_customer($controller, $customer){
Phpr::$session-&gt;flash&#91;'error'&#93; = 'backend_subscribe_customer test';
Phpr_SystemException( 'backend_subscribe_customer test');
}


</pre><br />
<br />
I then created an ajax button on the CUSTOMER view page<br />
<pre class='prettyprint'>&lt;?= backend_ajax_button('Subscribe', 'cms:onCustomEvent', array('class'=&gt;"left"), "confirm: 'Really?', extraFields: {custom_event_handler: 'xnewslettersub:onSubscribeCustomer'}"); ?&gt;
</pre><br />
<br />
Clicking the button just holds the loading indicator.  No logs or errors so I guess the custom event is not firing. <br />
<br />
Looking at the documentation<br />
<a href='http://lemonstand.com/docs/handling_lemonstand_events/' class='bbc_url' title='External link' rel='nofollow external'>http://lemonstand.com/docs/handling_lemonstand_events/</a><br />
<br />
And this thread<br />
<a href='http://forum.lemonstandapp.com/topic/4264-adding-new-global-handler-to-a-module/' class='bbc_url' title=''>http://forum.lemonstandapp.com/topic/4264-adding-new-global-handler-to-a-module/</a><br />
<br />
I cant see what I have done wrong.  Can anyone get me out of this rut?]]></description>
		<pubDate>Tue, 30 Apr 2013 07:24:54 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5346-cmsoncustomevent-nuts/</guid>
	</item>
	<item>
		<title>Partial Payment/ Deposit Payment</title>
		<link>http://forum.lemonstandapp.com/topic/5345-partial-payment-deposit-payment/</link>
		<description><![CDATA[Hi All,<br />
<br />
 We are scoping development of a module for a customers shop that would allow partial/deposit payments for orders. <br />
I want to know if the idea we have in mind would work. <br />
Create new order transitions for deposit paid<br />
<br />
orders will follow this process<br />
new -&gt; deposit paid -&gt; paid -&gt; shipped<br />
A customer will be notified when to complete payment. <br />
<br />
A new payment module would be created to calculate the x% of order total  required to be paid<br />
Customer would pay that amount it would be recorded with a payment transaction and the status set to 'deposit paid' <br />
<br />
when item arrives and owner of store notifies customer  they will login to their account view outstanding order<br />
payment module would calculate remaining amount owing<br />
customer would make the payment then the module would mark the order as 'paid' and normal processes continue<br />
<br />
If we are misuisng the payment transactions within an order we could also extend the order object and add some extra fields to help manage the deposit paid amount, percentage of total order it was for etc. <br />
<br />
I am not finding much information related to this specific customisation so I'm hoping the thought process we have had so far is correct.]]></description>
		<pubDate>Tue, 30 Apr 2013 02:23:00 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5345-partial-payment-deposit-payment/</guid>
	</item>
	<item>
		<title>Australia/NZ tax inclusive pricing</title>
		<link>http://forum.lemonstandapp.com/topic/5344-australianz-tax-inclusive-pricing/</link>
		<description><![CDATA[Just wondering what the majority of Australian/Kiwi devs are doing in relation to this?<br />
I've been playing with changing precision of the price columns in shop_products & shop_tier_prices tables but its not ideal for the end user and they are protesting having to re-calculate every product.<br />
Is the only alternative to set tax at 0% and edit every partial where GST is being calculated?<br />
<br />
Tax inclusive pricing looks like its on the roadmap - any ETA?<br />
<br />
TIA<br />
Dave]]></description>
		<pubDate>Tue, 30 Apr 2013 01:20:48 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5344-australianz-tax-inclusive-pricing/</guid>
	</item>
	<item>
		<title>Discount Bundled Products</title>
		<link>http://forum.lemonstandapp.com/topic/5343-discount-bundled-products/</link>
		<description><![CDATA[I'm trying to figure out a way of doing discounted bundled products, which should appear separately to the main product i.e. as a related item. I reckon this might get confusing so I've included a screenshot of a site we want to emulate (see attachment) - you can also view the active page at: <a href='http://www.jessops.com/online.store/categories/products/canon/eos-1100d-digital-slr-in-black-with-18-55mm-dc-lens-80181/show.html' class='bbc_url' title='External link' rel='nofollow external'>Jessops</a>.<br />
<br />
Basically I need to be able to output groups of bundles, which itemize each product in the bundle, in the format<br />
<br />
prod1 + prod2 + prod3 +prod4 = £1234 (£123 discount)<br />
<br />
I then need to be able to add all these to the basket in 1 go, where each product is again itemized and the discount shown. As far as I can work out the bundled products feature in LS isn't set up to handle this type of bundled product, so I was hoping someone might have a good idea for implementing this feature without having to write a long winded and difficult module.<br />
<br />
If you manage to make it to the end of my ramble and have an idea, I'd love to hear it.<br />
<br />
Many thanks<br />
<br />
David<div id='attach_wrap' class='rounded clearfix'>
	<h4>Attached thumbnail(s)</h4>
	<ul>
		
			<li class=''>
				<a class='resized_img' rel='lightbox[22359]' id='ipb-attach-url-448-0-16410600-1368898032' href="http://forum.lemonstandapp.com/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=448" title="bundled.jpg - Size: 128.45K, Downloads: 4"><img src="http://forum.lemonstandapp.com/uploads/monthly_04_2013/post-1793-0-60989700-1367252286_thumb.jpg" id='ipb-attach-img-448-0-16410600-1368898032' style='width:100;height:93' class='attach' width="100" height="93" alt="Attached Image: bundled.jpg" /></a>
			</li>
		
	</ul>
</div>]]></description>
		<pubDate>Mon, 29 Apr 2013 16:25:00 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5343-discount-bundled-products/</guid>
	</item>
	<item>
		<title>Shop_Product has_many custom field and duplicate_product() method</title>
		<link>http://forum.lemonstandapp.com/topic/5342-shop-product-has-many-custom-field-and-duplicate-product-method/</link>
		<description><![CDATA[This is a request for a new event to facilitate module development.<br />
<br />
Currently we've added an extra has_many field to <span style='font-family: Courier New'>Shop_Product</span> via <span style='font-family: Courier New'>shop:onExtendProductModel</span> etc. The problem is, values of this field aren't copied when a product is duplicated.<br />
<br />
The problem appears to lie with the <span style='font-family: Courier New'>Shop_Product::copy_properties()</span> method - this copies over <span style='font-family: Courier New'>images, files, options, properties, price_tiers, product_extra_options</span> but doesn't account for the possibility of any other relation fields added by modules. Popping <span style='font-family: Courier New'>Backend::$events-&gt;fireEvent('shop:onDuplicateProduct', $this, $obj);</span> into that method would be an enormous help to module developers.<br />
<br />
Summary of request:<br />
<br />
<pre class='prettyprint'>--- modules/shop/models/shop_product.php     2013-04-29 14:45:04.481000000 +0100
+++ modules/shop/models/shop_product.php     2013-04-29 14:46:00.494000000 +0100
@@ -837,6 +837,8 @@
                        // $extra_sets = $this-&gt;list_related_records_deferred('extra_option_sets', $this_session_key);
                        // foreach ($extra_sets as $set)
                        //      $obj-&gt;bind('extra_option_sets', $set, $session_key);
+
+                       Backend::$events-&gt;fireEvent('shop:onDuplicateProduct', $this, $obj);

                        return $obj;
                }
</pre>]]></description>
		<pubDate>Mon, 29 Apr 2013 13:52:11 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5342-shop-product-has-many-custom-field-and-duplicate-product-method/</guid>
	</item>
	<item>
		<title>Additoinal column in arrtibutes?</title>
		<link>http://forum.lemonstandapp.com/topic/5341-additoinal-column-in-arrtibutes/</link>
		<description><![CDATA[Is it possible to extend / add another column in the attributes say for example to have a Col named "Tooltip" that I could put a short description of the attribute in to run a hover tooltip on (hint).]]></description>
		<pubDate>Mon, 29 Apr 2013 10:11:08 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5341-additoinal-column-in-arrtibutes/</guid>
	</item>
	<item>
		<title><![CDATA[Products that don't exist]]></title>
		<link>http://forum.lemonstandapp.com/topic/5340-products-that-dont-exist/</link>
		<description><![CDATA[Hi, just doing a bit of research, and wanted to get some feedback from you regarding how to get lemonstand to handle products that don't exist within its own database.<br />
<br />
The deal is that I need to build a jewellery site which, in addition to its own local stock (populated from a point of sale system, although I'm hoping this will work via a simple CSV import once a night), it will need to handle the ordering of products from an external source.<br />
<br />
I'll be dealing with two external feeds, one powered by <a href='http://www.goldmarkuk.com/' class='bbc_url' title='External link' rel='nofollow external'>http://www.goldmarkuk.com/</a> and the other by <a href='http://www.diamonds.net/.' class='bbc_url' title='External link' rel='nofollow external'>http://www.diamonds.net/.</a> )Due to the nature of the feeds, I'm unable to simply import the products into a local database as the products and prices will fluctuate.)<br />
<br />
I'm able to grab the required data and have it display on the site, as well as have all the info which the cart/checkout would required, but due to the fact the product won't exist within lemonstand's own product database, how well do you think Lemonstand would be able to handle it?<br />
<br />
Cheers.]]></description>
		<pubDate>Mon, 29 Apr 2013 09:36:35 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5340-products-that-dont-exist/</guid>
	</item>
	<item>
		<title>Best way to do a responsive theme?</title>
		<link>http://forum.lemonstandapp.com/topic/5339-best-way-to-do-a-responsive-theme/</link>
		<description><![CDATA[Hi there,<br />
<br />
I'm about to start doing the responsive look and feel for Barstool Comforts. I know how to do it using media queries which I'll do. I would like to create a theme for this since adding the CSS would really bloat the CSS. <br />
<br />
But... how would I go about testing this? I mean, if I add a theme, first, how would I be able to to test it out without making it the "live" theme?]]></description>
		<pubDate>Sun, 28 Apr 2013 18:35:55 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5339-best-way-to-do-a-responsive-theme/</guid>
	</item>
	<item>
		<title>Overlay Window Causing Issues</title>
		<link>http://forum.lemonstandapp.com/topic/5338-overlay-window-causing-issues/</link>
		<description><![CDATA[Alright, for a reference point, I'd like to use the page located at:<br />
<br />
<a href='http://skipthewarehouse.com/store/product/fortress-4-12-ldk122w-12-white-wall-duct-kit/' class='bbc_url' title='External link' rel='nofollow external'>http://skipthewarehouse.com/store/product/fortress-4-12-ldk122w-12-white-wall-duct-kit/</a><br />
<br />
There is a button labeled: Click to Add Accessories. This button works excellently, except for one distinct problem. Whenever you select one of the items in the accessories, and then change it's color (or another "grouped" option), the proccessing bar overlays, and then when you attempt to change the quantities, it does so in multiples of two.<br />
<br />
I'm sure I'm missing some sort of ajax refresh here, I've posted some code chunks below:<br />
<br />
shop:bundle partial<br />
<pre class='prettyprint'>&lt;? 
    if ($product-&gt;bundle_items-&gt;count): 
?&gt;
&lt;div id="myModal" class="reveal-modal"&gt;
  &lt;h3&gt;Components&lt;/h3&gt;
&lt;p style="color: red;"&gt;We apologize for the inconvience, but some users may experience 
issues while adding accessories, such as: Quantities Doubling after selecting colors, multiple
items being added to the cart, etc. We are working on this issue as quickly as possible. 
Alternatively, you can order products through the normal interface, or contact us by telephone
to place your order. We're sorry for any trouble this may cause and are working to resolve this
as quickly as possible.&lt;/p&gt;
  &lt;table&gt;
    &lt;? foreach ($product-&gt;bundle_items as $item): ?&gt;
      &lt;tr&gt;
        &lt;th class="item"&gt;
          &lt;?= h($item-&gt;name) ?&gt;
          &lt;? if ($item-&gt;description): ?&gt;
            &lt;p&gt;&lt;?= h($item-&gt;description) ?&gt;&lt;/p&gt;
          &lt;? endif ?&gt;
        &lt;/th&gt;
        &lt;td class="products"&gt;&lt;? $this-&gt;render_partial('shop:bundle_item_products', array('item'=&gt;$item)) ?&gt;&lt;/td&gt;
      &lt;/tr&gt;
    &lt;? endforeach ?&gt;
  &lt;/table&gt;
&lt;? endif ?&gt;​
&lt;a class="close-reveal-modal"&gt;&#215;&lt;/a&gt;
&lt;/div&gt;</pre><br />
<br />
shop:product partial<br />
<pre class='prettyprint'>&lt;script type="text/javascript"&gt;

$(document).ready(function(){
    //  When user clicks on tab, this code will be executed
    $("#tabs li").click(function() {
        //  First remove class "active" from currently active tab
        $("#tabs li").removeClass('active');
 
        //  Now add class "active" to the selected/clicked tab
        $(this).addClass("active");
 
        //  Hide all tab content
        $(".tab_content").hide();
 
        //  Here we get the href value of the selected tab
        var selected_tab = $(this).find("a").attr("href");
 
        //  Show the selected tab content
        $(selected_tab).fadeIn();

        //  At the end, we add return false so that the click on the link is not executed
        return false;
    });
});
&lt;/script&gt;
&lt;div class="grid_16 alpha omega" id="box" style="margin-left:10px;width:940px;"&gt;
	&lt;h2 style="text-align:center;margin-bottom:15px;"&gt;&lt;?= $product-&gt;name ?&gt;&lt;/h2&gt;
	
	&lt;div class="grid_4 product_image" style="margin-top:10px;"&gt;
  		&lt;? if ($product-&gt;is_discounted()):  ?&gt;
    		&lt;span class="on_sale"&gt;On sale!&lt;/span&gt;
  		&lt;? endif ?&gt;
  	&lt;? $this-&gt;render_partial('shop:product_images') ?&gt;
  		&lt;div class="grid_6 alpha" style="margin-top:10px;"&gt;
  			&lt;? if ($product-&gt;rating_all):  ?&gt;
    			&lt;p class="rating_info clearfix"&gt;Customer rating: &lt;span class="rating_&lt;?= $product-&gt;rating_all*10 ?&gt;"&gt;based on &lt;?= $product-&gt;rating_all_review_num ?&gt; reviews&lt;/span&gt;&lt;/p&gt;
  			&lt;? endif ?&gt;
		&lt;/div&gt; 
	&lt;/div&gt;
	&lt;?= open_form() ?&gt;
	&lt;div class="grid_4" style="margin-left:20px;margin-top:10px;"&gt;
		&lt;h4&gt;&lt;?= $product-&gt;name ?&gt;&lt;/h4&gt;
			&lt;p&gt;&lt;strong&gt;SKU:&lt;/strong&gt; &lt;?= $product-&gt;sku ?&gt;&lt;/p&gt;
		&lt;/div&gt;
	&lt;div class="grid_6 alpha" style="margin-left:45px"&gt;  
        &lt;?
        $posted_options = Shop_ProductHelper::get_default_options($product);
        $disabled = $product-&gt;om('disabled', $posted_options);
        ?&gt;
      	&lt;? if (!$disabled): ?&gt;
        &lt;? if (!$product-&gt;om('is_out_of_stock') || $product-&gt;allow_pre_order): ?&gt;
          
      	&lt;? if ($product-&gt;grouped_products-&gt;count): ?&gt;
      	&lt;div class="grid_6 alpha"&gt;
        	&lt;? $this-&gt;render_partial('shop:grouped_products') ?&gt;
      	&lt;/div&gt;
      	&lt;div class="clear"&gt;&lt;/div&gt;
    	&lt;? endif ?&gt; 
    	&lt;div class="grid_6 alpha"&gt;
        	&lt;? if (!$product-&gt;bundle_items-&gt;count): ?&gt;
	        	&lt;? $this-&gt;render_partial('shop:product_add_to_cart_controls') ?&gt;
          	&lt;? endif ?&gt;
        &lt;/div&gt;
			&lt;? else: ?&gt;
          	&lt;p&gt;This product is temporarily unavailable. 
            	&lt;? if ($product-&gt;om('expected_availability_date', $posted_options)): ?&gt;
            The expected availability date is &lt;strong&gt;&lt;?= $product-&gt;om('expected_availability_date', $posted_options)-&gt;format('%x') ?&gt;&lt;/strong&gt;
          		&lt;? endif ?&gt;
          	&lt;/p&gt;
          		&lt;? endif ?&gt;
      				&lt;? else: ?&gt;
        				&lt;? $this-&gt;render_partial('shop:product_options') ?&gt;
        					&lt;p&gt;This product is disabled&lt;/p&gt;
      				&lt;? endif ?&gt;
    &lt;/div&gt;
&lt;hr&gt;
    	&lt;? if ($product-&gt;bundle_items-&gt;count): ?&gt;
    &lt;div class="grid_8" style="float:right;"&gt;
    	&lt;h3&gt;Want to Add Related Items?&lt;/h3&gt;
    		&lt;p&gt;Click the button below to add related/bundle items to your order, when you've finished adding them, simply close the window to return here and add all selected items to your cart!&lt;/p&gt;
		&lt;a href="#" data-reveal-id="myModal" class="button_control"&gt;Click to Add Accessories&lt;/a&gt;
	&lt;/div&gt;
	  		&lt;? $this-&gt;render_partial('shop:bundle') ?&gt;
	        &lt;div class="grid_6 alpha omega"&gt;
      		&lt;? $this-&gt;render_partial('shop:product_options') ?&gt;
          	&lt;? $this-&gt;render_partial('shop:product_extra_options') ?&gt;
         				 												&lt;?= flash_message() ?&gt;
       		&lt;? $this-&gt;render_partial('shop:product_add_to_cart_controls') ?&gt; 
      &lt;/div&gt;
      &lt;/form&gt;
    	&lt;? endif ?&gt;  
    		&lt;div style="width:900px;margin-top: 10px;" class="grid_12 alpha"&gt;
		&lt;div id="tabs_container" style="display:block;"&gt;
    		&lt;ul id="tabs"&gt;
        			&lt;li class="active"&gt;&lt;a href="#tab1"&gt;Overview&lt;/a&gt;&lt;/li&gt;
        			&lt;li&gt;&lt;a href="#tab2"&gt;Technical Data&lt;/a&gt;&lt;/li&gt;
        			&lt;li&gt;&lt;a href="#tab3"&gt;Documents&lt;/a&gt;&lt;/li&gt;
        			&lt;li&gt;&lt;a href="#tab4"&gt;Suggested Materials&lt;/a&gt;&lt;/li&gt;
    				&lt;/ul&gt;
		&lt;/div&gt;
		&lt;div id="tabs_content_container"&gt;
    	&lt;div id="tab1" class="tab_content"&gt;
 					&lt;h3&gt;Overview&lt;/h3&gt;
					&lt;?= $product-&gt;flynsarmyprodfields_equipment ?&gt;
          			&lt;? if ($product-&gt;description): ?&gt;
            		&lt;?= $product-&gt;description ?&gt;
          			&lt;? endif ?&gt;
		&lt;/div&gt;
		&lt;div id="tab2" class="tab_content"&gt;
					&lt;h3&gt;Technical Data&lt;/h2&gt;
					&lt;?= $product-&gt;flynsarmyprodfields_technical ?&gt;
					&lt;? $this-&gt;render_partial('shop:product_attributes') ?&gt;
    	&lt;/div&gt;
    	&lt;div id="tab3" class="tab_content"&gt;
    				&lt;h3&gt;Documents&lt;/h2&gt;
					&lt;? if ($product-&gt;manuals-&gt;count): ?&gt;
					&lt;p&gt;Product Information Downloads:&lt;/p&gt;
					&lt;ul class="manualstyle"&gt;
					&lt;? foreach ($product-&gt;manuals as $manual): ?&gt;
					&lt;li style="list-type: hidden;"&gt;&lt;a href="&lt;?= root_url('/get_manual_file/'. $manual-&gt;id)?&gt;"&gt;&lt;?= h($manual-&gt;name) ?&gt;&lt;/a&gt;&lt;/li&gt;
					&lt;? endforeach ?&gt;
					&lt;/ul&gt;
					&lt;? endif ?&gt;
		&lt;/div&gt;
    	&lt;div id="tab4" class="tab_content"&gt;
					&lt;h3&gt;Suggested Materials&lt;/h2&gt;
					&lt;?= $product-&gt;flynsarmyprodfields_suggested ?&gt;
		&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class="clear"&gt;&lt;/div&gt;
&lt;hr&gt;
  		&lt;? $this-&gt;render_partial('shop:product_reviews') ?&gt;
  		&lt;? $this-&gt;render_partial('shop:add_review_form') ?&gt;
&lt;/div&gt;</pre><br />
<br />
Any help would be greatly appreciated.]]></description>
		<pubDate>Sat, 27 Apr 2013 02:31:13 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5338-overlay-window-causing-issues/</guid>
	</item>
	<item>
		<title>Adding Product Selection to Orders Report?</title>
		<link>http://forum.lemonstandapp.com/topic/5337-adding-product-selection-to-orders-report/</link>
		<description><![CDATA[Wanting to pull a report of all orders, for a specific date range that contained a specific product, so we can download the data and run some additional reports. <br />
<br />
But, the download needs to include the Product Option data.<br />
<br />
The only Report that provides that level of data is the Orders report, but we cannot filter by Product within that report on LS. This makes the report contain too many records and the download times out. <br />
<br />
Any chance LS could add Product Selection to the Orders Report?]]></description>
		<pubDate>Sat, 27 Apr 2013 01:15:14 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5337-adding-product-selection-to-orders-report/</guid>
	</item>
	<item>
		<title>Filter by name price and show X results per page</title>
		<link>http://forum.lemonstandapp.com/topic/5336-filter-by-name-price-and-show-x-results-per-page/</link>
		<description><![CDATA[Hi All,<br />
<br />
Need a little help altering this code to get it working in "twig" - recently with the release of Zest I am building a site using twig as a pose to PHP as per my previous one, so this needs porting and I';m not 100% how to do it. Any help be greatly appreciated<br />
<br />
<pre class='prettyprint'>

&lt!--The Cateogry Products Filter Top--&gt;
&lt;div class="category_filter"&gt;
&lt;?= open_form() ?&gt;
Product sorting: 
    &lt;?
      /*
       * Save the category product sorting mode if it has been changed.
       */
      if (post('sorting'))
        Cms_VisitorPreferences::set('cat_sorting_'.$category-&gt;id, post('sorting'));
  
      /*
       * Load the product sorting mode. The default mode is 'name'.
       */
      $sorting_preferences = Cms_VisitorPreferences::get('cat_sorting_'.$category-&gt;id, array('name'));
      
      $selected_option = $sorting_preferences&#91;0&#93;;
    ?&gt;      
    &lt;select onchange="$(this).getForm().sendRequest('on_action', {update: {'category_products': 'shop:category'}})" name="sorting&#91;&#93;"&gt;
      &lt;option &lt;?= option_state('name', $selected_option) ?&gt; value="name"&gt;Name&lt;/option&gt;
      &lt;option &lt;?= option_state('price', $selected_option) ?&gt; value="price"&gt;Price&lt;/option&gt;
      &lt;option &lt;?= option_state('manufacturer', $selected_option) ?&gt; value="manufacturer"&gt;Brand&lt;/option&gt;      
    &lt;/select&gt;
  
  Records per page:
&lt;?
  if (post('records_per_page'))
    Cms_VisitorPreferences::set('cat_records_per_page', post('records_per_page'));
   
  $records_per_page = Cms_VisitorPreferences::get('cat_records_per_page', 20);
?&gt;
  &lt;select name="records_per_page" onchange="$(this).getForm().submit()"&gt;    
    &lt;? for ($i=12; $i &lt;= 24; $i+=12): ?&gt;
      &lt;option value="&lt;?= $i ?&gt;" &lt;?= option_state($records_per_page, $i) ?&gt;&gt;&lt;?= $i ?&gt;&lt;/option&gt;
    &lt;? endfor ?&gt;
&lt;/select&gt;


&lt;/form&gt;
&lt;/div&gt;
&lt!--END--&gt;

&lt!--The Cateogry Products List with filter records per page mod--&gt;

&lt;? $this-&gt;render_partial('shop:product_list', array(
  'products'=&gt;$category-&gt;list_products(array(
  'manufacturer_url_name'=&gt;$this-&gt;request_param(2),
    'sorting'=&gt;$sorting_preferences
  )),
  'records_per_page'=&gt;$records_per_page,
  'paginate'=&gt;true, 
  'pagination_base_url'=&gt;$category-&gt;page_url('category'),
  'page_index'=&gt;$this-&gt;request_param(1, 0)
)) ?&gt;
&lt!--...--&gt;

&lt!--The Cateogry Products Filter Bottom--&gt;
&lt;div class="category_filter"&gt;
&lt;?= open_form() ?&gt;
Product sorting: 
    &lt;?
      /*
       * Save the category product sorting mode if it has been changed.
       */
      if (post('sorting'))
        Cms_VisitorPreferences::set('cat_sorting_'.$category-&gt;id, post('sorting'));
  
      /*
       * Load the product sorting mode. The default mode is 'name'.
       */
      $sorting_preferences = Cms_VisitorPreferences::get('cat_sorting_'.$category-&gt;id, array('name'));
      
      $selected_option = $sorting_preferences&#91;0&#93;;
    ?&gt;      
    &lt;select onchange="$(this).getForm().sendRequest('on_action', {update: {'category_products': 'shop:category'}})" name="sorting&#91;&#93;"&gt;
      &lt;option &lt;?= option_state('name', $selected_option) ?&gt; value="name"&gt;Name&lt;/option&gt;
      &lt;option &lt;?= option_state('price', $selected_option) ?&gt; value="price"&gt;Price&lt;/option&gt;
    &lt;/select&gt;
  
  Records per page:
&lt;?
  if (post('records_per_page'))
    Cms_VisitorPreferences::set('cat_records_per_page', post('records_per_page'));
   
  $records_per_page = Cms_VisitorPreferences::get('cat_records_per_page', 20);
?&gt;
  &lt;select name="records_per_page" onchange="$(this).getForm().submit()"&gt;    
    &lt;? for ($i=12; $i &lt;= 24; $i+=12): ?&gt;
      &lt;option value="&lt;?= $i ?&gt;" &lt;?= option_state($records_per_page, $i) ?&gt;&gt;&lt;?= $i ?&gt;&lt;/option&gt;
    &lt;? endfor ?&gt;
&lt;/select&gt;


&lt;/form&gt;
&lt;/div&gt;
&lt!--END--&gt;

</pre>]]></description>
		<pubDate>Fri, 26 Apr 2013 08:58:59 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5336-filter-by-name-price-and-show-x-results-per-page/</guid>
	</item>
	<item>
		<title><![CDATA[Help displaying products showing &#34;Call For Price&#34;]]></title>
		<link>http://forum.lemonstandapp.com/topic/5335-help-displaying-products-showing-call-for-price/</link>
		<description><![CDATA[I am new to Lemonstand and to coding with PHP in general although I have extensive experience with HTML. What I am trying to do is to have products in my store that will display "Call For Price" when the price is set to $0.00 , and in addition to that I would like to hide the "Add To Cart" button and the product price in that scenario. Can someone help me determine exactly how to do this? Please add clear instructions if possible so that I can determine exactly what to add where. My store is working great otherwise, this is the last thing that I need to get working. Thanks.]]></description>
		<pubDate>Thu, 25 Apr 2013 16:09:47 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5335-help-displaying-products-showing-call-for-price/</guid>
	</item>
	<item>
		<title>Utility theme not showing all pages in CMS</title>
		<link>http://forum.lemonstandapp.com/topic/5334-utility-theme-not-showing-all-pages-in-cms/</link>
		<description><![CDATA[I might be being a bit slow here, but CMS -&gt; Pages is behaving really strangely with the Utility theme.<br />
<br />
It says that there are 31 pages, but in the table it only shows me the home page. If I do a search for another page (eg. About) it shows up. Clicking on 'Cancel search' just re-instates the hope page in the table. <br />
<br />
Any ideas?<div id='attach_wrap' class='rounded clearfix'>
	<h4>Attached thumbnail(s)</h4>
	<ul>
		
			<li class=''>
				<a class='resized_img' rel='lightbox[22316]' id='ipb-attach-url-445-0-19576500-1368898032' href="http://forum.lemonstandapp.com/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=445" title="Screen Shot 2013-04-25 at 11.37.54.png - Size: 22K, Downloads: 15"><img src="http://forum.lemonstandapp.com/uploads/monthly_04_2013/post-5940-0-66403800-1366886294_thumb.png" id='ipb-attach-img-445-0-19576500-1368898032' style='width:100;height:100' class='attach' width="100" height="100" alt="Attached Image: Screen Shot 2013-04-25 at 11.37.54.png" /></a>
			</li>
		
	</ul>
</div>]]></description>
		<pubDate>Thu, 25 Apr 2013 10:38:35 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5334-utility-theme-not-showing-all-pages-in-cms/</guid>
	</item>
	<item>
		<title>sort all products by sku</title>
		<link>http://forum.lemonstandapp.com/topic/5333-sort-all-products-by-sku/</link>
		<description><![CDATA[I have a shop page that displays all items for all categories: <a href='http://ekceterahosting.com/mackay-mitchell/shop/.' class='bbc_url' title='External link' rel='nofollow external'>http://ekceterahosting.com/mackay-mitchell/shop/.</a><br />
<br />
I want to sort that page by SKU. I have the category pages sorting that way successfully, but am having a hard time getting the main shop page to do so with all products.<br />
<br />
Here's my Shop page that calls all products:<br />
<br />
<pre class='prettyprint'>&lt;? $this-&gt;render_partial('shop:product:list', array(
			'products'=&gt;$products,
			'records_per_page'=&gt;12,
			'paginate'=&gt;true,
			'pagination_base_url'=&gt;root_url('shop'),
			'page_index'=&gt;$this-&gt;request_param(-1, 0),
		)) ?&gt;</pre><br />
<br />
I was just going to call Shop_Products <pre class='prettyprint'>$products = Shop_Product::create()-&gt;apply_filters();</pre>, but there isn't a filter for sorting by SKU.<br />
<br />
How else can I go about it? Thanks in advance!]]></description>
		<pubDate>Wed, 24 Apr 2013 22:36:27 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5333-sort-all-products-by-sku/</guid>
	</item>
	<item>
		<title>Order Item extra option is linked to extra option table by name</title>
		<link>http://forum.lemonstandapp.com/topic/5331-order-item-extra-option-is-linked-to-extra-option-table-by-name/</link>
		<description><![CDATA[Hi,<br />
<br />
extra options in order item do not carry the extra option key. Once order placed it links back to extra option by using md5 of the extra option name. Means you cannot change extra option name and you cannot have more than one extra option with same name.]]></description>
		<pubDate>Wed, 24 Apr 2013 05:44:46 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5331-order-item-extra-option-is-linked-to-extra-option-table-by-name/</guid>
	</item>
	<item>
		<title>Requiring 1 of 3 fields</title>
		<link>http://forum.lemonstandapp.com/topic/5330-requiring-1-of-3-fields/</link>
		<description><![CDATA[Hey, <br />
<br />
I'm trying to find out of this is the only way to do this. <br />
I am creating a new module which has 3 fields and the user needs to fill in one of them to make it valid (one of the fields is a db_files field)<br />
I have done this and it work... just wondering if there is a better way?<br />
<br />
in define_columns:<br />
<pre class='prettyprint'>            $this-&gt;define_column('src', 'Direct Source')
                 -&gt;validation()
                 -&gt;fn('trim')
                 -&gt;method('validate_content');

            $this-&gt;define_column('html', 'HTML')-&gt;invisible()-&gt;validation()-&gt;method('validate_content');

            $this-&gt;define_multi_relation_column('image', 'image', 'Image', '@name')
                 -&gt;invisible()
                 -&gt;validation()
                 -&gt;method('validate_content'); </pre><br />
<br />
call back methods<br />
<pre class='prettyprint'>    public function validate_content($name, $value){

        $count_image = $this-&gt;deferred_image();
        $count_image = $count_image + $this-&gt;current_image();

        if (!$this-&gt;html && !$this-&gt;src && !$count_image)
            $this-&gt;validation-&gt;setError('Html, Src or Image must be set.', $name, true);
         
        return $value;
    }


    public function deferred_image(){

        $count_image = 0;
        $edit_session_key = post('edit_session_key');
        $data = Db_DbHelper::objectArray("SELECT count(*) as cnt from db_deferred_bindings ".
            "WHERE master_class_name='Module_Name' ".
            "AND detail_class_name='Db_File' ".
            "AND session_key='".$edit_session_key."' ");

        if(!empty($data) && !empty($data&#91;0&#93;-&gt;cnt)){
            $count_image = $data&#91;0&#93;-&gt;cnt;
        }

        return $count_image;

    }

    public function current_image(){

        if(!$this-&gt;is_new_record()){

            $count_image = 0;
            $data = Db_DbHelper::objectArray("SELECT count(*) as cnt from db_files ".
                "WHERE master_object_class='Module_Name' ".
                "AND field='image' ".
                "AND master_object_id='".$this-&gt;id."' ");

            if(!empty($data) && !empty($data&#91;0&#93;-&gt;cnt)){
                $count_image = $data&#91;0&#93;-&gt;cnt;
            }

            return $count_image;

        } else {
            return 0;
        }

    }</pre>]]></description>
		<pubDate>Tue, 23 Apr 2013 01:24:34 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5330-requiring-1-of-3-fields/</guid>
	</item>
	<item>
		<title>Missing Themes tab in CMS backend</title>
		<link>http://forum.lemonstandapp.com/topic/5329-missing-themes-tab-in-cms-backend/</link>
		<description>Why would the Themes tab not appear under CMS in the backdoor (beside Content and Resources)?  Could this have been disabled in some way?</description>
		<pubDate>Tue, 23 Apr 2013 00:01:23 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5329-missing-themes-tab-in-cms-backend/</guid>
	</item>
	<item>
		<title><![CDATA[List products reverse of how they're entered in LS]]></title>
		<link>http://forum.lemonstandapp.com/topic/5328-list-products-reverse-of-how-theyre-entered-in-ls/</link>
		<description><![CDATA[Hi! Client would like us to list our products in the reverse order that they've been entered in LemonStand.<br />
<br />
Here's the code (which was written by a previous developer):<br />
<br />
<pre class='prettyprint'>&lt;div class="side_by_side_products" style='background:white'&gt;
  &lt;div style='margin:0 auto;'&gt;
    &lt;center&gt;
      &lt;table style='margin:25px 0 0 0; width:10%'&gt;
    &lt;?
    // fetch by category (api code in category must be set)
    $c = Shop_Category::create()-&gt;find_by_code('softshell-jeans');
    $products = $c-&gt;list_products()-&gt;find_all();
    
    
    $lim = 2;
    $i = 0;
    foreach($products as $product):
      if($i == 0)
        echo "&lt;/tr&gt;";
      
      echo "&lt;td style='width:50px'&gt;&lt;/td&gt;";
      
      echo "&lt;td style='padding:0; width:200px;'&gt;";
      echo "&lt;table style='width:200px; border:1px solid white; background:white'&gt;";
          echo "&lt;tr&gt;";
      echo "&lt;td style='text-align:center;'&gt;&lt;a href='".$product-&gt;page_url('/product')."' style='color:#de7800'&gt;&lt;img style='border:1px solid black; width:150px; height:200px; display:block; background:url(".root_url($product-&gt;images&#91;0&#93;-&gt;getPath()).") center center; background-repeat:no-repeat; margin:0 auto; background-size:150px auto;' /&gt;&lt;/a&gt;&lt;/td&gt;";
          echo "&lt;/tr&gt;&lt;tr&gt;";
      echo "&lt;td style='vertical-align:middle; background:white; height:75px; text-align:center'&gt;&lt;h1 style='font-weight:bold; padding:5px; text-align:center; font-size:18px; text-transform:uppercase'&gt;&lt;a href='".$product-&gt;page_url('/product')."' style='color:black'&gt;".$product-&gt;name."&lt;br/&gt;".$product-&gt;short_description."&lt;/a&gt;&lt;/h1&gt;&lt;/td&gt;";
          echo "&lt;/tr&gt;";
      echo "&lt;/table&gt;";
      echo "&lt;/td&gt;";
      
      echo "&lt;td style='width:50px'&gt;&lt;/td&gt;";
      
      if($i == $lim):
        echo "&lt;/tr&gt;";
        $i = 0;
      else:
        $i++;
      endif;
      
    endforeach;
    ?&gt;
    &lt;/table&gt;
  &lt;/center&gt;
  &lt;/div&gt;
  &lt;div style='margin:0 auto; width:800px; height:30px; display:block'&gt;&lt;/div&gt;
&lt;/div&gt;</pre><br />
<br />
Is this possible? I read the docs but couldn't really find anything (I'm sure I missed something though).<br />
<br />
Thanks!]]></description>
		<pubDate>Mon, 22 Apr 2013 16:44:52 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5328-list-products-reverse-of-how-theyre-entered-in-ls/</guid>
	</item>
	<item>
		<title><![CDATA[How do I edit an order's Ship To address?]]></title>
		<link>http://forum.lemonstandapp.com/topic/5327-how-do-i-edit-an-orders-ship-to-address/</link>
		<description><![CDATA[I have an order that I need to correct/edit the Ship To address. When I edit the Customer's record, this does now change the Ship To address in the order. I can understand why this may be, but I do need to change the Shipping address for this order, and then create a shipping label. <br />
<br />
(I originally posted this is the General Forum, but later realized that this question is more appropriate for this forum.)]]></description>
		<pubDate>Mon, 22 Apr 2013 16:22:00 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5327-how-do-i-edit-an-orders-ship-to-address/</guid>
	</item>
	<item>
		<title>Colour option image changes main product image?</title>
		<link>http://forum.lemonstandapp.com/topic/5325-colour-option-image-changes-main-product-image/</link>
		<description><![CDATA[Hi<br />
<br />
We're just working on our first lemon stand website and we have a scenario where we have a product available in various colours and we want the user to be able to click a colour thumbnail and this will then change the larger product image to that product in the coloured option selected.<br />
<br />
We've found some useful info on the forum that displays an image thumbnail for each coloured option, but not sure how to then get the small colour swatch image (which is displayed alongside a colour option) to amend the main image.<br />
<br />
If anyone is able to point me in the right direction that would be greatly appreciated.<br />
<br />
Many thanks]]></description>
		<pubDate>Fri, 19 Apr 2013 14:36:35 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5325-colour-option-image-changes-main-product-image/</guid>
	</item>
	<item>
		<title>Show extra option value on the packing slip</title>
		<link>http://forum.lemonstandapp.com/topic/5324-show-extra-option-value-on-the-packing-slip/</link>
		<description><![CDATA[Hello all,<br />
<br />
i've created a custom module which display some extra options on the product page. These are visible in the backend panel, only i need to display the included textfield content on the packing slip, because based on these contents the products are going to be personalized. How can manage this? <br />
<br />
<pre class='prettyprint'>$item-&gt;output_product_name()</pre> <br />
<br />
show only the extra options but not the textfield content.<br />
<br />
Thank You!]]></description>
		<pubDate>Fri, 19 Apr 2013 12:51:53 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5324-show-extra-option-value-on-the-packing-slip/</guid>
	</item>
	<item>
		<title>Looks like LS is moving to Laravel</title>
		<link>http://forum.lemonstandapp.com/topic/5323-looks-like-ls-is-moving-to-laravel/</link>
		<description><![CDATA[I found an issue on Github for Laravel's V4 framework from <a href='https://github.com/laravel/framework/issues/1004' class='bbc_url' title='External link' rel='nofollow external'>Manca reporting a possible issue</a> with their (Laravel's) system. If you look at the code sample it is dealing with taxes and invoices. Which shows me the next-gen LS is Laravel based which is a great way to ditch having to fix some PHPR issues and redo parts of the system that were built around the broken things in there (Phpr_DateTime anyone?).<br />
<br />
So, Enjoy LS v2.0!]]></description>
		<pubDate>Fri, 19 Apr 2013 11:13:31 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5323-looks-like-ls-is-moving-to-laravel/</guid>
	</item>
	<item>
		<title><![CDATA[Shop_Category &#34;code&#34; property - can I use it for anything I want?]]></title>
		<link>http://forum.lemonstandapp.com/topic/5321-shop-category-code-property-can-i-use-it-for-anything-i-want/</link>
		<description><![CDATA[The API docs for Shop_Category describe the "code" property as follows:<br />
<br />
<br />
<p class='citation'>Quote</p><div class="blockquote"><div class='quote'>public string $code;<br />
The category API code. You can use this field for finding a specific category in your API calls. Proxiable. Example: <br />
<pre class='prettyprint'>
$category = Shop_Category::create()-&gt;find_by_code('computers');
</pre><br /></div></div><br />
<br />
This is a little vague to me.  What is the "code" property typically used for?  Can we use it for anything?<br />
<br />
We're re-writing our program that synchronizes a Point of Sale system with Lemonstand.  Would it be a problem if we stored the Point of Sale's internal Category Id in the "code" property?<br />
<br />
<br />
Michael]]></description>
		<pubDate>Fri, 19 Apr 2013 04:25:19 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5321-shop-category-code-property-can-i-use-it-for-anything-i-want/</guid>
	</item>
	<item>
		<title>Customer Relation - Display full name in form select?</title>
		<link>http://forum.lemonstandapp.com/topic/5320-customer-relation-display-full-name-in-form-select/</link>
		<description><![CDATA[Hi,<br />
<br />
I've defined a custom model that links to the customer model (as belong_to relationship).<br />
<br />
In the admin I want to display the full name of the customer in the customer select.<br />
<br />
This works fine in the define_columns() method:<br />
<br />
<pre class='prettyprint'>
$this-&gt;define_relation_column('customer', 'customer', 'Customer', db_varchar, '@first_name')
</pre><br />
<br />
But only displays the first name.<br />
<br />
It doesn't work if I use the custom column @full_name (which makes sense as it's not a db column).<br />
<br />
How do I setup my column / form so that it displays first_name & last_name together? <br />
<br />
Thanks!<br />
Ben]]></description>
		<pubDate>Thu, 18 Apr 2013 23:31:09 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5320-customer-relation-display-full-name-in-form-select/</guid>
	</item>
	<item>
		<title>Purchase Order Payment Option</title>
		<link>http://forum.lemonstandapp.com/topic/5319-purchase-order-payment-option/</link>
		<description><![CDATA[Hi All,<br />
<br />
I am looking into setting up an option on the payment page that will allow a customer to pay by using a Purchase Order number. I have installed the <strong class='bbc'>Order PO #</strong> module from Lemonstand which adds a PO# field to the order information in backend but it does not make the PO# payment option available to the customer at checkout. I've looked in settings for a way to active this on the frontend but have not found anything. Have I missed something? Is there a way to offer "pay by PO#" as a payment option to the customer at checkout?<br />
<br />
Many Thanks,<br />
David]]></description>
		<pubDate>Thu, 18 Apr 2013 14:44:54 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5319-purchase-order-payment-option/</guid>
	</item>
	<item>
		<title>Update custom options in cart</title>
		<link>http://forum.lemonstandapp.com/topic/5318-update-custom-options-in-cart/</link>
		<description><![CDATA[I've created a really simple module which allows an admin to specify that a product allows personalisation, and if/when that product is views/added to the cart, the customer is invited to fill out a text area with their personalisation instructions (the module code is below).<br />
<br />
What I'm interested in knowing is how I would go about letting the customer modify this extra field once they're in the cart.<br />
<br />
Can anyone point me in the right direction? Cheers.<br />
<br />
<pre class='prettyprint'>&lt;?php

class GhostBadges_Module extends Core_ModuleBase {

	/**
	 * Creates the module information object
	 * @return Core_ModuleInfo
	 */
	protected function createModuleInfo() {
		return new Core_ModuleInfo(
			"Ghost Badges",
			"Lets customers order personalised badges",
			"Ghost Design Consultants Ltd.");
	}

	public function subscribeEvents() {
		Backend::$events-&gt;addEvent('shop:onExtendOrderItemModel', $this, 'extend_order_item');
		Backend::$events-&gt;addEvent('shop:onExtendOrderItemForm', $this, 'extend_order_item_model');
		Backend::$events-&gt;addEvent('shop:onBeforeAddToCart', $this, 'before_add');
		Backend::$events-&gt;addEvent('shop:onExtendProductModel', $this, 'extend_product_model');
		Backend::$events-&gt;addEvent('shop:onExtendProductForm', $this, 'extend_product_form');
	}

	public function extend_order_item($order_item) {
		$order_item-&gt;define_column('x_ghostbadges_names', 'Names');
	}

	public function extend_order_item_model($order_item) {
		$order_item-&gt;add_form_field('x_ghostbadges_names')-&gt;tab('Personalised Badges');
	}

	public function before_add($cart_name, $product, $quantity, $options, $extra_options, $custom_data) {
		// check if badge names are required
		if ($product-&gt;x_ghostbadges_enabled) {
			// check field isn't empty
			if (!strlen($custom_data&#91;'x_ghostbadges_names'&#93;)) {
				throw new Phpr_ApplicationException('Please add names for the badges');
			}
		}
	}

	public function extend_product_model($product) {
		$product-&gt;define_column('x_ghostbadges_enabled', 'Enable personalised badges?');
	}

	public function extend_product_form($product, $context) {
		$product-&gt;add_form_field('x_ghostbadges_enabled')-&gt;tab('Personalised Badges');
	}

}</pre>]]></description>
		<pubDate>Thu, 18 Apr 2013 14:18:48 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5318-update-custom-options-in-cart/</guid>
	</item>
	<item>
		<title>USPS, everything free shipping</title>
		<link>http://forum.lemonstandapp.com/topic/5317-usps-everything-free-shipping/</link>
		<description><![CDATA[Hey everyone,<br />
<br />
We are about to release this site to the client and the USPS module keeps saying free shipping on everything we put in, and we don't want free shipping. Then when you try to select it just to see what happens it comes up saying:<br />
<br />
"Error requesting USPS rates. Please enter a valid ZIP Code for the sender."<br />
<br />
I have rewrote the shipping method partial just in case and it still comes up saying free shipping. UPS sends the correct information and works just fine but USPS doesn't. I have also checked the settings to make sure they are set correctly and they are. ALSO made sure the products had a dimension and weight and they do. I am drawing a blank with this one and getting very frustrated. Listed below is the error code that i get in the error log.<br />
<br />
<pre class='prettyprint'>Phpr_SystemException: Error requesting USPS rates. Please enter a valid ZIP Code for the sender. . In /home/studiorhoad/public_html/lemonstand/modules/shop/shipping_types/shop_uspsshipping.php, line 327 </pre><br />
<br />
Hope someone can help with this.<br />
<br />
Thanks,<br />
Ryan]]></description>
		<pubDate>Thu, 18 Apr 2013 14:00:18 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5317-usps-everything-free-shipping/</guid>
	</item>
	<item>
		<title>Internal Notification for Customer Group Changes</title>
		<link>http://forum.lemonstandapp.com/topic/5316-internal-notification-for-customer-group-changes/</link>
		<description><![CDATA[I have two roles setup: default and Super Admin. As super admin, I do not want to receive any email notifications. I believe I have all internal notifications for the order routes assigned correctly, but I can't find where to disable other email notifications for my role, specifically changes to a customer's Customer Group and the automated billing report (from the subscription module). Is it possible to have these internal notifications go to specific roles?<br />
<br />
Thanks.]]></description>
		<pubDate>Thu, 18 Apr 2013 13:18:33 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5316-internal-notification-for-customer-group-changes/</guid>
	</item>
	<item>
		<title>Paypal standard doesnt apply discount.</title>
		<link>http://forum.lemonstandapp.com/topic/5315-paypal-standard-doesnt-apply-discount/</link>
		<description><![CDATA[Hey, i'm just wondering why line number 203 is commented out of <strong class='bbc'>shop_paypal_standard_payment.php</strong><br />
<br />
The line is :<br />
<br />
<strong class='bbc'>$result['discount_amount_cart'] = $order-&gt;discount;</strong><br />
<br />
This line is required to add the orders discount.]]></description>
		<pubDate>Thu, 18 Apr 2013 11:37:00 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5315-paypal-standard-doesnt-apply-discount/</guid>
	</item>
	<item>
		<title>High memory usage with ActiveRecord</title>
		<link>http://forum.lemonstandapp.com/topic/5314-high-memory-usage-with-activerecord/</link>
		<description><![CDATA[I'm working on an integration with a POS system. So far I'm retrieving XML from a remote server and using XMLReader to step through each product node ready to import. However, when I try to use ActiveRecord repeatedly within this loop (500+ times) it maxes out php memory usage.<br />
<br />
Here's the function including ActiveRecord which seems to be the culprit:<br />
<br />
<pre class='prettyprint'>
                public static function create_or_update($product, $category_id = NULL, $sub_category_id = NULL)
		{
			$p = new Shop_Product();

			$id = $product&#91;'id'&#93;;
			$name = ucwords(strtolower($product-&gt;xpath('Description/text()')&#91;0&#93;));

			if ( ! self::exists($id))
			{
				// Create Only
				$p-&gt;id = $id;
				$p-&gt;url_name = Shop_Product::generate_unique_url_name($name);
			} else {
				// Update Only
				$p = $p-&gt;find($id); // Find existing product and update it

				// If the name has actually changed, update the url_name
				if($name != $p-&gt;name)
				{
					$p-&gt;url_name = Shop_Product::generate_unique_url_name($name);
				}
			}
			
			$p-&gt;enabled = true;
			$p-&gt;name = $name;
			$p-&gt;sku = $product-&gt;xpath('InvCode/text()')&#91;0&#93;;
			$p-&gt;product_type_id = 1; // Goods
			$p-&gt;manufacturer_id = 0; // NULL
			$p-&gt;grouped_sort_order = -1; // -1 same as default in LS admin
			//$p-&gt;short_description = $product-&gt;xpath('ShortBlurb/text()')&#91;0&#93;;
			//$p-&gt;description = $product-&gt;xpath('LongBlurb/text()')&#91;0&#93;;
			$p-&gt;tax_class_id = Shop_TaxClass::get_default_class_id(); // Product
			$p-&gt;price = $product-&gt;xpath("Prices/Price&#91;@level='A'&#93;/Sell/text()")&#91;0&#93;; // Level A?
			$p-&gt;categories = array($category_id, $sub_category_id);

			$p-&gt;save();
		}
</pre><br />
<br />
Is the Db_ActiveRecord approach simply not a good idea?<br />
<br />
I would have imagined that calling save() would execute the SQL and then when the function finishes the memory to be released, but it doesn't seem to. This may be due to my less than thorough PHP knowledge.]]></description>
		<pubDate>Thu, 18 Apr 2013 07:02:16 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5314-high-memory-usage-with-activerecord/</guid>
	</item>
	<item>
		<title>Disabled on Edit</title>
		<link>http://forum.lemonstandapp.com/topic/5313-disabled-on-edit/</link>
		<description><![CDATA[I have a field I want disabled when editing an item but editable when creating a new one (i.e. once you create it you can't rename it). I see I can chain a call to "disabled" off my "add_form_field" but how do I know if it displaying a new or existing form? I am thinking the $context param is the key but I can't find much documentation about what exactly the $context param contains.]]></description>
		<pubDate>Wed, 17 Apr 2013 23:50:30 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5313-disabled-on-edit/</guid>
	</item>
	<item>
		<title>Error on login - disabled module</title>
		<link>http://forum.lemonstandapp.com/topic/5312-error-on-login-disabled-module/</link>
		<description><![CDATA[Hi<br />
<br />
I'm receiving the following error when logging in to the lemonstand system: Fatal error: Class 'SSFAQs_Question' not found in /phproad/modules/db/models/db_deferredbinding.php on line 99<br />
<br />
The module that this error relates to is currently disabled as described in the documentation. <br />
<br />
Still able to login to the back end of the site by altering the url manually but not ideal.<br />
<br />
Any help much appreciated.<br />
<br />
Thanks in advance.<br />
<br />
Nick]]></description>
		<pubDate>Wed, 17 Apr 2013 23:33:00 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5312-error-on-login-disabled-module/</guid>
	</item>
	<item>
		<title>Per Product Shipping Bug?</title>
		<link>http://forum.lemonstandapp.com/topic/5311-per-product-shipping-bug/</link>
		<description><![CDATA[I need to create shipping costs by product which are different for each grouped product.<br />
For my default product (Large) i selected 'Enable per product shipping cost' and imported a CSV which worked fine.<br />
I then selected Grouped &gt;Mediium &gt; Shipping and uploaded the same CSV (with price changes). <br />
It doesnt update the Grouped&gt;Medium table, but does overwrite the default shipping table.<br />
<br />
If i enter prices manually it works, but not with a CSV upload. <br />
<br />
Has anyone experienced the same problem, If so, is there a solution?]]></description>
		<pubDate>Wed, 17 Apr 2013 15:43:18 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5311-per-product-shipping-bug/</guid>
	</item>
	<item>
		<title>Just started using Lemonstand... questions.</title>
		<link>http://forum.lemonstandapp.com/topic/5310-just-started-using-lemonstand-questions/</link>
		<description><![CDATA[It would probably be helpful to describe my proficiency level first of all. I do NOT have great working knowledge with PHP. By that I mean, yeah, I've read a few manuals and understand how to read logic and manipulate it, but I don't write complex scripts and I don't necessarily understand everything. I would consider myself "advanced" with HTML and CSS. ----&gt; I am primarily a graphic designer.<br />
<br />
So why in the world would I want to use Lemonstand? I love the design flexibility. I feel like this is an ecommerce system that I could use with no constraints on interfacing, which has definitely peaked my interest.<br />
<br />
BUT, I am not an expert with PHP, so I am encountering a lot of roadblocks while experimenting with Lemonstand. Just to get me going - would someone mind answering my dumb and hopefully easy questions? =)<br />
<br />
<br />
1. I do not understand how the URLs work. I have a fake shop set up, and I have a category called "chocolates", and two items within the category. (I'm making a fake candy shop, just go with it... by the way, I also created a new theme called "Candy Shop" and a layout called "candy" that I applied to all the applicable pages) The URL name for the category is 'chocolates'. I created a page with the URL '/category/chocolates' and added the action shop:category to the page. I placed the following code on the page to display the category info:<br />
<br />
&lt;h2&gt;{{ category.name }}&lt;/h2&gt;<br />
&lt;p class="description"&gt;{{ category.short_description }}&lt;/p&gt;<br />
<br />
It is not working. I don't get an error, but it takes me to /category/chocolates/ and the page loses all formatting that is in the layout CSS file and the category info is not displayed. Everything from the layout info displays correctly on the main page.<br />
<br />
Any ideas?<br />
<br />
Would it make any difference that I have Lemonstand installed on a sub-directory of my site? For example, <a href='http://www.mysite.com/candyshop?' class='bbc_url' title='External link' rel='nofollow external'>http://www.mysite.com/candyshop?</a>]]></description>
		<pubDate>Wed, 17 Apr 2013 15:35:10 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5310-just-started-using-lemonstand-questions/</guid>
	</item>
	<item>
		<title>How to setup multisite on Lemonstand</title>
		<link>http://forum.lemonstandapp.com/topic/5309-how-to-setup-multisite-on-lemonstand/</link>
		<description><![CDATA[Hi <br />
<br />
We want to setup lemonstand ecommerce system on multiple countries using a same database<br />
<br />
Is there any way to setup multiple country which have different stock, currency, language etc ? is it possible to do this on lemonstand ?<br />
<br />
If not please give some ideas how we can achieve the same in another way <br />
<br />
Thanks in advance]]></description>
		<pubDate>Wed, 17 Apr 2013 14:12:00 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5309-how-to-setup-multisite-on-lemonstand/</guid>
	</item>
	<item>
		<title>Category Page Help</title>
		<link>http://forum.lemonstandapp.com/topic/5307-category-page-help/</link>
		<description><![CDATA[Hi, I would link to produce a page I can link to from the home page that consists of just two categories from the site and show the products for just those two categories. <br />
<br />
Any help would be gracefully appreciated.]]></description>
		<pubDate>Tue, 16 Apr 2013 20:05:27 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5307-category-page-help/</guid>
	</item>
	<item>
		<title>Hide if out of stock wont unhide</title>
		<link>http://forum.lemonstandapp.com/topic/5306-hide-if-out-of-stock-wont-unhide/</link>
		<description><![CDATA[Had a product go out of stock and become hidden.<br />
<br />
Received replenishment today and updated the current stock count.<br />
<br />
It still wont display. Only if I uncheck "hide if out of stock" will it reappear on the front end.<br />
<br />
Any ideas?]]></description>
		<pubDate>Tue, 16 Apr 2013 20:01:39 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5306-hide-if-out-of-stock-wont-unhide/</guid>
	</item>
	<item>
		<title>jsquery jcarousel not working</title>
		<link>http://forum.lemonstandapp.com/topic/5305-jsquery-jcarousel-not-working/</link>
		<description><![CDATA[Hi, I'm using the slate theme and have tried to add a jsquery carousel, but it's not working, I've got this to work outside of lemonstand on a static html page.<br />
<br />
I've added to the html:head partial as follows but it doesn't work, any ideas would be gratefully appreciated.<br />
<br />
Page it is featured is here: <a href='http://zakz.co.uk.carbon.3dpixel.net' class='bbc_url' title='External link' rel='nofollow external'>http://zakz.co.uk.carbon.3dpixel.net</a><br />
<br />
<pre class='prettyprint'>
head&gt;
	&lt;title&gt;&lt;?= $this-&gt;page-&gt;title ?&gt;&lt;/title&gt;
	&lt;?= $this-&gt;css_combine(array(
		'@css/960gs/960.css', 
		'@css/960gs/reset.css', 
		'@css/960gs/text.css', 
		'@css/global.css',
		'@css/blue.css', // green, orange
		'ls_styles',
	)) ?&gt;
	
	&lt;?= $this-&gt;js_combine(array(
		'@javascript/jquery.1.7.1.min.js',
		'ls_core_jquery',
		'@javascript/jquery.placeholder.js',
		'@javascript/jquery.livequery.js',
		'@javascript/jquery.bar.js',
		'@javascript/jquery.ls-alert.js',
		'@javascript/jquery.caroufredsel.js',
		'@javascript/modernizr.js', 
		'@javascript/global.js',
		'@javascript/shop.js',
		'@javascript/events.js',
	)) ?&gt;
	
&lt;script type="text/javascript" src="themes/slate/resources/javascript/js/jquery.js"&gt;&lt;/script&gt;
	
&lt;script&gt;
$(document).ready(function() {

	//rotation speed and timer
	var speed = 2000;
	var run = setInterval('rotate()', speed);	
	
	//grab the width and calculate left value
	var item_width = $('#slides li').outerWidth(); 
	var left_value = item_width * (-1); 
        
    //move the last item before first item, just in case user click prev button
	$('#slides li:first').before($('#slides li:last'));
	
	//set the default item to the correct position 
	$('#slides ul').css({'left' : left_value});

    //if user clicked on prev button
	$('#prev').click(function() {

		//get the right position            
		var left_indent = parseInt($('#slides ul').css('left')) + item_width;

		//slide the item            
		$('#slides ul:not(:animated)').animate({'left' : left_indent}, 200,function(){    

            //move the last item and put it as first item            	
			$('#slides li:first').before($('#slides li:last'));           

			//set the default item to correct position
			$('#slides ul').css({'left' : left_value});
		
		});

		//cancel the link behavior            
		return false;
            
	});

 
    //if user clicked on next button
	$('#next').click(function() {
		
		//get the right position
		var left_indent = parseInt($('#slides ul').css('left')) - item_width;
		
		//slide the item
		$('#slides ul:not(:animated)').animate({'left' : left_indent}, 200, function () {
            
            //move the first item and put it as last item
			$('#slides li:last').after($('#slides li:first'));                 	
			
			//set the default item to correct position
			$('#slides ul').css({'left' : left_value});
		
		});
		         
		//cancel the link behavior
		return false;
		
	});        
	
	//if mouse hover, pause the auto rotation, otherwise rotate it
	$('#slides').hover(
		
		function() {
			clearInterval(run);
		}, 
		function() {
			run = setInterval('rotate()', speed);	
		}
	); 
        
});

//a simple function to click next link
//a timer will call this function, and the rotation will begin :)  
function rotate() {
	$('#next').click();
}
             
&lt;/script&gt;
&lt;/head&gt;
</pre>]]></description>
		<pubDate>Tue, 16 Apr 2013 19:52:05 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5305-jsquery-jcarousel-not-working/</guid>
	</item>
	<item>
		<title>GoogleProducts Module Upgrades?</title>
		<link>http://forum.lemonstandapp.com/topic/5304-googleproducts-module-upgrades/</link>
		<description><![CDATA[I have been using the Google Products Module for a little while now and I find myself wanting more options from it.<br />
<br />
1. <strong class='bbc'>Bid By Price</strong> - My big concern is being able to bid by price. For example, when I have an item that's $2.00, I still want to offer it in my data feed, but I want to bid a lower PPC on it. The only way (as far as I know) to accomplish this is to assign a label to those products, which (I think) is impossible to do with the module. <br />
<br />
Google's tag is<br />
<pre class='prettyprint'>&#91;adwords_labels&#93;</pre><br />
The idea is to break up my products into categories with the labels tag, segmenting them however I want, being able to assign labels in the csv file for bulk upload, then setting up corresponding ad groups in Adwords with different bidding price points.<br />
<br />
2. <strong class='bbc'>Free Shipping</strong> - I want to be able to offer free shipping for some products and have that reflected in the data feed. Here is what I found on a forum about this:<p class='citation'>Quote</p><div class="blockquote"><div class='quote'>In your store catalog, set the values for 'google-shipping' to 'US:::0.00' (without quotes) on the items that qualify for free shipping.</div></div><br />
I don't know of any way to do this currently in LS.<br />
<br />
I believe there may be a few more adjustments, but overall, if the module can offer some flexibility for adding labels and free shipping, that would be a great start. <br />
<br />
Of course there are other data feed formats (like Yahoo, and the Comparison Shopping Engines) that would be nice to have too, but I take it that would be a separate module altogether.<br />
<br />
Anyone else out there running in to the same road blocks?]]></description>
		<pubDate>Tue, 16 Apr 2013 18:54:18 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5304-googleproducts-module-upgrades/</guid>
	</item>
	<item>
		<title>Shipping table rates using regular expressions</title>
		<link>http://forum.lemonstandapp.com/topic/5303-shipping-table-rates-using-regular-expressions/</link>
		<description><![CDATA[We have some rather complex shipping table rate rules to setup on a site. Previously we've used the very handy (*) Wildcard. <br />
So rather than having full ZIP/Postcodes like NW1 5DT, we can just go NW1* and it will catch all postcodes that start with NW1.<br />
<br />
Usually this is perfect for keeping our table rates short, however this site needs a lot more control.<br />
NW1 postcodes should be accepted, but NW11 postcodes should not. This means that we can't use the the wildcard and NW11 should not be in the file at all. <br />
<br />
Would it be possible for us to create a module for adding regular expressions to our table rates. Such as NW1[0-9]{1} <br />
The second half of UK postcodes always have 1 number and 2 letters, so this would be a really handy way of catching just what we need.<br />
<br />
Would it be wishful thinking that Lemonstand already has something like this in place?]]></description>
		<pubDate>Tue, 16 Apr 2013 16:13:14 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5303-shipping-table-rates-using-regular-expressions/</guid>
	</item>
	<item>
		<title>Bill to Account Option</title>
		<link>http://forum.lemonstandapp.com/topic/5302-bill-to-account-option/</link>
		<description><![CDATA[I am trying to set up a special billing option for a client. They use Authorize.net to process all of their credit card payments, but we have a special class of items that can be sold/shipped to their wholesalers at either no cost or at a reduced rate. The client would like to be able to bill their account monthly for all orders of this type. I have created a Billing Option called "Bill to Account" and set up a page that is supposed to be used when that option is chosen (basically it is just a page where they fill out a check box and sign their name confirming their account will be charged). I have the billing option set to use that page, but whenever I perform a checkout process and choose Bill to Account, it still utilizes the Authorize.net credit card form. I can't seem to figure out how to get the checkout process to work for anything other than paying by credit card.<br />
<br />
Has anyone run into this before, and have successfully setup a similar situation? Any assistance would be appreciated. Thanks in advance!]]></description>
		<pubDate>Tue, 16 Apr 2013 14:46:21 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5302-bill-to-account-option/</guid>
	</item>
	<item>
		<title>Really weird: error creating thumbnail</title>
		<link>http://forum.lemonstandapp.com/topic/5301-really-weird-error-creating-thumbnail/</link>
		<description><![CDATA[Ive had LS on 2 different servers now, and been running it for about 6-7 months...for some reason today when I went to create a product I got "error creating thumbnail" which has never happened before.<br />
<br />
Any ideas on where to look?]]></description>
		<pubDate>Tue, 16 Apr 2013 13:54:31 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5301-really-weird-error-creating-thumbnail/</guid>
	</item>
	<item>
		<title>Undefined index: form_model</title>
		<link>http://forum.lemonstandapp.com/topic/5300-undefined-index-form-model/</link>
		<description><![CDATA[Hi,<br />
<br />
I create a custom module in lemonstand and when I try to render the form content using $this-&gt;formRender(), I got an error Undefined index: form_model.<br />
<br />
My controller class is <br />
<br />
<pre class='prettyprint'>
&lt;?

	class AtivistarGamification_Settings extends Backend_SettingsController
	{
		public $implement = 'Db_FormBehavior';

		public $form_edit_title = 'Gamification Settings';
		public $form_model_class = 'Ativistargamification_Params';
		
		public $form_redirect = null;
		public $form_edit_save_flash = 'Gamification configuration has been saved.';
		
		public function __construct()
		{
			parent::__construct();
			$this-&gt;app_tab = 'system';
			
			$this-&gt;form_redirect = url('system/settings/');
		}
		public function index()
		{
			//print_r($this-&gt;viewData); exit;
		}
	}
	
?&gt;
</pre><br />
<br />
and my model class is<br />
<pre class='prettyprint'>
&lt;?
	class Ativistargamification_Params extends Db_ActiveRecord 
	{
		public $table_name = 'ativistargamification_params';
		protected $added_fields = array();
		
		public static function create($values = null) 
		{
			return new self($values);
		}

    	public function define_columns($context = null)
	    {
	        $this-&gt;define_column('userid', 'UserID');
	        $this-&gt;define_column('api_key', 'API Key');
	    }

		public function define_form_fields($context = null)
		{
			$this-&gt;add_form_field('userid');
			$this-&gt;add_form_field('api_key');
		}
	}
?&gt;
</pre><br />
<br />
My htm file is <br />
<br />
<pre class='prettyprint'>
&lt;? Phpr_View::beginBlock("view") ?&gt;
	&lt;ul class="breadcrumbs"&gt;
		&lt;li&gt;&lt;a href="&lt;?= url('/system/settings') ?&gt;"&gt;Settings&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;?= $this-&gt;app_page_title ?&gt;&lt;/li&gt;
	&lt;/ul&gt;

	&lt;?= flash() ?&gt;
	&lt;? if (!isset($fatalError)): ?&gt;
		&lt;div class="form400"&gt;
			&lt;?= Phpr_Form::openTag(array('id'=&gt;'settings_form')) ?&gt;
				&lt;? $this-&gt;formRender() ?&gt;

				&lt;?= backend_ajax_button('Save', 'index_onSave') ?&gt;
				&lt;?= backend_ajax_button('Cancel', 'index_onCancel') ?&gt;
				&lt;div class="clear"&gt;&lt;/div&gt;
			&lt;/form&gt;
		&lt;/div&gt;
	&lt;? else: ?&gt;
		&lt;p&gt;&lt;a href="&lt;?= url('/system/settings') ?&gt;"&gt;Return to the settings page&lt;/a&gt;&lt;/p&gt;
	&lt;? endif ?&gt;
&lt;? Phpr_View::endBlock() ?&gt;

</pre><br />
<br />
<br />
Please help me to rectify the error.]]></description>
		<pubDate>Tue, 16 Apr 2013 13:43:44 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5300-undefined-index-form-model/</guid>
	</item>
	<item>
		<title>Bank transfer and Google analytics</title>
		<link>http://forum.lemonstandapp.com/topic/5298-bank-transfer-and-google-analytics/</link>
		<description><![CDATA[It´s great using Google Analytics to track site statistics and ecommerce. The problem I have though is that bank transfers are not recognised as an ecommerse transaction in Analytics, while my other two payment methods are working fine (Paypal and Klarna -an automatic invoice service). <br />
<br />
For bank transfers I manually change the order status to paid after I´ve seen the amount coming into my bank account.<br />
<br />
I would think there could be a action I could set on the bank transfer info page, but I haven´t gotten it to work..<br />
<br />
It would be best of course if analytics only recognise the order as fullfilled after status has been updated to paid, but reckon the complicates things..<br />
<br />
Grateful for any ideas!<br />
<br />
Best regards<br />
Peder<br />
<br />
PS. My shop is at <a href='http://veggbilder.no' class='bbc_url' title='External link' rel='nofollow external'>veggbilder.no</a>]]></description>
		<pubDate>Mon, 15 Apr 2013 14:26:46 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5298-bank-transfer-and-google-analytics/</guid>
	</item>
	<item>
		<title>Incorrect SKU on option matrix prod exports?</title>
		<link>http://forum.lemonstandapp.com/topic/5297-incorrect-sku-on-option-matrix-prod-exports/</link>
		<description><![CDATA[I have a product with option matrix records that use different SKUs. When I make an order, in admin it shows the correct option matrix SKU on the order page, however when I click 'Export orders and products' button the CSV contains the SKU of the base product, not the product ordered.<br />
<br />
Is this a bug? Any way to get it to show the SKU of the product ordered?]]></description>
		<pubDate>Mon, 15 Apr 2013 10:29:56 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5297-incorrect-sku-on-option-matrix-prod-exports/</guid>
	</item>
	<item>
		<title>Customer Charged twice (Paypal fails?)</title>
		<link>http://forum.lemonstandapp.com/topic/5296-customer-charged-twice-paypal-fails/</link>
		<description><![CDATA[Hey guys. We got an E-Mail from a customer who was charged twice by Paypal. There is one PayPal transaction, but the total is double what it is in LemonStand. So what happened here? In the LemonStand order has 5 payment attempts within 1 minute, all failures / errors.<br />
The error values are:<br />
<br />
Invalid order total - order total received is 48.00 <br />
and  Invalid order total received in IPN: $48.00 <br />
<br />
What happened? How can we fix this?]]></description>
		<pubDate>Mon, 15 Apr 2013 04:14:27 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5296-customer-charged-twice-paypal-fails/</guid>
	</item>
	<item>
		<title>Duplicate key on shop:on_checkoutPlaceOrder</title>
		<link>http://forum.lemonstandapp.com/topic/5295-duplicate-key-on-shopon-checkoutplaceorder/</link>
		<description><![CDATA[Hi,<br />
<br />
When I click Proceed after filling in my billing details on the shopping cart, I get an AJAX error:<br />
<br />
@AJAX-ERROR@MySQL error executing query: Duplicate entry '2147483647' for key 1<br />
<br />
<br />
Any ideas where this is coming from?]]></description>
		<pubDate>Sun, 14 Apr 2013 12:41:27 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5295-duplicate-key-on-shopon-checkoutplaceorder/</guid>
	</item>
	<item>
		<title>Unpaid Orders?</title>
		<link>http://forum.lemonstandapp.com/topic/5294-unpaid-orders/</link>
		<description><![CDATA[Hi there,<br />
<br />
I just got a notification from Lemonstand of an unpaid order. I was just wondering if this is unpaid because of something that went wrong with my store or if it's the fact she might have changed her mind. <br />
<br />
If it's where she changed her mind, do you think I should follow up with her?<br />
<br />
P.S. There don't appear to be any Payment Attempts when I go to Order Preview. So I'm assuming, she changed her mind?]]></description>
		<pubDate>Sun, 14 Apr 2013 00:47:32 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5294-unpaid-orders/</guid>
	</item>
	<item>
		<title>Installing Custom Modules</title>
		<link>http://forum.lemonstandapp.com/topic/5293-installing-custom-modules/</link>
		<description><![CDATA[I am attempting to create a custom module. This module has it's own tables and therefore has some database tables that need to be created. I created a file called 1.sql in the "updates" directory but my tables don't exist. My module is listed "Active Modules" list. But it doesn't appear my SQL was run. I have combed through the documentation but don't see anything I am missing but it must be something obvious I am overlooking.]]></description>
		<pubDate>Fri, 12 Apr 2013 21:17:48 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5293-installing-custom-modules/</guid>
	</item>
	<item>
		<title>Google Products Feed giving duplicate content</title>
		<link>http://forum.lemonstandapp.com/topic/5291-google-products-feed-giving-duplicate-content/</link>
		<description><![CDATA[I have been working on getting rid of all my duplicate content issues with Google.<br />
<br />
1.I have rel=canonical  my pages<br />
2. added the trailing slash in my .htacess<br />
3.In my category pages I used a default page to find all products. <br />
4. fix all my websites links to have the trailing slash.<br />
<br />
Still I get duplicated content.<br />
<br />
Ex. of the duplicate content from Google Webmaster Tools<br />
<br />
product Dessy Jr510 Jr Bridesmaid | Patricia South<br />
url:/product/dessy_jr510/<br />
Duplicate url:/product/dessy_jr510<br />
	2<br />
Standard Country Chic Decorative Table Runner | Patricia South<br />
url:/product/c_c_s1041b/<br />
Duplicate url: /product/c_c_s1041b<br />
	2<br />
Maggie Sottero Audrina Wedding Gown | Patricia South<br />
url: /product/maggie-sottero_g4000_audrina_wedding_dresses/<br />
Duplicate url:/product/maggie-sottero_g4000_audrina_wedding_dresses<br />
<br />
<br />
IT ALL STEMS FROM THE TRAINING SLASH AND THE NON SLASH.<br />
<br />
<br />
Through my detective work I have found out My Google Product data feed is submitting the url with out the trailing slash which I feel has to be my issue.<br />
<br />
But now i need to figure out how to get the trailing slash on my Google data feed for the url link<br />
<br />
and<br />
<br />
any suggestions would be great<br />
Thanks<br />
<br />
here is my site for reference <br />
<a href='http://www.patriciasouthsbridal.com/' class='bbc_url' title='External link' rel='nofollow external'>http://www.patriciasouthsbridal.com/</a>]]></description>
		<pubDate>Fri, 12 Apr 2013 15:39:39 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5291-google-products-feed-giving-duplicate-content/</guid>
	</item>
	<item>
		<title>CloudZoom Not Working on Site, Possible Option Matrix Issue?</title>
		<link>http://forum.lemonstandapp.com/topic/5290-cloudzoom-not-working-on-site-possible-option-matrix-issue/</link>
		<description><![CDATA[My customer brought to my attention that the CloudZoom tool isn't working on his site.  I adapted the Utility theme for the site and installed Option Matrix for it last year.  I also seem to be getting code added to the end of the Product URL, I'm not sure if that's not also causing an issue.  Here's an example page: <a href='http://www.liesels.com/product/thrilling_lace_boyshorts/#.UWgOFJOsiSr' class='bbc_url' title='External link' rel='nofollow external'>http://www.liesels.com/product/thrilling_lace_boyshorts/#.UWgOFJOsiSr</a><br />
<br />
Here's the code after I adapted it for Option Matrix:<br />
<br />
<pre class='prettyprint'>
&lt;div class="gallery col-6 left"&gt;
	&lt;?
	$medium_url = root_url($site_settings-&gt;product_detailed_item-&gt;default_thumb_path);
	$images = $product-&gt;om('images');

	if($images instanceof Db_DataCollection)
		$images = $images-&gt;as_array();

	if(count($images)):
		$image_description = strlen($images&#91;0&#93;-&gt;description) ? h($images&#91;0&#93;-&gt;description) : $title;
	$medium_url = $images&#91;0&#93;-&gt;getThumbnailPath($medium_width, $medium_height, true);  
	$large_url = $images&#91;0&#93;-&gt;getThumbnailPath($large_width, $large_height, true);
	?&gt;
	&lt;a id="gallery-viewport" class="cloud-zoom" href="&lt;?= $large_url ?&gt;" rel="position: 'right', showTitle: false, zoomWidth: 510, zoomHeight: 510"&gt;
		&lt;img src="&lt;?= $medium_url ?&gt;" alt="&lt;?= $image_description ?&gt;" width="&lt;?= $medium_width ?&gt;" height="&lt;?= $medium_height ?&gt;" /&gt;
		&lt;img class="magnify" src="&lt;?= root_url('/') ?&gt;resources/images/icon-magnifier.png" alt="magnifier" /&gt;
	&lt;/a&gt;
&lt;? else: ?&gt;
&lt;img src="&lt;?= $medium_url ?&gt;" alt="&lt;?= $title ?&gt;" width="&lt;?= $medium_width ?&gt;" height="&lt;?= $medium_height ?&gt;" /&gt;
&lt;? endif ?&gt;

&lt;? if(count($images) &gt; 1): ?&gt;
&lt;ul class="gallery-thumbs style-6 clearfix"&gt;
	&lt;?
	foreach($images as $i =&gt; $item):
		$small_url = $item-&gt;getThumbnailPath($small_width, $small_height, true);
	$medium_url = $item-&gt;getThumbnailPath($medium_width, $medium_height, true);
	$large_url = $item-&gt;getThumbnailPath($large_width, $large_height, true);
	$image_description = strlen($item-&gt;description) ? h($item-&gt;description) : $title;
	?&gt;
	&lt;li&gt;
		&lt;a href="javascript:;" title="&lt;?= $image_description ?&gt;" onmouseover="
			$('#gallery-viewport &gt; img:first').attr('src', $('img', this).attr('data'));
			$('#gallery-viewport').attr('href', $('img', this).attr('rel')).CloudZoom();
			"&gt;&lt;img src="&lt;?= $small_url ?&gt;" alt="&lt;?= $image_description ?&gt;" data="&lt;?= $medium_url ?&gt;" rel="&lt;?= $large_url ?&gt;" /&gt;&lt;/a&gt;
		&lt;/li&gt;
	&lt;? endforeach ?&gt;
&lt;/ul&gt;
&lt;? endif ?&gt;
&lt;/div&gt;
</pre>]]></description>
		<pubDate>Fri, 12 Apr 2013 13:54:37 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5290-cloudzoom-not-working-on-site-possible-option-matrix-issue/</guid>
	</item>
	<item>
		<title>Adding Custom_data to a product and trying to get the data back</title>
		<link>http://forum.lemonstandapp.com/topic/5289-adding-custom-data-to-a-product-and-trying-to-get-the-data-back/</link>
		<description><![CDATA[Hello Lemonstanders,<br />
<br />
So I'm developing a store where users can select photographs from Instagram and use it for their product. <br />
Right now, for each image, I have three fields(thumbnail, standardres, and userid) that i was to have for each image that is used.<br />
The problem I'm encountering is that I can't seem to put in these custom details into my part and have it show up on my lemonstand page, nor can I even see these variables after.<br />
<br />
Here's my code.<br />
<br />
page_fresco_cart.php<br />
<br />
$sku = 2342342;<br />
$option = post('product_options');<br />
$thumbnail = post('thumbnail');<br />
$standardres = post('standardres');<br />
$userid = post('userid');<br />
<br />
<br />
$custom_data = array();<br />
$custom_data['x_thumbnail'] = $thumbnail;<br />
$custom_data['x_standardres'] = $standardres;<br />
$custom_data['x_userid'] = $userid;<br />
<br />
<br />
/*<br />
 * Create the product by finding it by SKU<br />
 */<br />
$product = Shop_Product::create()-&gt;find_by_sku($sku);   //product<br />
<br />
<br />
/*<br />
 * Adding the product to the cart and settings parameters inside<br />
 */<br />
$item = Shop_Cart::add_cart_item($product,array(<br />
     'options' =&gt; $option,<br />
     'custom_data' =&gt; $custom_data<br />
    ));<br />
<br />
echo $item-&gt;get_data_field('x_thumbnail');<br />
<br />
I thought the last line here would allow me to me able to get back my $thumbnail string.<br />
<br />
In my cart partial I did a similar approach at last line of my page_fresco_cart.php but it still returns me a null string.<br />
<br />
What am I missing in this procedure? How can I create a product and set it with custom fields, add it to my cart, and have  it show up in my cart as an item with those fields?<br />
<br />
Thanks for any help provided!]]></description>
		<pubDate>Thu, 11 Apr 2013 21:55:13 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5289-adding-custom-data-to-a-product-and-trying-to-get-the-data-back/</guid>
	</item>
	<item>
		<title>Need help installing on WampServer</title>
		<link>http://forum.lemonstandapp.com/topic/5288-need-help-installing-on-wampserver/</link>
		<description><![CDATA[I am having difficulties with installing Lemonstand on WampServer. I have searched this topic and followed instructions in other threads... to no avail. The attached image is what I can see at setup - nothing else.<br />
<br />
I am using WampServer 2.2E with Apache 2.4.2 and PHP 5.4.3<br />
<br />
Windows 8 - 64bit<br />
<br />
Any ideas?<div id='attach_wrap' class='rounded clearfix'>
	<h4>Attached thumbnail(s)</h4>
	<ul>
		
			<li class=''>
				<a class='resized_img' rel='lightbox[22110]' id='ipb-attach-url-436-0-28302600-1368898032' href="http://forum.lemonstandapp.com/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=436" title="Untitled-1.jpg - Size: 59.37K, Downloads: 18"><img src="http://forum.lemonstandapp.com/uploads/monthly_04_2013/post-8481-0-21189100-1365705764_thumb.jpg" id='ipb-attach-img-436-0-28302600-1368898032' style='width:100;height:48' class='attach' width="100" height="48" alt="Attached Image: Untitled-1.jpg" /></a>
			</li>
		
	</ul>
</div>]]></description>
		<pubDate>Thu, 11 Apr 2013 18:43:39 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5288-need-help-installing-on-wampserver/</guid>
	</item>
	<item>
		<title>Image Audit</title>
		<link>http://forum.lemonstandapp.com/topic/5287-image-audit/</link>
		<description><![CDATA[I am moving a client's website to a new server and notice they have racked up 3GB of disc usage, mainly from image uploads.<br />
<br />
Does anyone know of a way / system whereby we could identity unused images and delete them?]]></description>
		<pubDate>Thu, 11 Apr 2013 14:03:35 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5287-image-audit/</guid>
	</item>
	<item>
		<title>Email Setting with SMTP</title>
		<link>http://forum.lemonstandapp.com/topic/5286-email-setting-with-smtp/</link>
		<description><![CDATA[Hello there,<br />
<br />
Not sure why this is not working for me but I have set up the email with SMTP with user name and password and when I send the test message it says it has been sent successfully but nothing gets delivered.<br />
If I change the email on general parameter tab to my own email and keep the SMTP details the same, the test messages get delivered!<br />
Any idea what is going on??<br />
<br />
Many thanks for any help you can give me.<br />
<br />
Cheers<br />
<br />
Sylvie]]></description>
		<pubDate>Thu, 11 Apr 2013 10:31:10 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5286-email-setting-with-smtp/</guid>
	</item>
	<item>
		<title>Add User access permission in custom  modules</title>
		<link>http://forum.lemonstandapp.com/topic/5285-add-user-access-permission-in-custom-modules/</link>
		<description><![CDATA[Hi,<br />
<br />
I create a custom module in lemonstand for updating product price for our internal purpose. I want this module can be accessed only by restricted user.<br />
So how can I add user permissions in my module?]]></description>
		<pubDate>Thu, 11 Apr 2013 04:50:32 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5285-add-user-access-permission-in-custom-modules/</guid>
	</item>
	<item>
		<title>New To LemonStand</title>
		<link>http://forum.lemonstandapp.com/topic/5284-new-to-lemonstand/</link>
		<description><![CDATA[Hi all,<br />
<br />
To start, I would like to introduce myself (Old School), I am Rob (40+) and have been tasked with finding a new shop system for my boss.<br />
<br />
I have been in contact with the team here and they have passed on some interesting info's about the support, system and general info.<br />
<br />
After spending some amount of time reading through pro's and con's, I/we have come to an initial decision to thoroughly test Lemonstand.<br />
<br />
<br />
I/we would be grateful for any help that is given to help us on our way - if this is a successful project we intend on buying 10+ licences<br />
<br />
<br />
I have looked at some of the themes that can be used in the system and have found that they don't contain all elements that others in the user gallery have.<br />
<br />
In particular I am looking (information sources, modules, plugins, links etc.) for items like this:<br />
<br />
Paginated navigation with "..." splitter e.g &lt; 1 2 3 4 ... 9 10 11 &gt;<br />
Option for "Grid" or "List" view on product overview page - without having to duplicate each product as in the "Freshly Squeezed Theme"<br />
Star rating on product overview - can be clickable but is not a must - can take results from product page (no images - Font Icons i.e Font Awesome)<br />
Sort order option - latest, price, name A - Z, name Z - A etc.<br />
Product count per page e.g. 12, 24, 36, 48, 60 and "All" option<br />
<br />
<br />
I am aware that Lemonstand is a developers tool, but, are there full text tutorials about adding product categories, products, creating a blog, news and articles<br />
<br />
<br />
All help is welcome, and appreciated<br />
<br />
Cheers<br />
<br />
Rob]]></description>
		<pubDate>Tue, 09 Apr 2013 22:06:14 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5284-new-to-lemonstand/</guid>
	</item>
	<item>
		<title>Has anyone successfully set up google checkout as a payment method?</title>
		<link>http://forum.lemonstandapp.com/topic/5283-has-anyone-successfully-set-up-google-checkout-as-a-payment-method/</link>
		<description><![CDATA[Hey guys, I have an issue that is really starting to annoy me now.<br />
<br />
I have been trying to add google wallet (GW) to my site as a payment method but it is not working as it should.<br />
<br />
Basically I have added ALL of the required fields in both Lemonstand (LS) and Google Wallet (I have added the info from Lemonstand into the Google Wallet console and vice versa)<br />
<br />
LS ask me to configure API callback URL within GW which I have done (and re-done!) many times to see if that helps, I have also entered all of the info correctly from GW to LS.<br />
<br />
When I am asked within LS to copy and paste the API callback URL and paste it within the GW console, google wont have it as an XML notification requires a httpS url, whereas LS is only giving me a HTTP url to enter into GW.  I have added the 'S' manually to this API callback URL but it still doesn't work properly.  For the record my site has a HTTPS prefix in my browser.<br />
<br />
When I enable GW on the front-end, a customer can create an order on my site, and go on to pay for it successfully via GW - What I don't get is a notification that the order is PAID, it just sits there in LS as a new order despite showing as a paid order with GW.<br />
<br />
My web developer has been in touch with LS who have looked at it and are saying that it should be working but it clearly isn't.  The impression I get is that that is as far as they are willing to look into it.<br />
<br />
I have gone as far today as setting up a whole new GW merchant account with new email addy, bank account - the works, in the hope that this might reset something (Dont ask me what!) but when adding it to my site via the means mentioned above, i still get the order conf., payment conf emails etc but the desired 'PAID' status never happens within GW.<br />
<br />
Then of course comes the barrage of emails from GW about payment notification failures, stating that they have made several unsuccessful attempts to send LS order notifications so cannot pass details of order status etc to LS<br />
<br />
has anyone else had this issue?  Search engines have proved fruitless in helping me to get this resolved, I cannot imagine I am the only person having this issue.<br />
<br />
Any help would be massively appreciated, thanks for taking the time to read this <img src='http://forum.lemonstandapp.com/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' />]]></description>
		<pubDate>Tue, 09 Apr 2013 16:19:00 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5283-has-anyone-successfully-set-up-google-checkout-as-a-payment-method/</guid>
	</item>
	<item>
		<title>Override standard checkout validation alert text</title>
		<link>http://forum.lemonstandapp.com/topic/5282-override-standard-checkout-validation-alert-text/</link>
		<description><![CDATA[Our site is only available to customers within the UK. Accordingly we've changed every occurrence of 'Zip/postal code' to simply <strong class='bbc'>Postcode</strong> within the site. However during checkout, the alert that's thrown (if the postcode field is blank) appears to be hard-coded into <span style='font-family: Courier New'>shop_checkoutaddressinfo.php</span> in the core <strong class='bbc'>Shop</strong> module:<br />
<br />
<pre class='prettyprint'>$validation-&gt;add('zip', 'Zip/Postal Code')-&gt;fn('trim')-&gt;required("Please specify a ZIP/postal code.");</pre><br />
<br />
Is there a way to override this message to read "Please specify a postcode."?]]></description>
		<pubDate>Tue, 09 Apr 2013 16:12:05 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5282-override-standard-checkout-validation-alert-text/</guid>
	</item>
	<item>
		<title><![CDATA[Guest Checkout - auto fill City, Zip &#38; Tax]]></title>
		<link>http://forum.lemonstandapp.com/topic/5281-guest-checkout-auto-fill-city-zip-tax/</link>
		<description><![CDATA[Good morning -  Question for all:<br />
<br />
I am not logged in. <br />
Put products in my cart.<br />
Checkout - as guest.<br />
<br />
When I arrive at the billing information screen the city field is autofilled with 'Geneseo' and the zip code field is auto filled with '61254'.  In addition tax has already been calculated.   <br />
<br />
I do have one tax rate location setup (US, IL, 61254, Geneseo, Priority 1, 6.75%)<br />
<br />
Is it normal for this information to be autofilled when checking out as guest? I would expect this information to be there if I am signed in and from Geneseo IL, but as a guest?<br />
<br />
 Why does it do this and how do I prevent it from doing so?  <br />
<br />
Thanks for any help !]]></description>
		<pubDate>Tue, 09 Apr 2013 15:12:20 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5281-guest-checkout-auto-fill-city-zip-tax/</guid>
	</item>
	<item>
		<title>GoogleAnalytics password wont save</title>
		<link>http://forum.lemonstandapp.com/topic/5280-googleanalytics-password-wont-save/</link>
		<description><![CDATA[When i enter my google analytics details into the admin are the password does not save, then when i go back to the dashboard again i get an error<br />
<br />
Error loading Google Analytics report. Cached data used. Error downloading Google Analytics report. Invalid response from Google Analytics API. Response code: 403<br />
<br />
how can i solve this?]]></description>
		<pubDate>Tue, 09 Apr 2013 14:12:17 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5280-googleanalytics-password-wont-save/</guid>
	</item>
	<item>
		<title>If/else child/parent category?</title>
		<link>http://forum.lemonstandapp.com/topic/5279-ifelse-childparent-category/</link>
		<description><![CDATA[Is there an option to target different category levels?<br />
<br />
I'm using the following code to list sub category siblings in the side bar:<br />
$subcategories = $category-&gt;parent-&gt;list_children('front_end_sort_order');<br />
<br />
it works great when viewing sub categories but if viewing a parent category it gives me an error<br />
<br />
Fatal error: Call to a member function list_children() on a non-object in /home/xxx/public_html/modules/cms/classes/cms_controller.php(383) : eval()'d code on line 1<br />
<br />
if i remove parent it shows main categories but throws an error on the sub page, so i need to do something like so<br />
<br />
<pre class='prettyprint'>if(parent_category) {
    $subcategories = $category-&gt;list_children('front_end_sort_order');
} else if(sub_category) {
    $subcategories = $category-&gt;parent-&gt;list_children('front_end_sort_order');
}</pre><br />
<br />
is something like this possible?]]></description>
		<pubDate>Tue, 09 Apr 2013 14:09:10 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5279-ifelse-childparent-category/</guid>
	</item>
	<item>
		<title>Formating Question</title>
		<link>http://forum.lemonstandapp.com/topic/5277-formating-question/</link>
		<description><![CDATA[Alright, so we're installing the Google Trusted Stores Javascript into the site, and here comes a curious question.<br />
<br />
Google wants the numerical output, without the currency symbol. So, how is best to go about this? format_currency() obviously uses the currency symbol, so is there a format_number() function that I'm not aware of yet? :-)<br />
<br />
For Instance, currently one line in our page is as follows:<br />
<br />
<pre class='prettyprint'>&lt;td style="text-align:right;padding-right:5px;border-right:1px solid gray;"&gt;&lt;?= format_currency($item-&gt;single_price) ?&gt;&lt;/td&gt;</pre><br />
<br />
How would I get just the numerical value, without the currency symbol so that Google can get what they want lol :-)<br />
<br />
Thanks.]]></description>
		<pubDate>Mon, 08 Apr 2013 22:13:49 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5277-formating-question/</guid>
	</item>
	<item>
		<title>Jquery Problems...</title>
		<link>http://forum.lemonstandapp.com/topic/5275-jquery-problems/</link>
		<description><![CDATA[Hey gang,<br />
So I thought I'd post this here as well to plead for help. I've been through this thing over and over but can't seem to wrap my head around what's wrong here. Namely I've fixed some problems, but when clicking the quantity buttons, they don't work until you've selected a grouped product. That, along with the tabbed menu at the bottom and the accessories tab. To expand on that, when clicking accessories, none of the items within the overlay work at all anymore. It's become a frustrated nightmare at the point :-) I could use a second eyes if someones got the time...<br />
<br />
With the Jquery update, we ran into a few minor problems. Namely problems left over from the old developer and his stray code that I've spent most of the night sifting through and trying to clean things up. However, my main focus is to ensure that major usability issues are out of the way, and then I'll continue validating everything. So I wanted to reach out to the community because I'm stumped on two minor problems that I'd like to resolve as quickly as possible.<br />
<br />
<a href='http://skipthewarehouse.com/store/product/mitsubishi-cooling-only-9000-btu-ductless-system-msyge09na-8-and-muyge09na/' class='bbc_url' title='External link' rel='nofollow external'>http://skipthewarehouse.com/store/product/mitsubishi-cooling-only-9000-btu-ductless-system-msyge09na-8-and-muyge09na/</a><br />
<br />
We'll use this page as a reference for example. The two problems I'm running into are:<br />
<br />
1) The quantity buttons don't work, however if you select a grouped product, or hit the add to cart button, they begin to work again. At this point I feel like its so simple, that my brain just isn't getting it. <br />
<br />
Our shop:add_to_cart_controls partial is listed here for reference:<br />
<pre class='prettyprint'>&lt;?
  $posted_options = Shop_ProductHelper::get_default_options($product);    
?&gt;

&lt;table class="add_to_cart_controls"&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;
        &lt;span class="product_price" id="product_price"&gt;&lt;?= format_currency($product-&gt;om('sale_price', $posted_options)) ?&gt;&lt;/span&gt;
        &lt;input type="hidden" value="&lt;?= $product-&gt;om('sale_price', $posted_options) ?&gt;" id="base_product_price"/&gt;
        &lt!-- This hidden is used by the optional JavaScript-based product price calculator --&gt;
      &lt;/td&gt;
      &lt;td class="x"&gt;x&lt;/td&gt;
      &lt;td class="qty_controls"&gt;
        &lt;div&gt;
          &lt;input type="text" name="product_cart_quantity" class="text" value="&lt;?= post('product_cart_quantity', 1) ?&gt;"/&gt;
          &lt;a href="#up" class="arrow up"&gt;Up&lt;/a&gt;
          &lt;a href="#dwn" class="arrow down"&gt;Down&lt;/a&gt;
        &lt;/div&gt;
      &lt;/td&gt;
      &lt;td&gt;&lt;a href="#" class="button_control" onclick="return $(this).getForm().sendRequest('shop:on_addToCart', {onAfterUpdate: init_effects, update: {'mini_cart': 'shop:mini_cart', 'product_page': 'shop:product_partial'}})" &gt;Add to cart&lt;/a&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
  &lt;tfoot&gt;
    &lt;tr&gt;
      &lt;td colspan="2"&gt;Price&lt;/td&gt;
      &lt;td colspan="2"&gt;Quantity&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tfoot&gt;
&lt;/table&gt;
&lt;? if ($product-&gt;is_discounted()): ?&gt;
  &lt;p&gt;This product is on sale! Original price: &lt;span class="original_price"&gt;&lt;?= format_currency($product-&gt;om('price', $posted_options)) ?&gt;&lt;/span&gt;&lt;/p&gt;
&lt;? endif ?&gt;
</pre><br />
<br />
2) Which clicking the accessories button, I have the bundled product items there. I utilized this method before, Ie: Using a hidden div to hold the partial until called by click to display and vice versa, and everything worked perfectly. Now, however, it allows you to click the checkboxes, but doesn't all you to see the additional options, change quantities, or adjust the price at all. I suppose this is some sort of hurdle with the &lt;form&gt;? As in non of the variables are passing in and/or out? (Vague ideals, I know :-) I've been up far too long :-)<br />
<br />
I have included the shop:bundle partial below for reference there:<br />
<br />
<pre class='prettyprint'>&lt;? 
    if ($product-&gt;bundle_items-&gt;count): 
?&gt;
&lt;div class="overlay-container" style="z-index:100;"&gt;  
    &lt;div class="window-container zoomin"&gt; 
  &lt;h3&gt;Components&lt;/h3&gt;
&lt;p&gt;Select & Add anything you'd like, when finished simply click outside the box to return.&lt;/p&gt;
  &lt;table class="bundle_items"&gt;
    &lt;? foreach ($product-&gt;bundle_items as $item): ?&gt;
      &lt;tr&gt;
        &lt;th class="item"&gt;
          &lt;?= h($item-&gt;name) ?&gt;
          &lt;? if ($item-&gt;description): ?&gt;
            &lt;p&gt;&lt;?= h($item-&gt;description) ?&gt;&lt;/p&gt;
          &lt;? endif ?&gt;
        &lt;/th&gt;
        &lt;td class="products"&gt;&lt;? $this-&gt;render_partial('shop:bundle_item_products', array('item'=&gt;$item)) ?&gt;&lt;/td&gt;
      &lt;/tr&gt;
    &lt;? endforeach ?&gt;
  &lt;/table&gt;
&lt;span class="close"&gt;Close Me&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;? endif ?&gt;​</pre><br />
<br />
I would whole heartedly appreciate a second set of eyes, or third... fourth, etc. :-) The community here is absolutely breath taking, and I thank you all in advance who considers assisting with this matter!<br />
<br />
Thanks!<br />
<br />
John]]></description>
		<pubDate>Mon, 08 Apr 2013 02:00:42 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5275-jquery-problems/</guid>
	</item>
	<item>
		<title><![CDATA[Customers can't order in Google Chrome]]></title>
		<link>http://forum.lemonstandapp.com/topic/5266-customers-cant-order-in-google-chrome/</link>
		<description><![CDATA[Hi there,<br />
<br />
I had two customers report that they can't place an order via Chrome! SO weird. I don't quite understand why. All the other browsers work just fine. <br />
<br />
It seems like customers can enter in information, but when it comes to the last step (which is placing the order), the system won't let them. <br />
<br />
Does anybody know why? Help! <img src='http://forum.lemonstandapp.com/public/style_emoticons/default/sad.gif' class='bbc_emoticon' alt=':(' /><br />
<br />
<a href='http://www.barstoolcomforts.com/' class='bbc_url' title='External link' rel='nofollow external'>http://www.barstoolcomforts.com/</a> <br />
<br />
 - Steph]]></description>
		<pubDate>Sun, 07 Apr 2013 21:20:11 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5266-customers-cant-order-in-google-chrome/</guid>
	</item>
	<item>
		<title>Create a module in backend</title>
		<link>http://forum.lemonstandapp.com/topic/5185-create-a-module-in-backend/</link>
		<description><![CDATA[Hi,<br />
<br />
I'm working on an Administrator page where I can update all product prices in a single form.<br />
For that I create a module and use listRender() to list the entire product list.<br />
But what I need is for each row of products I need extra input fields which should be entered with new prices.<br />
Can you please help me to attain this..<br />
I go through listRender(array $options=array(), string $partial=NULL), but don't know what variables are available in that partial...]]></description>
		<pubDate>Sun, 07 Apr 2013 12:08:18 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5185-create-a-module-in-backend/</guid>
	</item>
	<item>
		<title>Jquery Update Issues</title>
		<link>http://forum.lemonstandapp.com/topic/5184-jquery-update-issues/</link>
		<description><![CDATA[Hey gang,<br />
<br />
With the Jquery update, we ran into a few minor problems. Namely problems left over from the old developer and his stray code that I've spent most of the night sifting through and trying to clean things up. However, my main focus is to ensure that major usability issues are out of the way, and then I'll continue validating everything. So I wanted to reach out to the community because I'm stumped on two minor problems that I'd like to resolve as quickly as possible.<br />
<br />
<a href='http://skipthewarehouse.com/store/product/mitsubishi-cooling-only-9000-btu-ductless-system-msyge09na-8-and-muyge09na/' class='bbc_url' title='External link' rel='nofollow external'>http://skipthewarehouse.com/store/product/mitsubishi-cooling-only-9000-btu-ductless-system-msyge09na-8-and-muyge09na/</a><br />
<br />
We'll use this page as a reference for example. The two problems I'm running into are:<br />
<br />
1) The quantity buttons don't work, however if you select a grouped product, or hit the add to cart button, they begin to work again. At this point I feel like its so simple, that my brain just isn't getting it. <br />
<br />
Our shop:add_to_cart_controls partial is listed here for reference:<br />
<pre class='prettyprint'>&lt;?
  $posted_options = Shop_ProductHelper::get_default_options($product);    
?&gt;

&lt;table class="add_to_cart_controls"&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;
        &lt;span class="product_price" id="product_price"&gt;&lt;?= format_currency($product-&gt;om('sale_price', $posted_options)) ?&gt;&lt;/span&gt;
        &lt;input type="hidden" value="&lt;?= $product-&gt;om('sale_price', $posted_options) ?&gt;" id="base_product_price"/&gt;
        &lt!-- This hidden is used by the optional JavaScript-based product price calculator --&gt;
      &lt;/td&gt;
      &lt;td class="x"&gt;x&lt;/td&gt;
      &lt;td class="qty_controls"&gt;
        &lt;div&gt;
          &lt;input type="text" name="product_cart_quantity" class="text" value="&lt;?= post('product_cart_quantity', 1) ?&gt;"/&gt;
          &lt;a href="#up" class="arrow up"&gt;Up&lt;/a&gt;
          &lt;a href="#dwn" class="arrow down"&gt;Down&lt;/a&gt;
        &lt;/div&gt;
      &lt;/td&gt;
      &lt;td&gt;&lt;a href="#" class="button_control" onclick="return $(this).getForm().sendRequest('shop:on_addToCart', {onAfterUpdate: init_effects, update: {'mini_cart': 'shop:mini_cart', 'product_page': 'shop:product_partial'}})" &gt;Add to cart&lt;/a&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
  &lt;tfoot&gt;
    &lt;tr&gt;
      &lt;td colspan="2"&gt;Price&lt;/td&gt;
      &lt;td colspan="2"&gt;Quantity&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tfoot&gt;
&lt;/table&gt;
&lt;? if ($product-&gt;is_discounted()): ?&gt;
  &lt;p&gt;This product is on sale! Original price: &lt;span class="original_price"&gt;&lt;?= format_currency($product-&gt;om('price', $posted_options)) ?&gt;&lt;/span&gt;&lt;/p&gt;
&lt;? endif ?&gt;
</pre><br />
<br />
2) Which clicking the accessories button, I have the bundled product items there. I utilized this method before, Ie: Using a hidden div to hold the partial until called by click to display and vice versa, and everything worked perfectly. Now, however, it allows you to click the checkboxes, but doesn't all you to see the additional options, change quantities, or adjust the price at all. I suppose this is some sort of hurdle with the &lt;form&gt;? As in non of the variables are passing in and/or out? (Vague ideals, I know :-) I've been up far too long :-)<br />
<br />
I have included the shop:bundle partial below for reference there:<br />
<br />
<pre class='prettyprint'>&lt;? 
    if ($product-&gt;bundle_items-&gt;count): 
?&gt;
&lt;div class="overlay-container" style="z-index:100;"&gt;  
    &lt;div class="window-container zoomin"&gt; 
  &lt;h3&gt;Components&lt;/h3&gt;
&lt;p&gt;Select & Add anything you'd like, when finished simply click outside the box to return.&lt;/p&gt;
  &lt;table class="bundle_items"&gt;
    &lt;? foreach ($product-&gt;bundle_items as $item): ?&gt;
      &lt;tr&gt;
        &lt;th class="item"&gt;
          &lt;?= h($item-&gt;name) ?&gt;
          &lt;? if ($item-&gt;description): ?&gt;
            &lt;p&gt;&lt;?= h($item-&gt;description) ?&gt;&lt;/p&gt;
          &lt;? endif ?&gt;
        &lt;/th&gt;
        &lt;td class="products"&gt;&lt;? $this-&gt;render_partial('shop:bundle_item_products', array('item'=&gt;$item)) ?&gt;&lt;/td&gt;
      &lt;/tr&gt;
    &lt;? endforeach ?&gt;
  &lt;/table&gt;
&lt;span class="close"&gt;Close Me&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;? endif ?&gt;​</pre><br />
<br />
I would whole heartedly appreciate a second set of eyes, or third... fourth, etc. :-) The community here is absolutely breath taking, and I thank you all in advance who considers assisting with this matter!<br />
<br />
Thanks!<br />
<br />
John]]></description>
		<pubDate>Sat, 06 Apr 2013 19:12:36 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5184-jquery-update-issues/</guid>
	</item>
	<item>
		<title>Payment method logo not appearing</title>
		<link>http://forum.lemonstandapp.com/topic/5183-payment-method-logo-not-appearing/</link>
		<description><![CDATA[I've added the Sage Pay Form payment method to a site but for some reason the logo is not displayed. I added the input tag to the sagepay partial below:<br />
<br />
<pre class='prettyprint'>
&lt;p&gt;Please click the button to pay with Sage Pay.&lt;/p&gt;

&lt;form action="&lt;?= $payment_method_obj-&gt;get_form_action($payment_method) ?&gt;" method="post"&gt;
	&lt;?
		$hidden_fields = $payment_method_obj-&gt;get_hidden_fields($payment_method, $order);
		foreach ($hidden_fields as $name=&gt;$value):
	?&gt;
		&lt;? if (!is_array($value)): ?&gt;
			&lt;input type="hidden" name="&lt;?= $name ?&gt;" value="&lt;?= h($value) ?&gt;"/&gt;
		&lt;? else: ?&gt;
			&lt;? foreach ($value as $item): ?&gt;
				&lt;input type="hidden" name="&lt;?= $name ?&gt;" value="&lt;?= h($item) ?&gt;"/&gt;
			&lt;? endforeach ?&gt;
		&lt;? endif ?&gt;
	&lt;? endforeach ?&gt;
	&lt;input type="submit" value="Pay with Sage Pay"/&gt;
&#91;b&#93;	&lt;input type="image" src="/resources/images/Secured-By-Sage-Pay.gif" border="0" name="submit"/&gt;&#91;/b&#93;
&lt;/form&gt;
</pre><br />
<br />
Refreshing the page doesn't have any effect. The weird thing is that my other payment method logos show up using the same code. The image is definitely on the server too so not sure what's going on.]]></description>
		<pubDate>Sat, 06 Apr 2013 16:02:51 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5183-payment-method-logo-not-appearing/</guid>
	</item>
	<item>
		<title>Update jQuery library</title>
		<link>http://forum.lemonstandapp.com/topic/5182-update-jquery-library/</link>
		<description><![CDATA[Hi, <br />
<br />
In today's update we updated the front-end jQuery library. The previous version was too old (v1.6) and wasn't compatible with the newest features of LemonStand's front-end library (<a href='http://lemonstand.com/docs/lemonstand_front_end_javascript_framework/#data_attributes_api' class='bbc_url' title='External link' rel='nofollow external'>data attributes AJAX API</a>). The new version is 1.8.3. The newest available jQuery branch is 1.9, but we chose v1.8.3 because it shouldn't require any migration efforts. Please make sure to update your LemonStand copies to get the latest updates.<br />
<br />
Thank you]]></description>
		<pubDate>Sat, 06 Apr 2013 00:26:16 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5182-update-jquery-library/</guid>
	</item>
	<item>
		<title>Product Images / Jcarousel Issue</title>
		<link>http://forum.lemonstandapp.com/topic/5180-product-images-jcarousel-issue/</link>
		<description><![CDATA[Maybe its just me, but today I noticed that the javascript buttons on our site were failing unless clicked twice, or the page was refreshed.<br />
<br />
I've managed to track the error to the jcarousel code. You can also see how it appears that this code has gone awry for some reasons. <a href='http://skipthewarehouse.com/store/product/fortress-4-12-ldk122w-12-white-wall-duct-kit/' class='bbc_url' title='External link' rel='nofollow external'>http://skipthewarehouse.com/store/product/fortress-4-12-ldk122w-12-white-wall-duct-kit/</a><br />
<br />
The images are no longer working the code, and falling into a carousel as before. Which is weird since for the first time I've noticed an error without actually altering any code on the site.<br />
<br />
<pre class='prettyprint'>&lt;?
  $posted_options = Shop_ProductHelper::get_default_options($product);
  $images = $product-&gt;om('images', $posted_options);
?&gt;
&lt;div style="-moz-box-shadow: 0 0 10px #555; -webkit-box-shadow: 0 0 10px #555; box-shadow: 0 -1px 10px #555;"&gt;
&lt;? if ($images-&gt;count): ?&gt;
  &lt;ul class="product_images &lt;? if ($images-&gt;count &gt; 1): ?&gt;carousel&lt;? endif ?&gt; jcarousel-skin-custom"&gt;
    &lt;? foreach ($images as $image): ?&gt;
      &lt;li&gt;&lt;a title="&lt;?= h($image-&gt;title) ?&gt;" class="gallery_image" href="&lt;?= $image-&gt;getThumbnailPath(300, 300) ?&gt;"&gt;&lt;img src="&lt;?= $image-&gt;getThumbnailPath(180, 180) ?&gt;" alt="" width="220"/&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;? endforeach ?&gt;
  &lt;/ul&gt;
  &lt;? if ($images-&gt;count &gt; 1): ?&gt;
    &lt;div class="image_controls"&gt;
      &lt;div class="prev_image" id="carousel_prev"&gt;Previous&lt;/div&gt;
      &lt;div class="image_index"&gt;Image &lt;span id="image_index"&gt;1&lt;/span&gt; of &lt;?= $images-&gt;count ?&gt;&lt;/div&gt;
      &lt;div class="next_image" id="carousel_next"&gt;Next&lt;/div&gt;
    &lt;/div&gt;
  &lt;? endif  ?&gt;
&lt;? endif ?&gt;
&lt;/div&gt;</pre><br />
<br />
That code is my shop:product_images partial.<br />
<br />
I feel like there could be something wrong here, but I'm not certain. Could use an extra set of eyes.]]></description>
		<pubDate>Fri, 05 Apr 2013 22:50:04 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5180-product-images-jcarousel-issue/</guid>
	</item>
	<item>
		<title>Google Trusted Stores</title>
		<link>http://forum.lemonstandapp.com/topic/5179-google-trusted-stores/</link>
		<description><![CDATA[Hey gang,<br />
<br />
We just bought the Google Trusted Stores Plugin, but when we try to add the datafeed to Google we're getting a 404 not found issue. Likely because we don't actually know the name of the datafeed file that's supposed to be there...<br />
<br />
Has anyone come across this issue, or know what the name of the datafeed is that the module creates? There aren't any support documents for this in the forum that I've found.<br />
<br />
Thanks]]></description>
		<pubDate>Fri, 05 Apr 2013 19:02:24 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5179-google-trusted-stores/</guid>
	</item>
	<item>
		<title>Product Extras</title>
		<link>http://forum.lemonstandapp.com/topic/5178-product-extras/</link>
		<description><![CDATA[Hey folks,<br />
<br />
We have a dev project we need help with revolving around Product Extras. We have a deadline to have the functionality in place on our website by April 30.<br />
<br />
Project requires a little front-end coding, maybe some UI tweaking, and possibly some back-end work (though not sure).<br />
<br />
One component of the functionality we need is addressed here:<br />
<a href='http://forum.lemonstandapp.com/topic/4213-product-extras/' class='bbc_url' title=''>http://forum.lemonstandapp.com/topic/4213-product-extras/</a><br />
<br />
Please contact us via PM if you believe you have some cycles to assist us and we'll provide more specifics about the requirements.<br />
<br />
Thanks.]]></description>
		<pubDate>Fri, 05 Apr 2013 17:36:41 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5178-product-extras/</guid>
	</item>
	<item>
		<title>Disabled product showing in FULL List</title>
		<link>http://forum.lemonstandapp.com/topic/5176-disabled-product-showing-in-full-list/</link>
		<description><![CDATA[No matter what products are disabled or out of stock they still show up in the full list. I can go to the category and the products be gone, but within the full list they are still there. Listed below is the code for the product list partial and the shop page along with the pre-action code that comes with slate. I have not touched any of this code so its straight from the template, that is why i can not figure out as to why this is happening. <br />
<br />
Product list partial:<br />
<pre class='prettyprint'>&lt;?
	$show_all = isset($show_all) ? $show_all : false;
	$product_columns = isset($product_columns) ? $product_columns : 3;
	
	if (isset($paginate) && $paginate && !$show_all) {
		$page_index = isset($page_index) ? $page_index-1 : 0;
		$records_per_page = isset($records_per_page) ? $records_per_page : 12;
		$pagination = $products-&gt;paginate($page_index, $records_per_page);
	} else {
		$pagination = null;
	}
?&gt;
&lt;div class="listing" style="margin-left:auto;margin-right:auto;"&gt;
	&lt;ul class="products cf"&gt;
	&lt;?
		$i = 0;
		$products = $products instanceof Db_ActiveRecord ? $products-&gt;find_all() : $products;
		foreach ($products as $product):
			$is_discounted = $product-&gt;is_discounted();
			$image_url = $product-&gt;image_url(0, 218, 150);
			
	?&gt;
		&lt;li class="cf grid_3 &lt;?= $i%$product_columns?'':'row-start' ?&gt;"&gt;
			&lt;?
          $images = $product-&gt;images;
          if (count($images) &gt; 1):
            $image_1 = $images&#91;0&#93;-&gt;getThumbnailPath(218, 'auto');
            $image_2 = $images&#91;1&#93;-&gt;getThumbnailPath(218, 'auto');
          ?&gt;
            &lt;div class="image"&gt;&lt;a href="&lt;?= $product-&gt;page_url('shop/product') ?&gt;"&gt;&lt;img src="&lt;?= $image_1 ?&gt;" alt="&lt;?= h($product-&gt;name) ?&gt;" data="&lt;?= $image_2 ?&gt;" /&gt;&lt;/a&gt;&lt;/div&gt;
          &lt;?
          else:
            $image_url = $product-&gt;image_url(0, 218, 150);
            if ($image_url):
          ?&gt;
            &lt;div class="image"&gt;&lt;a href="&lt;?= $product-&gt;page_url('shop/product') ?&gt;"&gt;&lt;img src="&lt;?= $image_url ?&gt;" alt="&lt;?= h($product-&gt;name) ?&gt;"/&gt;&lt;/a&gt;&lt;/div&gt;
          &lt;? endif ?&gt;
        &lt;? endif ?&gt;
			&lt;div class="text"&gt;
				&lt;h3&gt;&lt;a href="&lt;?= $product-&gt;page_url('shop/product') ?&gt;"&gt;&lt;?= h($product-&gt;name) ?&gt;&lt;/a&gt;&lt;/h3&gt;
				&lt;span class="price grid_1"&gt;&lt;?= format_currency($product-&gt;price()) ?&gt;&lt;/span&gt;
			&lt;/div&gt;
		&lt;/li&gt;	 
	&lt;? $i++; endforeach ?&gt;
	&lt;/ul&gt;

	&lt;? if ($pagination || $show_all): ?&gt;
		&lt;div class="pagination"&gt;
			&lt;? $this-&gt;render_partial('util:pagination', array('pagination'=&gt;$pagination, 'base_url'=&gt;$pagination_base_url, 'show_all'=&gt;$show_all)); ?&gt;
		&lt;/div&gt;
	&lt;? endif ?&gt;
&lt;/div&gt;</pre><br />
<br />
Shop Page:<br />
<pre class='prettyprint'>&lt;div style="margin-left: 20px;"&gt;
&lt;? $this-&gt;render_partial('shop:product:list', array(
	'products'=&gt;$products,
	'records_per_page'=&gt;12,
	'paginate'=&gt;true,
	'pagination_base_url'=&gt;root_url('shop'),
	'page_index'=&gt;$this-&gt;request_param(-1, 0),
)) ?&gt;
&lt;/div&gt;</pre><br />
<br />
Shop page pre-action code:<br />
<pre class='prettyprint'>$group = Shop_CustomGroup::create()-&gt;find_by_code('shop_products');
if ($group) {
	$this-&gt;data&#91;'products'&#93; = $group-&gt;list_products();
} else {
	$this-&gt;data&#91;'products'&#93; = Shop_Product::create();
}
$this-&gt;data&#91;'current_tab'&#93; = 'shop';
</pre><br />
<br />
I feel like the problem is within the pre-code but i could be wrong.<br />
<br />
Once again i am still learning php so i am not that great. If i looked over something really simple i apologize.<br />
<br />
Thanks in advance,<br />
ryan]]></description>
		<pubDate>Fri, 05 Apr 2013 05:48:19 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5176-disabled-product-showing-in-full-list/</guid>
	</item>
	<item>
		<title>New configuration option affecting the performance</title>
		<link>http://forum.lemonstandapp.com/topic/5175-new-configuration-option-affecting-the-performance/</link>
		<description><![CDATA[Hi,<br />
<br />
The Shop version #1.25.78 introduces a new configuration option: CACHE_SHIPPING_METHODS. Read more about the parameter: <a href='http://lemonstand.com/docs/performance_tuning/#CACHE_SHIPPING_METHODS' class='bbc_url' title='External link' rel='nofollow external'>http://lemonstand.com/docs/performance_tuning/#CACHE_SHIPPING_METHODS</a><br />
<br />
Enabling the parameter can improve the store performance if you use external shipping providers (FedEx, UPS, USPS, etc.). The parameter is disabled by default, but we are going to enable it in new LemonStand installations. We recommend to enable the parameter in your existing stores and see if it improves performance of the Checkout pages. <br />
<br />
Thank you]]></description>
		<pubDate>Thu, 04 Apr 2013 19:39:38 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5175-new-configuration-option-affecting-the-performance/</guid>
	</item>
	<item>
		<title>Custom fields intermittently save data?</title>
		<link>http://forum.lemonstandapp.com/topic/5174-custom-fields-intermittently-save-data/</link>
		<description><![CDATA[I have had on ongoing problem with one of my lemonstand sites for some time now where custom field data intermittently saves. I can see no reason why this happens as the code itself is sound.<br />
<br />
As an example, when placing on order on the following product page a customer ordered the same item four times with different personalised text. Three of the four orders came through fine but one of them (2nd in the sequence of 4) came through blank. It's definitly not a case of the customer submitting the item early as I have experienced similar issues when testing the checkout, sometimes it works and other times it doesn't. <br />
<a href='http://www.henpartyitems.co.uk/product/design-your-own-sash/' class='bbc_url' title='External link' rel='nofollow external'>http://www.henpartyitems.co.uk/product/design-your-own-sash/</a><br />
<br />
Can anyone see a problem with the code itself? Has anyone else experienced a similar issue?]]></description>
		<pubDate>Thu, 04 Apr 2013 19:22:34 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5174-custom-fields-intermittently-save-data/</guid>
	</item>
	<item>
		<title>Shipping prices not calculating correctly</title>
		<link>http://forum.lemonstandapp.com/topic/5173-shipping-prices-not-calculating-correctly/</link>
		<description><![CDATA[Hi everyone,<br />
I'm having an issue with shipping price on bulk items (it does not appear to be affecting smaller items).  This issue occurred after a long past-due update took place about a week ago.<br />
<br />
Our shipping methods are UPS Ground, 3-Day Select, 2nd Day Air, Next Day Day Air, and USPS Priority and Express Mail.  Both Shipping Options are linked to my company's accounts for shipping rates, if that's important at all.<br />
<br />
The items in question have an actual shipping dimension of: 26"x26"x7" and weigh about 5 lbs.<br />
<br />
Prior to the update, we were able to get correct shipping prices by setting the item's shipping attributes to: 17"x17"x17" and 4.1 lbs. (this volume gave us correct prices for some unknown reason)<br />
<br />
Now, however, only UPS Ground and USPS Express Mail are calculating correctly.  The other prices are being calculated much too low.<br />
<br />
It appears that the dimensions of these items are being completely ignored.  I can set the dimensions to absurd values and it has no change on the shipping prices.<br />
<br />
Can anyone point me in the correct direction on fixing this issue?]]></description>
		<pubDate>Wed, 03 Apr 2013 20:08:20 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5173-shipping-prices-not-calculating-correctly/</guid>
	</item>
	<item>
		<title>Out of stock mail to specific users</title>
		<link>http://forum.lemonstandapp.com/topic/5172-out-of-stock-mail-to-specific-users/</link>
		<description><![CDATA[Hi, I was wondering if there was a way to have the Product out of stock mail to only go to specified users? Currently whenever it goes out it is going out to every actie user we have in lemonstand - where as only 2 need to be notified.  IE: 1 is a developer, 1 is a content editor and so on, and we do not want them getting these mail.  Not all users are set to admin, or set to be able to modify products but that doesn't seem to make a difference.<br />
<br />
Any ideas out there?<br />
<br />
Thanks!<br />
James]]></description>
		<pubDate>Wed, 03 Apr 2013 18:59:48 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5172-out-of-stock-mail-to-specific-users/</guid>
	</item>
	<item>
		<title>Implementing Email confirmation on SignUp</title>
		<link>http://forum.lemonstandapp.com/topic/5171-implementing-email-confirmation-on-signup/</link>
		<description><![CDATA[Hi,<br />
<br />
We're trying to add an 'email verification' step to the signup process. You know the kind:<br />
1. Customer signs up, but is not immediately able to log in.  Instead, he gets a page that says, "One more step: You'll receive an email with a confirmation link. Click the link to confirm your registration."<br />
2. Instead of a "Thank you for your registration" email, a "Confirm your registration" email goes to the customer with a link that he/she clicks on.<br />
3. Upon clicking, the customer is moved to the "Registered" group and is now able to login.<br />
<br />
We're a bit surprised that this feature does not already exist, especially considering that this is an e-commerce platform. In the region where we're using Lemonstand, unfortunately, email verification is required due to the a relatively internet-immature customer base.<br />
<br />
To add this, here's our approach<br />
<br />
1) Guest checkout is disabled.<br />
2) When the customer signs up, we want to set his "guest" flag to 1. (The "guest" column in the Customer model/table i mean. When this is set to 1, i believe the customer cannot log in with his credentials)<br />
3) Create a new email template called "Confirm Registration" which contains a link to a page that, when visited by the customer, gets his email id from the url and then unsets the guest flag and adds him to the "Registered" group.<br />
4) Now we send him the actual "Thank you for your registration" email<br />
<br />
Two quick questions:<br />
1) Is this the best approach, or can you guys recommend another easier/more elegant way to do this?<br />
2) We're having a challenge setting the "guest" flag to 1 immediately after sign up when using the default sign up method. We obviously do not want to touch the core code. To make matters a bit more complicated, we cannot default the 'guest' flag to 1 for all new sign ups, as for customers added through the admin interface, or for those who sign up using social media, the email verification step is not required. We only want to set this guest flag if the customer signs up with an email id.<br />
<br />
Any help/suggestions will be greatly appreciated. To the Lemonstand devs, can you guys add a method that will allow an email verification step?]]></description>
		<pubDate>Wed, 03 Apr 2013 06:00:30 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5171-implementing-email-confirmation-on-signup/</guid>
	</item>
	<item>
		<title>How to get discount percentage from coupon code</title>
		<link>http://forum.lemonstandapp.com/topic/5170-how-to-get-discount-percentage-from-coupon-code/</link>
		<description><![CDATA[Hi,<br />
<br />
Once the user logs in to my store, I will be setting coupon codes automatically based on the some calculations. So in the home page I need to display a message saying "Your purchases will be discounted by &lt;discount&gt;%". When the user logs in I will be retrieving the coupon code that is to be applied to the user. How can I get the discount percentage for that coupon code, so that I could display it on the home page. <br />
<br />
Thanks,<br />
Sanjay]]></description>
		<pubDate>Wed, 03 Apr 2013 01:41:14 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5170-how-to-get-discount-percentage-from-coupon-code/</guid>
	</item>
	<item>
		<title>Using Letter State Code and defined Country name</title>
		<link>http://forum.lemonstandapp.com/topic/5168-using-letter-state-code-and-defined-country-name/</link>
		<description><![CDATA[How do I force customers to use the code for the state (two letters in the US, e.g. VA for Virginia)?<br />
Also I would like to have customers use the Country name as defined in System&gt;eCommerce&gt;Countries and States.<br />
It would be nice to have a drop down box listing the choices, and the ability to have this drop down list default to a country (In my case, United States).<br />
<br />
If this is not possible, I will add this as a suggestion in the Suggestions section.]]></description>
		<pubDate>Tue, 02 Apr 2013 15:22:27 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5168-using-letter-state-code-and-defined-country-name/</guid>
	</item>
	<item>
		<title>Issue with custom Ajax on login page</title>
		<link>http://forum.lemonstandapp.com/topic/5166-issue-with-custom-ajax-on-login-page/</link>
		<description><![CDATA[Hi,<br />
<br />
I am trying to implement email verification on customer SignUp.<br />
For that I put the newly registered customers in a particular group and after verify the email I move them into the registered group.<br />
The issue is for implement this I think I need to customize the default login action to check the customer is in registered group or not.<br />
I use Ajax version on Login action as my customers can login from any page (model box).<br />
So where should I place (page) the custom Ajax code <br />
Please reply me with your valuable suggestions]]></description>
		<pubDate>Tue, 02 Apr 2013 09:54:51 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5166-issue-with-custom-ajax-on-login-page/</guid>
	</item>
	<item>
		<title>get_customer_notes not empty on first use?</title>
		<link>http://forum.lemonstandapp.com/topic/5165-get-customer-notes-not-empty-on-first-use/</link>
		<description><![CDATA[I am adding the customer notes field to my checkout (basket) page. My page uses the grayed out "placeholder" text to fill in some instructions. I use this in other form elements throughout our site. When I add the customer note text it shows up blank initially. When you click in the field it appears that there as already something in it (tabs or spaces it seems). This causes my textfield to be blank on initial display. If you click in the field then delete the contents, the placeholder text appears. <br />
<br />
Why is there something already in this field on first use? Is there a way I can grab it and nuke it before it displays? I tried to nab the chars and check out what they are, od says this:<br />
<br />
od -s cruft.txt<br />
0000000   2313   2313 	10<br />
0000005<br />
<br />
<br />
 I followed the instructions from the <a href='http://lemonstandapp.com/docs/allowing_customers_to_enter_order_notes/' class='bbc_url' title='External link' rel='nofollow external'>http://lemonstandapp...er_order_notes/</a> page. Here's my form code:<br />
<br />
<span style='font-family: Lucida Console'>		&lt;textarea id="cust_notes" placeholder="Enter any shipping or special instructions here" class="text foo" name="customer_notes"&gt;<br />
		&lt;?=h(Shop_CheckoutData::get_customer_notes())?&gt;&lt;/textarea&gt;   </span><br />
<br />
Any tips would be appreciated.<br />
<br />
Thanks.<br />
<br />
-Dave]]></description>
		<pubDate>Mon, 01 Apr 2013 04:31:31 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5165-get-customer-notes-not-empty-on-first-use/</guid>
	</item>
	<item>
		<title>Storing Value in Server Session</title>
		<link>http://forum.lemonstandapp.com/topic/5164-storing-value-in-server-session/</link>
		<description><![CDATA[Hi,<br />
<br />
I have subscribed to this event in my module.<br />
<br />
<pre class='prettyprint'>Backend::$events-&gt;addEvent('shop:onAuthenticateCustomer', $this, 'on_authentication');</pre><br />
<br />
Inside the on_authentication method, I perform some calculations and store some values in server session as follows. The below code is working fine. <br />
<br />
<pre class='prettyprint'>
 public function on_authentication($login, $password)
    {
            $loyaltyModue = new LoyaltyDiscount_Checker();
            $loyalCustomer = $loyaltyModue-&gt;checkLoyalCustomer($customer-&gt;email);
            $loyaltyModue-&gt;updateCustomerGroup($loyalCustomer,$customer-&gt;email);

            if($loyalCustomer) {
                    Cms_VisitorPreferences::set('customerGroup', 'loyal');
            }
            else {
                    Cms_VisitorPreferences::set('customerGroup', 'registered');
                 }

</pre><br />
<br />
The above code is live for the past three months and it is working great. But now I wanted to extend my module, and I included another check inside the same event handler, as follows. Inside the Else part, I have included another check. <br />
<br />
<pre class='prettyprint'>
 $loyaltyModue = new LoyaltyDiscount_Checker();
            $loyalCustomer = $loyaltyModue-&gt;checkLoyalCustomer($customer-&gt;email);
            $loyaltyModue-&gt;updateCustomerGroup($loyalCustomer,$customer-&gt;email);
            if($loyalCustomer) {
                    Cms_VisitorPreferences::set('customerGroup', 'loyal');
            }
            else {
                    Cms_VisitorPreferences::set('customerGroup', 'registered');

                    /* If the customer is not a Loyal Customer, Check if he is a new customer referred by an affiliate */
                    $check = $loyaltyModue-&gt;checkNewCustomer($customer-&gt;email);
                    if($check) {
                        traceLog('Check Passed');

                        Cms_VisitorPreferences::set('firstSaleDiscount', '40');

                        traceLog('Discount'.Cms_VisitorPreferences::get('firstSaleDiscount'));
                    }
</pre><br />
<br />
Now, my traceLog('Check Passed') has got printed and the next traceLog gets printed as 40. But when I perform the Cms_VisitorPreferences::get('firstSaleDiscount') in my store's home page, it always returns NULL. Whereas I'm receiving proper value for Cms_VisitorPreferences::get('customerGroup') in my home page. <br />
<br />
I'm not sure why is it happening. Kindly guide me on this. <br />
<br />
Thanks,<br />
Sanjay]]></description>
		<pubDate>Mon, 01 Apr 2013 02:29:13 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5164-storing-value-in-server-session/</guid>
	</item>
	<item>
		<title>Migrated to new server...now nothing</title>
		<link>http://forum.lemonstandapp.com/topic/5163-migrated-to-new-servernow-nothing/</link>
		<description><![CDATA[So, I am a huge noob when it comes to server side stuff.<br />
<br />
I moved my files over to the new host, moved my database over.<br />
<br />
I went to this address myip/myusername/myconfigbackend/config and I get a 404 page not found. I also tried myip/myusername/myconfigbackend and same 404 page not found.<br />
<br />
Anyone want to give me some pointers on what to do? Been reading other threads like: <a href='http://forum.lemonstandapp.com/topic/3275-new-installation-backdoor-and-config-pages-do-not-work/' class='bbc_url' title=''>http://forum.lemonstandapp.com/topic/3275-new-installation-backdoor-and-config-pages-do-not-work/</a> but I am totally lost.]]></description>
		<pubDate>Sun, 31 Mar 2013 12:32:30 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5163-migrated-to-new-servernow-nothing/</guid>
	</item>
	<item>
		<title>Specific Product Image in Shopping Cart</title>
		<link>http://forum.lemonstandapp.com/topic/5162-specific-product-image-in-shopping-cart/</link>
		<description><![CDATA[I am having an issue when trying to to get 1 specific image to show up in the shopping cart. Right now i have 3 that show up but i cant figure out how to only get 1 specific one. I am trying to get the second image, index 1, in each product. If someone could help that would be greatly appreciated. I am kinda new to PHP so i am learning as i code, literally. Also i am using the Slate theme if that helps any.<br />
<br />
Image of what i have so far:<br />
<img src='http://img594.imageshack.us/img594/4416/45057343.jpg' alt='Posted Image' class='bbc_img' /><br />
<br />
Here is the snippet of code up to the image:<br />
<pre class='prettyprint'>&lt;? 
	$items = Shop_Cart::list_active_items(); 
	$item_num = count($items);
	if ($item_num):
?&gt;
		&lt;table class="data_table products"&gt;
			&lt;thead&gt;
				&lt;tr&gt;
					&lt;th&gt;&lt;/th&gt;
					&lt;th class="controls"&gt;&nbsp;&lt;/th&gt;
					&lt;th class="right"&gt;Quantity&lt;/th&gt;
					&lt;th class="right"&gt;Price&lt;/th&gt;
					&lt;th class="right"&gt;Discount&lt;/th&gt;
					&lt;th class="right"&gt;Total&lt;/th&gt;
				&lt;/tr&gt;
			&lt;/thead&gt;
			&lt;tbody&gt;
				&lt;?
					foreach ($items as $index=&gt;$item):
					$image_url = $item-&gt;product-&gt;image_url(0, 80, 'auto');
					$options_str = $item-&gt;options_str();
				?&gt;
                                  /* Code for Product Image */
					&lt;tr class="&lt;?= $index == $item_num-1 ? 'last' : null ?&gt;"&gt;
						&lt;td class="qty_shift"&gt;
							&lt;? if ($image_url): ?&gt;
							&lt;?
  							for ($index = 1; $index &lt; $item-&gt;product-&gt;images-&gt;count; $index++):
							?&gt;
								&lt;img src="&lt;?= $item-&gt;product-&gt;images&#91;$index&#93;-&gt;getThumbnailPath(0,80,'auto')?&gt;" alt="&lt;?= h($item-&gt;product-&gt;name) ?&gt;"/&gt;
							&lt;? endfor ?&gt;
							&lt;? endif ?&gt;</pre><br />
<br />
Thanks to anyone that posts a response,<br />
Ryan]]></description>
		<pubDate>Sun, 31 Mar 2013 07:20:33 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5162-specific-product-image-in-shopping-cart/</guid>
	</item>
	<item>
		<title>Barstool Comforts</title>
		<link>http://forum.lemonstandapp.com/topic/5161-barstool-comforts/</link>
		<description><![CDATA[Hi there!<br />
<br />
So I am finally pleased to have launched Barstool Comforts! As many of you know, in the forums, I have been working on this site for quite some time. <br />
<br />
It was originally in Zen Cart which was so MADDENING to update. I'm really happy with how this came out. There's a lot coming like the blog and a responsive design.<br />
<br />
Thank you to LemonStand for creating amazing software and thank you to many of you in the forums! <br />
<br />
<a href='http://www.barstoolcomforts.com/' class='bbc_url' title='External link' rel='nofollow external'>http://www.barstoolcomforts.com/ </a><br />
<br />
 - Stephanie]]></description>
		<pubDate>Sun, 31 Mar 2013 00:01:12 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5161-barstool-comforts/</guid>
	</item>
	<item>
		<title><![CDATA[Wordpress Blog Doesn't Show Up]]></title>
		<link>http://forum.lemonstandapp.com/topic/5160-wordpress-blog-doesnt-show-up/</link>
		<description><![CDATA[Hi!<br />
<br />
I launched my site, but now the /blog/ directory doesn't show up. It gives me a 404 error. I tried finding answers in the forums here, but nothing lead me to a solution. Here's my site structure:<br />
<br />
Root directory: lemonstand files<br />
Folder inside root: /blog/ (Wordpress)<br />
<br />
How would you go about getting this to work? I tried following the steps here:<br />
<a href='http://lemonstand.com/docs/using_third_party_software_with_lemonstand/' class='bbc_url' title='External link' rel='nofollow external'>http://lemonstand.com/docs/using_third_party_software_with_lemonstand/</a><br />
<br />
But that didn't work. Help?]]></description>
		<pubDate>Sat, 30 Mar 2013 23:58:07 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5160-wordpress-blog-doesnt-show-up/</guid>
	</item>
	<item>
		<title><![CDATA[PDF's give me a 404 error]]></title>
		<link>http://forum.lemonstandapp.com/topic/5159-pdfs-give-me-a-404-error/</link>
		<description><![CDATA[Hi there,<br />
<br />
I'm trying to upload some documents like PDF's. They upload fine and I know they're in the right directory, but going there gives me a 404 error. How do I get these to show up? I tried messing with the htaccess, but I don't <em class='bbc'>really</em> know what I'm doing.  <img src='http://forum.lemonstandapp.com/public/style_emoticons/default/blink.gif' class='bbc_emoticon' alt=':blink:' />]]></description>
		<pubDate>Sat, 30 Mar 2013 23:18:58 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5159-pdfs-give-me-a-404-error/</guid>
	</item>
	<item>
		<title>input fields not working on ios</title>
		<link>http://forum.lemonstandapp.com/topic/5158-input-fields-not-working-on-ios/</link>
		<description><![CDATA[I have a strange problem that I have been trying to solve.<br />
<br />
All my input fields only allow one character to be entered, and no backspace allowed. <br />
This only happens on mobile browsers, all desktop browsers are fine. <br />
It happens on both safari and chrome on ios, with the same results for both, it even crashed chrome on my iphone once.<br />
<br />
I used the slate theme and have editing the css a lot, but havnt added or changed much javascript.<br />
<br />
I have checked everything related to input fields and cant figure it out. Anyone have any idea on this?]]></description>
		<pubDate>Fri, 29 Mar 2013 08:43:30 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5158-input-fields-not-working-on-ios/</guid>
	</item>
	<item>
		<title>Forgot password not working</title>
		<link>http://forum.lemonstandapp.com/topic/5157-forgot-password-not-working/</link>
		<description><![CDATA[I am testing LemonStand on a development server before going live on our site.  When I click on the Forgot your password link a message is sent to my email address with the new password with 6 characters, however when I copy and paste that new password into the box below my email address dots with many more than 6 appear.  Clicking Sign In returns a message that the user name and password do not match.  I have tried typing in the new 6 character password and still get the same error message.  If I go to the back-end, I can change the password to another password, and then go back to the front-end and login with the new password I created.<br />
<br />
The email address I used to test the Forgot my password link is the same email address I have listed for myself as a User/Administrator.  I am not sure if this could be causing the problem with the test.]]></description>
		<pubDate>Thu, 28 Mar 2013 13:46:17 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5157-forgot-password-not-working/</guid>
	</item>
	<item>
		<title><![CDATA[Combine Cart &#38; Checkout Actions]]></title>
		<link>http://forum.lemonstandapp.com/topic/5155-combine-cart-checkout-actions/</link>
		<description><![CDATA[Hello! <img src='http://forum.lemonstandapp.com/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /><br />
<br />
I'm wanting to super-simplify the checkout process on a site we're working on, so am looking to combine the shop:cart & shop:checkout actions into one.<br />
<br />
I'm thinking of basically copying the action's code from the shop module and adding it to the Page's Pre Action Code block. Obviously there's a lot to write around with it no longer being in an object context (or the right object context).<br />
<br />
Before I go 'down the rabbit-hole', I wondered if anyone has any experience of doing this (or similar)? Or if I'm massively complicating things and theres a much simpler solution?]]></description>
		<pubDate>Thu, 28 Mar 2013 10:34:14 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5155-combine-cart-checkout-actions/</guid>
	</item>
	<item>
		<title>jQuery Error</title>
		<link>http://forum.lemonstandapp.com/topic/5154-jquery-error/</link>
		<description><![CDATA[Hey guys,<br />
<br />
I've just added my slider to the front page of my shop and it's not working.. I had a look in the console and was told this:<br />
<br />
Uncaught TypeError: undefined is not a function<br />
Uncaught TypeError: Property '$' of object [object Object] is not a function<br />
<br />
So I'm guessing there's some kind of conflict or something?<br />
<br />
<a href='http://www.hecticdesigns.co.uk/clients/bikecare/' class='bbc_url' title='External link' rel='nofollow external'>http://www.hecticdesigns.co.uk/clients/bikecare/</a><br />
<br />
Any help is much appreciated!<br />
<br />
Thanks in advance!<br />
<br />
Ben]]></description>
		<pubDate>Wed, 27 Mar 2013 22:59:58 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5154-jquery-error/</guid>
	</item>
	<item>
		<title><![CDATA[Discount &#62; Cart]]></title>
		<link>http://forum.lemonstandapp.com/topic/5153-discount-cart/</link>
		<description><![CDATA[In the Simplicity theme, when a product is added to the cart there is a column to show the discount for that product. I removed this feature from the cart and now want it back. <img src='http://forum.lemonstandapp.com/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /> All I need is the code for it. Anyone have it? <br />
<br />
Something like <pre class='prettyprint'>&lt;?= format_currency($item-&gt;single_price()) ?&gt;</pre> but for the discount on the line item.<br />
<br />
EDIT: Figured it out. <pre class='prettyprint'>&lt;?= format_currency($item-&gt;discount()) ?&gt;</pre>]]></description>
		<pubDate>Wed, 27 Mar 2013 17:01:49 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5153-discount-cart/</guid>
	</item>
	<item>
		<title>Fatal error on accessing backdoor</title>
		<link>http://forum.lemonstandapp.com/topic/5152-fatal-error-on-accessing-backdoor/</link>
		<description><![CDATA[We recently provided this site to another company<br />
<br />
<a href='http://wildcatterritory.watermainclients.com/' class='bbc_url' title='External link' rel='nofollow external'>http://wildcatterritory.watermainclients.com/</a><br />
<br />
to be installed here:<br />
<br />
<a href='http://php-demos.com/wildcatapp' class='bbc_url' title='External link' rel='nofollow external'>http://php-demos.com/wildcatapp</a><br />
<br />
it seem like everything is in order on the frontend and we are able to login to the config tool, however, after attempting to login at <a href='http://php-demos.com/wildcatapp/backdoor' class='bbc_url' title='External link' rel='nofollow external'>http://php-demos.com/wildcatapp/backdoor</a> I get the followin fatal error instead of the dashboard page.<br />
<br />
<pre class='prettyprint'>Fatal error: Class 'Phpr_User' not found in /home/content/73/10140873/html/wildcatapp/modules/users/models/users_user.php on line 17</pre><br />
<br />
any ideas what could be causing this?<br />
<br />
I was able to install the files I provided to the other company locally on my own, so it seems like it might be a difference in their server's configuration and mine.]]></description>
		<pubDate>Wed, 27 Mar 2013 15:28:31 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5152-fatal-error-on-accessing-backdoor/</guid>
	</item>
	<item>
		<title>Little help with a discount setup?</title>
		<link>http://forum.lemonstandapp.com/topic/5151-little-help-with-a-discount-setup/</link>
		<description><![CDATA[So, Ive calculated shipping on all my items so that I can tell my customers everything includes free shipping.<br />
<br />
Your average minimum shipping is about $8 on the items. So, I have added that minimum on all my items.<br />
<br />
The problem is, since I have this $8 built into the item price, if they add two of the item, they're now essentially being charged $16 in shipping.<br />
<br />
What I need is a setup that will subtract $8 from each item added to the cart if there are 2 or more items present. I looked in catalog price rules but didnt see anything related to quantities.<br />
<br />
So, for example, right now if they shop for an item thats $16 and they want 2 they end up with:<br />
<br />
$16<br />
$16<br />
___<br />
Total: $32<br />
<br />
What I need is<br />
<br />
$16<br />
$8<br />
______<br />
Total: $24<br />
<br />
or if say 3 of the item is purchased (and so on):<br />
<br />
$16<br />
$8<br />
$8<br />
___<br />
$32<br />
<br />
Basically, the first item added to the cart should retain the $8 base shipping, but every additional item should be discounted by $8. It doesnt matter if they are the exact same product or mix and match.]]></description>
		<pubDate>Wed, 27 Mar 2013 14:12:43 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5151-little-help-with-a-discount-setup/</guid>
	</item>
	<item>
		<title>Nominate your product price feature</title>
		<link>http://forum.lemonstandapp.com/topic/5150-nominate-your-product-price-feature/</link>
		<description><![CDATA[Hi,<br />
<br />
I'm trying to implement a product order where the customer can specify how much they want to pay for a product.<br />
<br />
I can't seem to find a way to overwrite an item price in the cart. <br />
<br />
Has anyone managed to do something like this in Lemonstand?  <img src='http://forum.lemonstandapp.com/public/style_emoticons/default/unsure.gif' class='bbc_emoticon' alt=':unsure:' /> <br />
<br />
There is a <em class='bbc'>price_preset</em> attribute in Shop_CartItem but it's undocumented and I think this is only applied as a runtime attribute, I can't seem to be able to commit that value between request.  Neither Shop_InMemoryCartItem nor Shop_CustomerCartItem have that attribute.<br />
<br />
Tried a few things but nothing is working.<br />
<br />
Any idea or suggestion? <br />
<br />
Ben]]></description>
		<pubDate>Wed, 27 Mar 2013 05:32:08 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5150-nominate-your-product-price-feature/</guid>
	</item>
	<item>
		<title>Error Messages</title>
		<link>http://forum.lemonstandapp.com/topic/5149-error-messages/</link>
		<description><![CDATA[Hi, I am trying to understand the following recurring error messages - <br />
<br />
1. Phpr_SystemException: Error sending message Nourse Farms Website: Could not execute: /usr/sbin/sendmail. In /home/nourse/public_html/modules/core/classes/core_email.php, line 134 <br />
Error Details: Error sending message Nourse Farms Website: Could not execute: /usr/sbin/sendmail<br />
<br />
from line 134<br />
 if ( !$Mail-&gt;Send() )<br />
134. throw new Phpr_SystemException( 'Error sending message '.$subject.': '.$Mail-&gt;ErrorInfo );<br />
<br />
shortly after this, i get an error message: Phpr_PhpException: Trying to get property of non-object. In /home/nourse/public_html/modules/system/controllers/system_error_log/_error_details.htm, line 5<br />
<br />
<br />
<br />
*********************************************<br />
2.  the next ones and come in pairs: "Undefined variable: category" and occur a few seconds apart - and I've gotten them repeatedly in the past couple weeks. <br />
<br />
I get this error "Undefined variable: category"<br />
Phpr_PhpException: Undefined variable: category. In /home/nourse/public_html/modules/cms/classes/cms_controller.php(383) : eval()'d code, line 15<br />
<br />
and 18 seconds later, this error "Undefined variable: category"<br />
<br />
Cms_ExecutionException: Undefined variable: category. In "shop:category" (CMS partial), line 15<br />
<br />
/* * Load the product sorting mode. The default mode is 'name'.*/<br />
line 15: $sorting_preferences = Cms_VisitorPreferences::get('cat_sorting_'.$category-&gt;id, array('name'));<br />
$selected_option = $sorting_preferences[0];<br />
<br />
<br />
This is on <a href='http://noursefarms.com' class='bbc_url' title='External link' rel='nofollow external'>http://noursefarms.com</a><br />
<br />
<br />
Also, does the error log ever automatically empty? I ask because i hadn't been in there awhile and there are only error messages from 3/16 on.. <br />
<br />
thanks, Theresa]]></description>
		<pubDate>Tue, 26 Mar 2013 20:45:53 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5149-error-messages/</guid>
	</item>
	<item>
		<title>Calling module classes from ajax handler</title>
		<link>http://forum.lemonstandapp.com/topic/5148-calling-module-classes-from-ajax-handler/</link>
		<description><![CDATA[Hi,<br />
<br />
I'm trying to call a method present in my custom module class from an ajax handler, but the method doesn't get called. Following is the code. <br />
<br />
<strong class='bbc'>Ajax Call:</strong><br />
<br />
<pre class='prettyprint'>
onclick="return $(this).getForm().sendRequest('post_billing_info', {update:{'checkout_page': 'checkout_partial'}})
</pre><br />
<br />
<strong class='bbc'>post_billing_info method:</strong><br />
<br />
<pre class='prettyprint'>
function post_billing_info($controller)
{
  /* Some Code */
  
   traceLog('Hello');
   XYZ_ABC::method1();

  /* Some Code */
  
}
</pre><br />
<br />
When the form is submitted, the traceLog "Hello" gets printed, but the method1() inside the class XYZ_ABC doesn't get called. Kindly guide me on how to call the custom method from an ajax handler.<br />
<br />
Thanks,<br />
Sanjay]]></description>
		<pubDate>Tue, 26 Mar 2013 17:36:59 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5148-calling-module-classes-from-ajax-handler/</guid>
	</item>
	<item>
		<title>Form on Pay page being submitted no matter what</title>
		<link>http://forum.lemonstandapp.com/topic/5147-form-on-pay-page-being-submitted-no-matter-what/</link>
		<description><![CDATA[So my client requested a feature, which was to give users the opportunity to pay by bank transfer (BACS) once they get to the Pay page. In addition to the standard form that communicates with the payment gateway, I added a button: <strong class='bbc'>Pay by Bank Transfer</strong>,  that <em class='bbc'>should</em> change the order status from <strong class='bbc'>Pending</strong> to <strong class='bbc'>Pending Transfer</strong>. <br />
<br />
This totally works... however I've just discovered that clicking on <em class='bbc'>any other link on the page</em> does exactly the same thing. Here's the code in my <strong class='bbc'>page_pay.php</strong> file :<br />
<br />
<pre class='prettyprint'>
&lt;?= open_form() ?&gt;
	&lt;?= flash_message() ?&gt;
	
	&lt;a onclick="return $(this).getForm().sendRequest(
	'pay_by_bank_transfer',{
		confirm: 'Are you sure you want to pay by bank transfer? This will change your order status.',
		extraFields: {'order_id': '&lt;?= $order-&gt;id ?&gt;', 'total': '&lt;?= $order-&gt;total ?&gt;'}
	})" href="#" title="Pay by Bank Transfer" class="button secondary fullwidth" style="padding:0px 10px !important;"&gt;
		
		Pay by Bank Transfer
	&lt;/a&gt;
	
	&lt;?
	
	$status = Shop_OrderStatus::create()-&gt;find_by_code('transfer');
	
	if ($order-&gt;status-&gt;code !== 'transfer') {
		Shop_OrderStatusLog::create_record($status-&gt;id, $order);
	}
?&gt;
&lt;/form&gt;
</pre><br />
<br />
...clearly I've made an error, since it's changing the order status at the point it loads the Pay page - I only want it to change status if the user clicks the Pay by Transfer button.<br />
<br />
I have a 'pay_by_bank_transfer' action in my ajax_handlers.php file, however to update the order status this would need access to the <strong class='bbc'>$order</strong> object, and I'm not 100% certain how to pass that through. <br />
<br />
Any help would be greatly appreciated.]]></description>
		<pubDate>Tue, 26 Mar 2013 16:24:58 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5147-form-on-pay-page-being-submitted-no-matter-what/</guid>
	</item>
	<item>
		<title>Individual product files</title>
		<link>http://forum.lemonstandapp.com/topic/5146-individual-product-files/</link>
		<description><![CDATA[Hi,<br />
I am creating ajax driven product page that will display wide range of products and their options using ajax and partials. The Client does not want the page to reload at any point. All is working great up till the moment i need to add the ability of the user to upload individual files for customization of the product. To expand on that i need to make it so that the user can select Item A with various Extra Options and on top of that to add files for just this selected set of Item and Extra Options and add this to the cart, and after that if he want to select the same Item with other options and other files the first uploaded files not to be related to that.<br />
I have made the upload form and i have 2 problems with it. <br />
<br />
 1. I cant make it so that the the page is not reloaded when files are uploaded. Do i need to create and &lt;iframe&gt; for that?<br />
<br />
 2. After initial add to cart of this Product A with File A, if i select Product A and add File B in the cart for the second cart item both files are listed. Is there a way to make like a specific list of files for every cart item like the list of options.<br />
<br />
Also is there a build in way to limit what sort of files are uploaded, like just images for example or just text files.<br />
<br />
Regards Thovas]]></description>
		<pubDate>Tue, 26 Mar 2013 15:58:27 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5146-individual-product-files/</guid>
	</item>
	<item>
		<title><![CDATA[User can't see all pages or layouts]]></title>
		<link>http://forum.lemonstandapp.com/topic/5145-user-cant-see-all-pages-or-layouts/</link>
		<description><![CDATA[Hi,<br />
<br />
I'm having a little bit of trouble with my client not being able to see all pages. I have set them up with a slightly limited access, (don't want them breaking everything...) but they can see all pages apart from that have one certain layout. This is a new layout that I created, (rather than editing original ones).Are they some permissions i'm missing somewhere?<br />
<br />
Any help or pointers welcome on this, starting to loose my hair   <img src='http://forum.lemonstandapp.com/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' />]]></description>
		<pubDate>Tue, 26 Mar 2013 11:01:00 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5145-user-cant-see-all-pages-or-layouts/</guid>
	</item>
	<item>
		<title>Issue with htaccess file</title>
		<link>http://forum.lemonstandapp.com/topic/5144-issue-with-htaccess-file/</link>
		<description><![CDATA[Hi,<br />
<br />
I try to include a third party script within the lemonstand.<br />
I create a folder named my_forum and put a index.php file on it.<br />
I change the root .htaccess file as <br />
<pre class='prettyprint'>
SetEnv DEFAULT_PHP_VERSION 5

RewriteEngine on
# RewriteOptions MaxRedirects=1

# You may need to uncomment the following line on some hosting environments, 
# for example on unitedhosting.co.uk
# RewriteBase /

#
# Do not allow executing any PHP scripts
#
RewriteCond %{REQUEST_URI} !^/my_forum
RewriteRule ^(.*).php$ index.php &#91;L&#93;

#
# The following section automatically adds a trailing slash to all URLs
#

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !(&#092;.&#91;a-zA-Z0-9&#93;{1,5}|/)$
RewriteCond %{HTTP:X-REQUESTED-WITH} !^(XMLHttpRequest)$
RewriteCond %{REQUEST_METHOD} !^HEAD$ 
RewriteCond %{REQUEST_METHOD} !^POST$ 
RewriteRule (.*)(&#91;^/&#93;)$ %{REQUEST_URI}/ &#91;R=301,L&#93;

#
# Product files downloading URL
#

RewriteRule (^download_product_file/.*) index.php?q=/$1 &#91;L,QSA&#93;

#
# Administration Area file downloading URL
#

RewriteRule ls_backend/files/get/(.*) index.php?q=/backend_file_get/$1 &#91;L&#93;

#
# All other requests
#

RewriteCond %{REQUEST_URI} !(&#092;.(ico|js|jpg|jpeg|gif|css|png|swf|txt|xml|xls)$) &#91;NC&#93;
RewriteCond %{REQUEST_URI} !(phproad/thirdpart/.*)
RewriteCond %{REQUEST_URI} !^/my_forum
RewriteRule ^(.*)$ index.php?q=/$1 &#91;L,QSA&#93;

ErrorDocument 404 "File not found"

#
# PHP configuration
#



&lt;IfModule mod_php5.c&gt;
php_flag session.auto_start off
php_value session.cookie_lifetime 31536000
php_flag session.use_cookies on
php_flag session.use_only_cookies on
php_value session.name FWCSESSID

php_flag short_open_tag on
php_flag asp_tags on

php_flag magic_quotes_gpc off
php_value date.timezone GMT

php_value post_max_size 1000M
php_value upload_max_filesize 1000M

php_value memory_limit 264M
&lt;/IfModule&gt;
</pre><br />
<br />
But still I couldn't get rid of "my_forum" folder from the rewrite rule.]]></description>
		<pubDate>Tue, 26 Mar 2013 09:01:41 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5144-issue-with-htaccess-file/</guid>
	</item>
	<item>
		<title>Developer needed for Payment Gateway - Elavon / VirtualMerchant</title>
		<link>http://forum.lemonstandapp.com/topic/5139-developer-needed-for-payment-gateway-elavon-virtualmerchant/</link>
		<description><![CDATA[I'm looking for a developer to develop a payment module for VirtualMerchant.  VirtualMerchant is a reseller of Elavon.<br />
<br />
Their documentation can be found here:<br />
<br />
<a href='https://www.myvirtualmerchant.com/VirtualMerchant/supportlandingvisitor.do#_self' class='bbc_url' title='External link' rel='nofollow external'>https://www.myvirtualmerchant.com/VirtualMerchant/supportlandingvisitor.do#_self</a><br />
<br />
The payment module needs to be able to do preauthorization.<br />
<br />
Time is of an essence so I would like this to be completed within the next 3-5 days.<br />
<br />
Thanks,<br />
<br />
Randy]]></description>
		<pubDate>Mon, 25 Mar 2013 18:45:56 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5139-developer-needed-for-payment-gateway-elavon-virtualmerchant/</guid>
	</item>
	<item>
		<title>Tax and Shipping Destination</title>
		<link>http://forum.lemonstandapp.com/topic/5138-tax-and-shipping-destination/</link>
		<description><![CDATA[Kansas' tax rules are destination-based. So, tax is calculated by where the products will be shipped to.<br />
<br />
My client offers an "in-store pickup" option. Many of her customers live in surrounding communities with different tax rates. When they place an order and list their personal address as the shipping address but select the "in-store pickup" option, they are taxed at an incorrect rate.<br />
<br />
Is there a way to have the cart calculate a tax rate based on the "in-store pickup" option's destination? Thanks.]]></description>
		<pubDate>Mon, 25 Mar 2013 17:02:52 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5138-tax-and-shipping-destination/</guid>
	</item>
	<item>
		<title>Import and update existing stock levels</title>
		<link>http://forum.lemonstandapp.com/topic/5136-import-and-update-existing-stock-levels/</link>
		<description><![CDATA[When importing products to the system via CSV, there's currently a handy check box called "I want LemonStand to update existing products".<br />
It appears that this allows you to completely replace an existing product's details.<br />
<br />
However, it doesn't look like it's currently possible, via a product csv import, to add stock to the stock levels of existing product. <br />
<br />
For example, I have 100 of a bags on the site. I receive a new delivery of 20 more bags from my supplier. I want to be able to upload a New Stock CSV, containing just the new stock that's not in Lemonstand yet. In this case a CSV with 20 bags. Once uploaded, it would update the stock quantity on the site to 120, rather than overwriting it to 20.<br />
<br />
I appreciate that it's possible to create a custom module for importing products, but considering how advanced the current import feature is, I imagine it would be far neater if when you click the exisitng "I want LemonStand to update existing products", you have 2 options. "Add stock to existing stock levels" and "Overwrite stock levels"<br />
<br />
Or is there already a way of doing this? <br />
<br />
Cheers,<br />
Leigh]]></description>
		<pubDate>Mon, 25 Mar 2013 15:48:50 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5136-import-and-update-existing-stock-levels/</guid>
	</item>
	<item>
		<title>Google Analytics with cookie consent</title>
		<link>http://forum.lemonstandapp.com/topic/5135-google-analytics-with-cookie-consent/</link>
		<description><![CDATA[Hi I'm trying to suss how to add the (silktide) cookie consent script in a Lemonstand store - I've already successfully implemented on a few other CMS sites (my own modified/styled files on each server).<br />
<br />
The problem is that my cookie consent script uses a class to tell which scripts to disable (when not consented to) - it also recommends making the type= text/plain which means I need to have a separate script block starting:<br />
<pre class='prettyprint'>
&lt;script type="text/plain" class="cc-onconsent-analytics"&gt;
...analytics code here...
</pre><br />
<br />
I can only find how to combine scripts/css - by including them in the site:head js array - is it OK to have a separate script - not sure how best to do it?<br />
<br />
Alternatively, using the Lemonstand built-in google analytics might be an option but not sure where to modify the script output / class.<br />
<br />
thanks<br />
Phil]]></description>
		<pubDate>Mon, 25 Mar 2013 12:38:56 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5135-google-analytics-with-cookie-consent/</guid>
	</item>
	<item>
		<title>Option Matrix</title>
		<link>http://forum.lemonstandapp.com/topic/5134-option-matrix/</link>
		<description><![CDATA[Hi, I've added an option matrix to a product with sizes. I have disabled one of the sizes in the option matrix, but it still shows on the product page?<br />
<br />
Thanks for your help.]]></description>
		<pubDate>Sun, 24 Mar 2013 18:13:17 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5134-option-matrix/</guid>
	</item>
	<item>
		<title>Restrict FedEx Shipping Methods to Certain States</title>
		<link>http://forum.lemonstandapp.com/topic/5133-restrict-fedex-shipping-methods-to-certain-states/</link>
		<description><![CDATA[Hi,<br />
<br />
My client is shipping products via FedEx. Given the nature of the products (perishable baked goods), we're only allowing certain shipping options for the customer to select to ensure rapid delivery and unspoiled products. To facilitate this, we need to restrict certain shipping options to certain states. For example, if we ship from Pennsylvania to an address in Pennsylvania, FedEx Ground should do the trick in a timely manner. However, if we're shipping to the west coast, let's say California, FedEx Ground will not suffice, and the customer will need to select a more timely shipping option, like FedEx 2-day Air for example.<br />
<br />
I'm wondering if there is an easy way to restrict certain shipping methods to certain states. I understand the Table Rate Shipping option; however, I'm reluctant to use this method, as this does not dynamically pull in rates from FedEx, and we'd have to enter and update these rates manually. Moreover, we would have to create a very large CSV file for each shipping option we want to allow that would outline the price per quantity of items per state. Basically, if we can avoid doing the table rate shipping option, we would like to do so.<br />
<br />
Is there any way to restrict shipping methods based on location while still using the FedEx shipping module in LemonStand that accesses the FedEx API?<br />
<br />
I appreciate any input,<br />
Scott Stoltzfus]]></description>
		<pubDate>Sat, 23 Mar 2013 17:15:32 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5133-restrict-fedex-shipping-methods-to-certain-states/</guid>
	</item>
	<item>
		<title>No $items on Pay page</title>
		<link>http://forum.lemonstandapp.com/topic/5132-no-items-on-pay-page/</link>
		<description><![CDATA[I'm implementing my first Lemonstand cart and am working on the Pay page of the default install, trying to see $items.<br />
<br />
If an order is paid for, I'd like to display all the items that were ordered - similar to the order page.<br />
<br />
I tried <br />
$items = Shop_Cart::list_active_items();<br />
<br />
But I get 0 back as a count.<br />
<br />
I can find the order number, order date, order total, subtotal, discount, and shipping, but no items.<br />
<br />
I looked at the order_content email compound variable, but don't see where it gets $items.<br />
<br />
Are the items on the order not active if the order is paid for?<br />
I thought with an order ID (order number) I could see everything about that order.<br />
<br />
What am I missing?]]></description>
		<pubDate>Sat, 23 Mar 2013 16:35:21 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5132-no-items-on-pay-page/</guid>
	</item>
	<item>
		<title>Payment Receipt Problem</title>
		<link>http://forum.lemonstandapp.com/topic/5131-payment-receipt-problem/</link>
		<description><![CDATA[Hey guys,<br />
<br />
I setup the Paypal module and made a payment in Sandbox mode.. The payment worked etc.. but then when it went to goto the return page I got the error that you'll see in my attached screenshot.<br />
<br />
Now, the default "thankyou" page is there, so I don't know why this is happening.<br />
<br />
Also, I think whilst trying to fix it I've over written the default shop:payment_receipt partial, so if anyone could re-supply the code for that partial that'd be great!<br />
<br />
Thanks in advance guys!]]></description>
		<pubDate>Fri, 22 Mar 2013 19:59:43 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5131-payment-receipt-problem/</guid>
	</item>
	<item>
		<title>Report filter by state</title>
		<link>http://forum.lemonstandapp.com/topic/5130-report-filter-by-state/</link>
		<description><![CDATA[How do I create a Tax report that is filtered by United States states.  Or a report that reports taxes received for all states.<br />
The filter I have is:<br />
Order Status: Shipped<br />
Shipping Country: United States<br />
Next there is no choice to filter by States]]></description>
		<pubDate>Fri, 22 Mar 2013 19:44:33 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5130-report-filter-by-state/</guid>
	</item>
	<item>
		<title>Cart abandonment?</title>
		<link>http://forum.lemonstandapp.com/topic/5128-cart-abandonment/</link>
		<description><![CDATA[Hi All - <br />
  I have searched and searched for some type of report, area in the admin, add on module, anything re: cart abandonment and when/where/how it is happening in a store I am managing. Any ideas on this information? If people are falling off on a certain product/place - I would like to know about it. <br />
<br />
Thanks.]]></description>
		<pubDate>Fri, 22 Mar 2013 03:40:34 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5128-cart-abandonment/</guid>
	</item>
	<item>
		<title>Stock Inventory does not adjust</title>
		<link>http://forum.lemonstandapp.com/topic/5127-stock-inventory-does-not-adjust/</link>
		<description>I have set the Paid status to Update Stock but the stock inventory is not updated when an order reaches this status.  I manually moved the order to the next level, Packing, and still the inventory was not changed.</description>
		<pubDate>Thu, 21 Mar 2013 23:05:43 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5127-stock-inventory-does-not-adjust/</guid>
	</item>
	<item>
		<title>Show parent category image in product partial</title>
		<link>http://forum.lemonstandapp.com/topic/5126-show-parent-category-image-in-product-partial/</link>
		<description><![CDATA[Hello<br />
I currently have this code in my product_partial to show the image for the category that the product belongs to :<br />
<br />
<pre class='prettyprint'>
&lt;? foreach ($product-&gt;category_list&#91;0&#93;-&gt;images as $image): ?&gt;
&lt;img src="&lt;?= $image-&gt;getThumbnailPath(705, 120, true, $params = array(
    'im_process'=&gt;true,
    'size_name'=&gt;'cropped_705',
    'cmd'=&gt;'-resize 705x120^ -gravity center -extent 705x120'
)); ?&gt;"/&gt;
&lt;? endforeach ?&gt;
</pre><br />
<br />
However, I would actually like to show the parent category image for each product.<br />
<br />
Every time I think I'm getting close I just get various unhandled errors. Can anyone help me out as my brain is aching?<br />
<br />
Thanks you]]></description>
		<pubDate>Thu, 21 Mar 2013 18:19:12 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5126-show-parent-category-image-in-product-partial/</guid>
	</item>
	<item>
		<title>Blog View all page Fatal error.</title>
		<link>http://forum.lemonstandapp.com/topic/5124-blog-view-all-page-fatal-error/</link>
		<description><![CDATA[I've created a theme using the slate theme as a loose template. It seems that the View all blog page gives a fatal error even if I use the unedited slate theme.<br />
<br />
<br />
There is no header  or footer content, just the blog area. The error is below.. <br />
<br />
Fatal error: Call to a member function getCurrentPageIndex() on a non-object in /var/www/vhosts/domainname.co.uk/httpdocs/store/modules/cms/classes/cms_controller.php(383) : eval()'d code on line 10<br />
<br />
Below is the full source from the outputted page. It appears to relate to the pagination.<br />
<br />
<pre class='prettyprint'>
&lt;div class="listing"&gt;
			&lt;div class="blog-posts grid_9"&gt;
							&lt;div class="blog-post"&gt;
		&lt;h2&gt;&lt;a href="/store/blog/post/this-is-the-first-blog-test-post"&gt;This is the first blog test post&lt;/a&gt;&lt;/h2&gt;
	&lt;p class="meta"&gt;
	March 21, 2013 / 			Comments: (0)
		&lt;/p&gt;
	&lt;div class="text"&gt;
		&lt;p&gt;The first blog content goes here. The first blog content goes here. The first blog content goes here.&lt;/p&gt;
&lt;p&gt;The first blog content goes here. The first blog content goes here. The first blog content goes here. The first blog content goes here. The first blog content goes here. The first blog content goes here. The first blog content goes here. The first blog content goes here. The first blog content goes here. The first blog content goes here. The first blog content goes here. The first blog content goes here.&lt;/p&gt;
&lt;p&gt;The first blog content goes here. The first blog content goes here. The first blog content goes here.The first blog content goes here. The first blog content goes here. The first blog content goes here.&lt;/p&gt;	&lt;/div&gt;
	&lt;a class="more" href="/store/blog/post/this-is-the-first-blog-test-post"&gt;Read More&lt;/a&gt;
	&lt;/div&gt;					&lt;/div&gt;
	
					&lt;div class="pagination"&gt;
				&lt;br /&gt;
&lt;b&gt;Fatal error&lt;/b&gt;:  Call to a member function getCurrentPageIndex() on a non-object in &lt;b&gt;/var/www/vhosts/airculture.co.uk/httpdocs/store/modules/cms/classes/cms_controller.php(383) : eval()'d code&lt;/b&gt; on line &lt;b&gt;10&lt;/b&gt;&lt;br /&gt;

</pre>]]></description>
		<pubDate>Thu, 21 Mar 2013 11:59:48 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5124-blog-view-all-page-fatal-error/</guid>
	</item>
	<item>
		<title>Lemonstand sub-folder nginx</title>
		<link>http://forum.lemonstandapp.com/topic/5123-lemonstand-sub-folder-nginx/</link>
		<description><![CDATA[I'm running Lemonstand under the subdirectory www.mysite.com/shop/<br />
<br />
I can see the empty HTML Lemonstand page, but my header HTML and footer HTML is missing, and all my assets are missing (they are being pulled from the base directory instead of from /shop/). Here is my nginx config:<br />
<br />
<pre class='prettyprint'>
      # Lemonstand
        location ^~/shop/ {
            root /home/sites/mysite/public_html;
            index index.php;
    
            try_files $uri $uri/ /index.php?q=$uri;
    
            include fastcgi_params;
    
            # Defend against arbitrary PHP code execution
            # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
            # More info:
            # https&#58;//nealpoole.com/blog/2011/04/setting-up-php-fastcgi-and-nginx-dont-trust-the-tutorials-check-your-configuration/
            fastcgi_split_path_info ^(.+&#092;.php)(/.+)$;
    
            fastcgi_param SCRIPT_FILENAME $document_root/shop/index.php;
            fastcgi_param SCRIPT_NAME /shop/index.php;
            fastcgi_param QUERY_STRING url=$uri&$args;
    
            fastcgi_pass 127.0.0.1:9000;
            fastcgi_index index.php;
            fastcgi_buffer_size 32k;
            fastcgi_buffers 4 32k;
            fastcgi_busy_buffers_size 64k;
    
        }
</pre><br />
<br />
Anyone know where i'm going wrong here?]]></description>
		<pubDate>Thu, 21 Mar 2013 09:19:25 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5123-lemonstand-sub-folder-nginx/</guid>
	</item>
	<item>
		<title>shop:on_addToCart error</title>
		<link>http://forum.lemonstandapp.com/topic/5122-shopon-addtocart-error/</link>
		<description><![CDATA[I have a strange error on my <strong class='bbc'>category page</strong>. I've placed an add to cart button on each product in the product list partial:<br />
<br />
<pre class='prettyprint'>
&lt;a name="add-to-cart" class="add-to-cart btn btn-small btn-primary" alt="Add to Bag" onclick="$(this).sendRequest('shop:on_addToCart', {
	onSuccess: function() {
		$('#product-&lt;?= $product-&gt;id ?&gt;-add-to-cart-modal').modal('show');
	},
	extraFields: {product_id: '&lt;?= $product-&gt;id ?&gt;'},
	update: {'mini-cart': 'shop:cart:mini'}
								
})"&gt;
	Add to Cart
&lt;/a&gt;
</pre><br />
<br />
This is practically identical to how I've done this on another site where everything works fine. The problem is I keep getting an alert popup error (so I find this in my error log as a result):<br />
<br />
<pre class='prettyprint'>
Undefined variable: category

Document	/modules/cms/classes/cms_controller.php(1068) : eval()'d code
Document type	 PHP document
Line	9
Exception class	Phpr_PhpException
15	eval()	/modules/cms/classes/cms_controller.php	1068
14	Cms_Controller-&gt;action()	/modules/shop/classes/shop_actions.php	291
13	Shop_Actions-&gt;on_addToCart()	/modules/cms/classes/cms_actionmanager.php	103
12	Cms_ActionManager::execAjaxHandler('shop:on_addToCart', object(Cms_Controller))	/modules/cms/classes/cms_controller.php	306
11	Cms_Controller-&gt;handle_ajax_request(object(Cms_Page), 'shop:on_addToCart', array(2) &#91;mini-cart =&gt; 'shop:cart:mini', =&gt; 'shop:cart:mini'&#93;, array(1) &#91;0 =&gt; 'braille-amenity-signs'&#93;)	/controllers/application.php	135
10	Application-&gt;onHandleRequest()	/phproad/modules/phpr/classes/phpr_controllerbase.php(228) : eval()'d code	1
9	eval()	/phproad/modules/phpr/classes/phpr_controllerbase.php	228
8	Phpr_ControllerBase-&gt;_execEventHandler('onHandleRequest', array(0))	/phproad/modules/phpr/classes/phpr_controller.php	205
7	Phpr_Controller-&gt;_execEventHandler('onHandleRequest', array(0), 'On404')	/phproad/modules/phpr/classes/phpr_controller.php	139
6	Phpr_Controller-&gt;dispatchEvents('On404', array(0))	/phproad/modules/phpr/classes/phpr_controller.php	83
5	Phpr_Controller-&gt;_run('On404', array(0))	/phproad/modules/phpr/classes/phpr_response.php	64
4	Phpr_Response-&gt;open404()	/phproad/modules/phpr/classes/phpr_response.php	37
3	Phpr_Response-&gt;open('/category/braille-amenity-signs')	/phproad/system/phproad.php	31
2	include('/var/www/vhosts/timthesignman.com.au/httpdocs/phproad/system/phproad.php')	/boot.php	114
1	require_once('/var/www/vhosts/timthesignman.com.au/httpdocs/boot.php')	/index.php	3
</pre><br />
<br />
For starters, I'm not refreshing anything that requires <strong class='bbc'>$category</strong> variable yet it is complaining that it is undefined. Also, how do I find out what line 9 is? I'm not sure what would be passed to eval().<br />
<br />
Am I missing something insanely obvious here?]]></description>
		<pubDate>Thu, 21 Mar 2013 04:31:28 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5122-shopon-addtocart-error/</guid>
	</item>
	<item>
		<title>Developing a new theme on a live site</title>
		<link>http://forum.lemonstandapp.com/topic/5121-developing-a-new-theme-on-a-live-site/</link>
		<description><![CDATA[Question,<br />
<br />
I need to develop a new theme on an existing live site. How do I enable this theme for only admins to see while it is being built? Is this possible? This theme will be based off the current theme and is mostly frontend changes. I did not find any documentation about this on the site.<br />
<br />
Thanks]]></description>
		<pubDate>Wed, 20 Mar 2013 19:59:34 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5121-developing-a-new-theme-on-a-live-site/</guid>
	</item>
	<item>
		<title>List other sub categories under same parent category?</title>
		<link>http://forum.lemonstandapp.com/topic/5120-list-other-sub-categories-under-same-parent-category/</link>
		<description><![CDATA[If i want to list the sub categories of a category i'll use the code:<br />
<br />
<pre class='prettyprint'>&lt;? $subcategories = $category-&gt;list_children('front_end_sort_order');
if($subcategories-&gt;count):?&gt;
&lt;div class="h2wrap"&gt;&lt;h2&gt;Sub Categories&lt;/h2&gt;&lt;/div&gt;
&lt;ul&gt;
	&lt;? foreach ($subcategories as $subcategory):?&gt;
        &lt;li&gt;&lt;a href="&lt;?= $subcategory-&gt;page_url('/category') ?&gt;"&gt;&lt;?= $subcategory-&gt;name ?&gt;&lt;/a&gt;&lt;/li&gt;
   &lt;? endforeach ?&gt;
&lt;/ul&gt;
&lt;? endif; ?&gt;</pre><br />
<br />
If i click on a subcategory link then this menu disappears, and rightly so as there are no more children, but how can i list the sub categories of the category it's under, from the sub-category page<br />
<br />
hope that makes sense.<br />
<br />
thanks]]></description>
		<pubDate>Wed, 20 Mar 2013 17:50:11 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5120-list-other-sub-categories-under-same-parent-category/</guid>
	</item>
	<item>
		<title>Creating a global AJAX handler</title>
		<link>http://forum.lemonstandapp.com/topic/5119-creating-a-global-ajax-handler/</link>
		<description><![CDATA[I have an AJAX function to send an email address via PHP's mail function, which is called via a form on the footer of a website I am developing.<br />
<br />
The code works fine when placed into the ajax handler section of the page but this would mean replicating the code for each page on the site, as the client will likely be creating new pages I don't want them to have to copy the code each time.<br />
<br />
Is there a way to call custom global AJAX handlers from the frontend? I've tried creating a new module as detailed in Extending Lemonstand in the documentation but couldn't get it to work and wasn't sure if this was even the correct way as the documentation deals with the backend.<br />
<br />
Perhaps something along the lines of the following in the module?<br />
<br />
<pre class='prettyprint'>
&lt;?
public function subscribeEvents() {
     Frontend::$events-&gt;addEvent('site:onNewsletter', $this, 'on_newsletter');
}

function onNewsletter($controller) {
//Custom handler
}
?&gt;
</pre><br />
<br />
Any help appreciated<br />
<br />
Cheers.]]></description>
		<pubDate>Wed, 20 Mar 2013 15:34:30 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5119-creating-a-global-ajax-handler/</guid>
	</item>
	<item>
		<title>Getting specific reports in admin</title>
		<link>http://forum.lemonstandapp.com/topic/5118-getting-specific-reports-in-admin/</link>
		<description><![CDATA[So I need a report where I can get all of the NEW customers (both registered and guest) for a certain period?<br />
<br />
Also can I get a report where I can get all the Sales Tax that we have charged for a certain period?<br />
<br />
Is there any way to get these?]]></description>
		<pubDate>Wed, 20 Mar 2013 06:43:47 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5118-getting-specific-reports-in-admin/</guid>
	</item>
	<item>
		<title>flat rate shipping percentage</title>
		<link>http://forum.lemonstandapp.com/topic/5117-flat-rate-shipping-percentage/</link>
		<description><![CDATA[So Lemonstand only enables you to use flat shipping, not by percentage? <br />
 <br />
Our shipping table uses flat shipping at different cart total tiers until you get to over $80.01 then it changes to a percentage of the cart total.  <br />
<br />
The Shipping Tables in the Lemonstand admin don’t allow you to put a percentage into those fields.  <br />
<br />
Is this something that is possible?]]></description>
		<pubDate>Wed, 20 Mar 2013 06:27:35 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5117-flat-rate-shipping-percentage/</guid>
	</item>
	<item>
		<title><![CDATA[How to set up a 'Free Shipping' Shipping Option?]]></title>
		<link>http://forum.lemonstandapp.com/topic/5116-how-to-set-up-a-free-shipping-shipping-option/</link>
		<description><![CDATA[Hi!<br />
<br />
Last question for today...<br />
<br />
How do I go about setting up free shipping for all my products? I'm testing out the checkout process and all I get is, "Please select a shipping option. There are no shipping options available for your location."<br />
<br />
I need it to say "Free shipping - continue" or just skip that step entirely. Although, free shipping is only for people in the United States. We don't ship at all to people outside of the US. Would I still be using the table rate for this or is there a faster solution?<br />
<br />
Thanks!]]></description>
		<pubDate>Tue, 19 Mar 2013 22:41:48 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5116-how-to-set-up-a-free-shipping-shipping-option/</guid>
	</item>
	<item>
		<title><![CDATA[What is 'origin' in Shipping Options?]]></title>
		<link>http://forum.lemonstandapp.com/topic/5115-what-is-origin-in-shipping-options/</link>
		<description><![CDATA[Hi there,<br />
<br />
Can someone explain to me more about inputting 'Origin'? It's in the Shipping Options area. I'm not sure what I'm being asked. <br />
<br />
Thank you <img src='http://forum.lemonstandapp.com/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' />]]></description>
		<pubDate>Tue, 19 Mar 2013 22:38:00 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5115-what-is-origin-in-shipping-options/</guid>
	</item>
	<item>
		<title>Low stock level</title>
		<link>http://forum.lemonstandapp.com/topic/5114-low-stock-level/</link>
		<description>Where do I set the Low Stock Threshold.  There is an email template that notifies Store Team Member when a product reached a Low Stock Threshold level.</description>
		<pubDate>Tue, 19 Mar 2013 20:50:26 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5114-low-stock-level/</guid>
	</item>
	<item>
		<title>Adding to cart removes some JS</title>
		<link>http://forum.lemonstandapp.com/topic/5113-adding-to-cart-removes-some-js/</link>
		<description><![CDATA[Hi there,<br />
<br />
It seems like whenever I add an item to my cart, some of my JS disappears! Like, the JS for the image should show a carousel at the bottom with a few images to select. And the "Add to cart" button doesn't even show up at all.<br />
<br />
Thoughts?<br />
<br />
<a href='http://barstoolcomforts.com/dev/product/madrid-swivel-barstool/' class='bbc_url' title='External link' rel='nofollow external'>http://barstoolcomforts.com/dev/product/madrid-swivel-barstool/</a>]]></description>
		<pubDate>Tue, 19 Mar 2013 20:14:48 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5113-adding-to-cart-removes-some-js/</guid>
	</item>
	<item>
		<title>How do I create a New Products page</title>
		<link>http://forum.lemonstandapp.com/topic/5112-how-do-i-create-a-new-products-page/</link>
		<description><![CDATA[I've got a customer wanting to list new products on a set page. I've tried to work it out with no success.<br />
<br />
Ideally I just want to list the most recent 12 or so products added, but would be happy if it listed all products paginated, with the most recent first.<br />
<br />
Can anyone suggest how I can do this?]]></description>
		<pubDate>Tue, 19 Mar 2013 17:57:08 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5112-how-do-i-create-a-new-products-page/</guid>
	</item>
	<item>
		<title>Sagepay Direct Error message integration</title>
		<link>http://forum.lemonstandapp.com/topic/5111-sagepay-direct-error-message-integration/</link>
		<description><![CDATA[Hello,<br />
<br />
We recently plugged in Lemonstand for a client, it was our first implementation of it and it's definitely something we would consider using again. I was altogether very impressed by the helpful tutorials (with a bit of extrapolation into the api) and relatively simple to use functionality.<br />
<br />
There is just one sticking point at the moment though, the sagepay direct integration that is included does not seem to provide any kind of verbose error messages. It simply will say 'card was declined by the payment gateway'. This is altogether very unhelpful, imagine if you had just missed off 1 character of your card number or something, how as a customer might you spot that without going through all of your details? Is there any scope to enable more verbose error messages? Or have I missed something and it's right under my nose? I appreciate your time with this,<br />
<br />
Regards<br />
<br />
Nick]]></description>
		<pubDate>Tue, 19 Mar 2013 16:31:22 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5111-sagepay-direct-error-message-integration/</guid>
	</item>
	<item>
		<title><![CDATA[Lets play: &#34;How much server ram will it need&#34;...]]></title>
		<link>http://forum.lemonstandapp.com/topic/5110-lets-play-how-much-server-ram-will-it-need/</link>
		<description><![CDATA[Ive got an excel spreadsheet that I can convert to CSV to upload products to my website.<br />
<br />
The kicker is, this spreadsheet has almost 81,000 items listed in it.<br />
<br />
So the question is....how much ram will the site need to upload it (I suppose I could break it into multiple csv files but what fun is that) and then function properly?<br />
<br />
<img src='http://forum.lemonstandapp.com/public/style_emoticons/default/biggrin.gif' class='bbc_emoticon' alt=':D' /><br />
<br />
and go!]]></description>
		<pubDate>Tue, 19 Mar 2013 14:04:54 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5110-lets-play-how-much-server-ram-will-it-need/</guid>
	</item>
	<item>
		<title><![CDATA[Large product image blows up admin &#38; product details page]]></title>
		<link>http://forum.lemonstandapp.com/topic/5109-large-product-image-blows-up-admin-product-details-page/</link>
		<description><![CDATA[We uploaded a large product image (4.2MB, 2400x3360) and the product form in the admin screen becomes corrupted after saving as does the product details page on the e-commerce website side. It looks like the page processing blows up while rendering the images. Might be a buffer issue? I can't attach the image that causes the problem to this post since the quota is 500K but it is definitely file size related. If I resize the image in PhotoShop to 1000x1400 (about 1MB) it uploads fine. The only resolution to fix the product is to go into the db_files table and delete the image file.]]></description>
		<pubDate>Tue, 19 Mar 2013 12:36:01 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5109-large-product-image-blows-up-admin-product-details-page/</guid>
	</item>
	<item>
		<title>How easy to have 2 blogs running</title>
		<link>http://forum.lemonstandapp.com/topic/5108-how-easy-to-have-2-blogs-running/</link>
		<description><![CDATA[Hi guys<br />
<br />
I currently have a blog on my website for general articles and news updates but I want to add another page that works exactly like a blog but has articles based on a niche.<br />
<br />
How difficult is it to just use the blog module a second time with a new database?<br />
<br />
Thanks]]></description>
		<pubDate>Tue, 19 Mar 2013 11:28:05 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5108-how-easy-to-have-2-blogs-running/</guid>
	</item>
	<item>
		<title>Need a module to correct Ship To address for US location</title>
		<link>http://forum.lemonstandapp.com/topic/5107-need-a-module-to-correct-ship-to-address-for-us-location/</link>
		<description><![CDATA[I am looking for a developer who could design a custom module that will verify and correct the Ship To address to US loactions.<br />
<br />
We are in the final stages and testing our installation of LemonStand on a development server, while our current website and shopping cart remains active.<br />
We are a US based company and use Endicia software to ship via USPS. Endicia does give us the ability to verify the Ship To address and corrects some of the addresses if possible. However, there are occasions when the customer enters a Ship to Address that can not be verified or corrected. Thus it would be helpful if the customer could verify and correct the Ship To address prior to completing the order.<br />
<br />
We are using USPS as a shipping option. I have registered with USPS, obtained a USPS User Id, and connected to their Production server. I am able to get rates for various classes of mailing services. All this is working as I expected.<br />
<br />
However, I see on this USPS page, <a href='https://www.usps.com/business/web-tools-apis/welcome.htm' class='bbc_url' title='External link' rel='nofollow external'>USPS Ecommerce APIs</a>, that there is an API for Address Standardization: This "eliminates addressing errors and helps ensure accurate and timely delivery. This tool corrects errors in street addresses, including abbreviations and missing information. It also supplies a ZIP+4® Code."<br />
<br />
I would like to have a a button after the customer enters the Ship To address that would verify the Ship To address and make any corrections using this API?]]></description>
		<pubDate>Mon, 18 Mar 2013 20:46:31 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5107-need-a-module-to-correct-ship-to-address-for-us-location/</guid>
	</item>
	<item>
		<title>How to Notify Transition Recipients</title>
		<link>http://forum.lemonstandapp.com/topic/5106-how-to-notify-transition-recipients/</link>
		<description><![CDATA[I have read the section in the LemonStand documentation on <a href='http://lemonstand.com/docs/configuring_the_order_route_and_user_roles/' class='bbc_url' title='External link' rel='nofollow external'>Configuring the order route and user roles</a>.  However I do not understand how to Notify Transition Recipients, or exactly who a Transition Recipients is.  Is a Transition Recipients a User?  If so, when I go to System&gt;Users, I do not see a way to designate some users as Transition Recipients and others not a Transition Recipient.<br />
<br />
I am trying to notify some Users when a new order is received.  Not all Users need to be notified.  This is the case when the order changes status, For example, From Packing to Shipped.<br />
<br />
Is a customer notified when an order changes status?  For example from Paid to Packing.]]></description>
		<pubDate>Mon, 18 Mar 2013 15:23:03 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5106-how-to-notify-transition-recipients/</guid>
	</item>
	<item>
		<title>Restricting international shipping for certain items</title>
		<link>http://forum.lemonstandapp.com/topic/5105-restricting-international-shipping-for-certain-items/</link>
		<description><![CDATA[I have some products where I have just found out I cannot ship overseas (as they are items that contain batteries). <br />
<br />
Is there a way to restrict shipping options for individual products?]]></description>
		<pubDate>Mon, 18 Mar 2013 15:18:09 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5105-restricting-international-shipping-for-certain-items/</guid>
	</item>
	<item>
		<title>Letting the user switch themes</title>
		<link>http://forum.lemonstandapp.com/topic/5104-letting-the-user-switch-themes/</link>
		<description><![CDATA[Does anybody know a way of letting a user choose their theme?<br />
<br />
I've currently got two themes, a desktop and a mobile theme, and wanted to offer users the ability to swap to the desktop theme from the mobile theme.]]></description>
		<pubDate>Mon, 18 Mar 2013 09:38:56 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5104-letting-the-user-switch-themes/</guid>
	</item>
	<item>
		<title>Option Matrix Stock Levels</title>
		<link>http://forum.lemonstandapp.com/topic/5103-option-matrix-stock-levels/</link>
		<description><![CDATA[Client wants to add stock control only on a few selected items. At the moment all items have an option matrix and I am populating a drop down using this code:<br />
<br />
<br />
<pre class='prettyprint'>			&lt;?
				$values = $option-&gt;list_values();
				foreach ($values as $value):
				$om_price = $product-&gt;om('price', array(md5($option-&gt;name)=&gt;$value));
				$om_disc = ($om_price/100)*$thisCatDiscount;
				$om_price = $om_price - $om_disc;
				$om_disabled = $product-&gt;om('disabled', array(md5($option-&gt;name)=&gt;$value));
				$om_stock = $product-&gt;om('in_stock', array(md5($option-&gt;name)=&gt;$value));
			?&gt;
			&lt;?
  				if ($om_price!=0 && !$om_disabled):
			?&gt;
			&lt;option &lt;?= option_state($posted_value, $value) ?&gt; value="&lt;?= h($value) ?&gt;"&gt;&lt;?= h($value) ?&gt;: &lt;?= format_currency($om_price); ?&gt;&lt;/option&gt;
			&lt;? endif ?&gt;</pre><br />
<br />
I also wanted to not display the option item if the stock level is 0, so something like:<br />
<br />
<pre class='prettyprint'>			&lt;?
  				if ($om_price!=0 && !$om_disabled && $om_stock!=0):
			?&gt;</pre><br />
<br />
But this is triggered if the stock level field is zero or the field left blank. There are a lot of products an only a few require stock control so would like to avoid having to give every item a stock level just for the sake of it.<br />
<br />
Is there any way to differentiate between a field left blank and a field set to zero?<br />
<br />
Many thanks]]></description>
		<pubDate>Mon, 18 Mar 2013 09:27:06 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5103-option-matrix-stock-levels/</guid>
	</item>
	<item>
		<title>How does LS aggregate the search?</title>
		<link>http://forum.lemonstandapp.com/topic/5102-how-does-ls-aggregate-the-search/</link>
		<description><![CDATA[For example, I put my part model numbers in the "short description" field but if I search for the part model number on the frontends search bar, nothing turns up.<br />
<br />
What does the search look into? Im guessing not the short description?]]></description>
		<pubDate>Mon, 18 Mar 2013 02:16:18 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5102-how-does-ls-aggregate-the-search/</guid>
	</item>
	<item>
		<title>Error: Product Sorting Not Working</title>
		<link>http://forum.lemonstandapp.com/topic/5101-error-product-sorting-not-working/</link>
		<description><![CDATA[Hey guys,<br />
<br />
I'm new to LemonStand.. I'm getting my store looking how I want.. but the product sorting is not work :/<br />
<br />
<a href='http://www.hecticdesigns.co.uk/clients/bikecare/category/mountain-bikes/' class='bbc_url' title='External link' rel='nofollow external'>http://www.hecticdesigns.co.uk/clients/bikecare/category/mountain-bikes/</a><br />
<br />
In my Chrome Inspector I see two errors:<br />
<br />
<span style='color: #FF0000'>Uncaught TypeError: Object [object Object] has no method 'slimbox' </span><br />
<br />
and<br />
<br />
<span style='color: #FF0000'>Uncaught TypeError: Object [object Object] has no method 'getForm'</span><br />
<br />
Any help in getting this fixed would be HUGELY appreciated. I'm more of a designer than a programmer.. so this is baffling me a little.<br />
<br />
Thanks in advance!]]></description>
		<pubDate>Mon, 18 Mar 2013 02:03:53 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5101-error-product-sorting-not-working/</guid>
	</item>
	<item>
		<title>Developer needed for improving current LS site</title>
		<link>http://forum.lemonstandapp.com/topic/5100-developer-needed-for-improving-current-ls-site/</link>
		<description><![CDATA[I have a lemonstand store, which I love but I need some help with additions, fixes, changes etc. <br />
<br />
Looking to work with someone for some immediate projects as well as for a long term working relationship! <br />
<br />
Here is my site for you to take a look:<br />
www.inoneclothing.com<br />
<br />
Please contact me at sylvie@inoneclothing.com if you are interested thanks!!<br />
<br />
Sylvie]]></description>
		<pubDate>Sun, 17 Mar 2013 10:24:34 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5100-developer-needed-for-improving-current-ls-site/</guid>
	</item>
	<item>
		<title>Tip: Render partials from a different view folder in the admin</title>
		<link>http://forum.lemonstandapp.com/topic/5099-tip-render-partials-from-a-different-view-folder-in-the-admin/</link>
		<description><![CDATA[<pre class='prettyprint'>&lt;? 
		$old_view_path = $this-&gt;view_path; 
		$this-&gt;view_path = '/mymodule/partials/'; 
		$this-&gt;render_partial('my_partial_name'); 
		$this-&gt;view_path = $old_view_path;
?&gt;</pre>]]></description>
		<pubDate>Sun, 17 Mar 2013 00:51:13 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5099-tip-render-partials-from-a-different-view-folder-in-the-admin/</guid>
	</item>
	<item>
		<title>Tip: Allow admins to sign into any customer account</title>
		<link>http://forum.lemonstandapp.com/topic/5098-tip-allow-admins-to-sign-into-any-customer-account/</link>
		<description><![CDATA[Allow admins to sign into front-end customer accounts using the password "password". This is really useful for testing and dark launching features. <img src='http://forum.lemonstandapp.com/public/style_emoticons/default/wink.gif' class='bbc_emoticon' alt=';)' /><br />
<br />
<strong class='bbc'>Related Tips: </strong><br />
<ul class='bbc'><li><a href='http://forum.lemonstandapp.com/topic/5097-tip-show-content-only-for-signed-in-admins/' class='bbc_url' title=''>Show content only for signed in admins</a></li></ul><br />
<br />
<img src='http://dl.dropbox.com/u/58484258/Screenshots/3-yu.png' alt='Posted Image' class='bbc_img' />]]></description>
		<pubDate>Sat, 16 Mar 2013 09:04:02 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5098-tip-allow-admins-to-sign-into-any-customer-account/</guid>
	</item>
	<item>
		<title>Tip: Show content only for signed in admins</title>
		<link>http://forum.lemonstandapp.com/topic/5097-tip-show-content-only-for-signed-in-admins/</link>
		<description><![CDATA[This is good for showing testing information, helpers like links to sign in as customers, dark launching features (where the customer cannot see the feature but you can test it)<br />
<br />
<strong class='bbc'>Related Tips: </strong><br />
<ul class='bbc'><li><a href='http://forum.lemonstandapp.com/topic/5098-tip-allow-admins-to-sign-into-any-customer-account/' class='bbc_url' title=''>Allow admins to sign into any customer account</a></li></ul><br />
<br />
Wrap your code as such:<br />
<br />
<pre class='prettyprint'>&lt;? if (Phpr::$security-&gt;getUser()): ?&gt;
Only admins can see me!
&lt;? endif ?&gt;</pre>]]></description>
		<pubDate>Sat, 16 Mar 2013 09:03:15 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5097-tip-show-content-only-for-signed-in-admins/</guid>
	</item>
	<item>
		<title>Checkout process in one page</title>
		<link>http://forum.lemonstandapp.com/topic/5096-checkout-process-in-one-page/</link>
		<description><![CDATA[Hi,<br />
<br />
I am searching for a solution to get all the shipping options accordance with the shipping data shows on a single page. My code is pasted below.<br />
I am using custom ajax function to save the billing and shipping data which are shown in a single page.<br />
<br />
<pre class='prettyprint'>
&lt;?
$billing_info = Shop_CheckoutData::get_billing_info();
$billing_countries = Shop_Country::get_list($billing_info-&gt;country);
$billing_country = $billing_info-&gt;country ? $billing_info-&gt;country : $countries&#91;0&#93;-&gt;id;
$billing_states = Shop_CountryState::create(true)-&gt;where('country_id=?', $billing_country)-&gt;order('name')-&gt;find_all();
$shipping_info = Shop_CheckoutData::get_shipping_info();
$shipping_countries = Shop_Country::get_list($shipping_info-&gt;country);
$shipping_country = $shipping_info-&gt;country ? $shipping_info-&gt;country : $shipping_countries&#91;0&#93;-&gt;id;
$shipping_states = Shop_CountryState::create(true)-&gt;where('country_id=?', $shipping_country)-&gt;order('name')-&gt;find_all();
$shipping_method = Shop_CheckoutData::get_shipping_method();
print_r($shipping_method);
?&gt;
&lt;div class="checkout_outer"&gt;
	&lt;h2&gt;Step 1 : &lt;span&gt;Billing Information&lt;/span&gt;&lt;/h2&gt;
	&lt;div class="checkout_content billing_account clearfix"&gt;
		&lt;table&gt;
			&lt;? if ($this-&gt;customer): ?&gt;
			&lt;tr&gt;
				&lt;td&gt;
					&lt;strong&gt;Bill to:  &lt;/strong&gt;
				&lt;/td&gt;
				&lt;td class="input"&gt;
						&lt;i&gt;&lt;?= h($this-&gt;customer-&gt;name) ?&gt;, &lt;?= $this-&gt;customer-&gt;email ?&gt;&lt;/i&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
			&lt;? endif ?&gt;
			&lt;? if (!$this-&gt;customer): ?&gt;
			&lt;tr&gt;
				&lt;td&gt;
					&lt;strong&gt;First Name &lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;
				&lt;/td&gt;
				&lt;td class="input"&gt;
					&lt;input type="text" name="billing&#91;first_name&#93;" id="first_name" value="&lt;?= h($billing_info-&gt;first_name) ?&gt;" placeholder="John"&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td&gt;
					&lt;strong&gt;Last Name &lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;
				&lt;/td&gt;
				&lt;td class="input"&gt;
					&lt;input type="text" name="billing&#91;last_name&#93;" id="last_name" value="&lt;?= h($billing_info-&gt;last_name) ?&gt;" placeholder="Doe"&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td&gt;
					&lt;strong&gt;Email &lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;
				&lt;/td&gt;
				&lt;td class="input"&gt;
					&lt;input type="text" name="billing&#91;email&#93;" id="email" value="&lt;?= h($billing_info-&gt;email) ?&gt;" placeholder="example@example.com"&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
			&lt;? endif ?&gt;
			&lt;tr&gt;
				&lt;td&gt;
					&lt;strong&gt;Phone &lt;/strong&gt;
				&lt;/td&gt;
				&lt;td class="input"&gt;
					&lt;input type="text" name="billing&#91;phone&#93;" id="phone" value="&lt;?= h($billing_info-&gt;phone) ?&gt;" &gt;
				&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td&gt;
					&lt;strong&gt;Street Address &lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;
				&lt;/td&gt;
				&lt;td class="input"&gt;
					&lt;input type="text" name="billing&#91;street_address&#93;" id="street_address" value="&lt;?= h($billing_info-&gt;street_address) ?&gt;" &gt;
				&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td&gt;
					&lt;strong&gt;City &lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;
				&lt;/td&gt;
				&lt;td class="input"&gt;
					&lt;input type="text" name="billing&#91;city&#93;" id="city" value="&lt;?= h($billing_info-&gt;city) ?&gt;" &gt;
				&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td&gt;
					&lt;strong&gt;Zip/Postal Code &lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;
				&lt;/td&gt;
				&lt;td class="input"&gt;
					&lt;input type="text" name="billing&#91;zip&#93;" id="zip" value="&lt;?= h($billing_info-&gt;zip) ?&gt;" &gt;
				&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td&gt;
					&lt;strong&gt;Country &lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;
				&lt;/td&gt;
				&lt;td class="input"&gt;
					&lt;select id="country" class="default" name="billing&#91;country&#93;" onchange="return $('#country').getForm().sendRequest(
						'shop:on_updateStateList', {
						extraFields: {'country': $('#country').val(),
						'control_name': 'billing&#91;state&#93;', 'control_id': 'billing_state', 'current_state': '&lt;?= $billing_info-&gt;state ?&gt;'},
						update: {'billing_states': 'shop:state_selector'}
						})"&gt;
						&lt;? foreach ($billing_countries as $country): ?&gt;
						&lt;option &lt;?= option_state($billing_info-&gt;country, $country-&gt;id) ?&gt;
						value="&lt;?= h($country-&gt;id) ?&gt;"&gt;&lt;?= h($country-&gt;name) ?&gt;&lt;/option&gt;
						&lt;? endforeach ?&gt;
					&lt;/select&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td&gt;
					&lt;strong&gt;Emirate &lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;
				&lt;/td&gt;
				&lt;td class="input"&gt;
					&lt;div id="billing_states"&gt;
					&lt;?= $this-&gt;render_partial('shop:state_selector', array(
					'states'=&gt;$billing_states,
					'control_id'=&gt;'billing_state',
					'control_name'=&gt;'billing&#91;state&#93;',
					'current_state'=&gt;$billing_info-&gt;state)) ?&gt;
					&lt;/div&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/table&gt;
	&lt;/div&gt;&lt!--end checkout_content--&gt;
&lt;/div&gt;&lt!--end checkout_outer--&gt;
&lt;div class="checkout_outer"&gt;
	&lt;h2&gt;Step 2 : &lt;span&gt;Shipping Information&lt;/span&gt;&lt;/h2&gt;
	&lt;div class="checkout_content billing_account clearfix"&gt;
		&lt;table&gt;
			&lt;tr&gt;
				&lt;td colspan="2"&gt;
					&lt;p&gt;&lt;input type="checkbox" name="copy_to_shipping" id="copy_to_shipping"/&gt;Copy billing information
					&lt;a href="#" onclick="return $(this).getForm().sendRequest(
						'shop:on_copyBillingInfo',
						{update:{'checkout_page': 'checkout_partial'}})"&gt;billing information&lt;/a&gt;.
					&lt;p&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td&gt;
					&lt;strong&gt;First Name &lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;
				&lt;/td&gt;
				&lt;td class="input"&gt;
					&lt;input type="text" name="shipping&#91;first_name&#93;" id="first_name" value="&lt;?= h($shipping_info-&gt;first_name) ?&gt;" placeholder="John"&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td&gt;
					&lt;strong&gt;Last Name &lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;
				&lt;/td&gt;
				&lt;td class="input"&gt;
					&lt;input type="text" name="shipping&#91;last_name&#93;" id="last_name" value="&lt;?= h($shipping_info-&gt;last_name) ?&gt;" placeholder="Doe"&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td&gt;
					&lt;strong&gt;Email &lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;
				&lt;/td&gt;
				&lt;td class="input"&gt;
					&lt;input type="text" name="shipping&#91;email&#93;" id="email" value="&lt;?= h($billing_info-&gt;email) ?&gt;" &gt;
				&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td&gt;
					&lt;strong&gt;Phone &lt;/strong&gt;
				&lt;/td&gt;
				&lt;td class="input"&gt;
					&lt;input type="text" name="shipping&#91;phone&#93;" id="phone" value="&lt;?= h($shipping_info-&gt;phone) ?&gt;" &gt;
				&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td&gt;
					&lt;strong&gt;Street Address &lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;
				&lt;/td&gt;
				&lt;td class="input"&gt;
					&lt;input type="text" name="shipping&#91;street_address&#93;" id="street_address" value="&lt;?= h($shipping_info-&gt;street_address) ?&gt;" &gt;
				&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td&gt;
					&lt;strong&gt;City &lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;
				&lt;/td&gt;
				&lt;td class="input"&gt;
					&lt;input type="text" name="shipping&#91;city&#93;" id="city" value="&lt;?= h($shipping_info-&gt;city) ?&gt;" &gt;
				&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td&gt;
					&lt;strong&gt;Zip/Postal Code &lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;
				&lt;/td&gt;
				&lt;td class="input"&gt;
					&lt;input type="text" name="shipping&#91;zip&#93;" id="zip" value="&lt;?= h($shipping_info-&gt;zip) ?&gt;" &gt;
				&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td&gt;
					&lt;strong&gt;Country &lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;
				&lt;/td&gt;
				&lt;td class="input"&gt;
					&lt;select id="country" class="default" name="shipping&#91;country&#93;" onchange="return $('#country').getForm().sendRequest(
						'shop:on_updateStateList', {
						extraFields: {'country': $('#country').val(),
						'control_name': 'shipping&#91;state&#93;', 'control_id': 'shipping_state', 'current_state': '&lt;?= $shipping_info-&gt;state ?&gt;'},
						update: {'shipping_states': 'shop:state_selector'}
						})"&gt;
						&lt;? foreach ($shipping_countries as $country): ?&gt;
						&lt;option &lt;?= option_state($shipping_info-&gt;country, $country-&gt;id) ?&gt;
						value="&lt;?= h($country-&gt;id) ?&gt;"&gt;&lt;?= h($country-&gt;name) ?&gt;&lt;/option&gt;
						&lt;? endforeach ?&gt;
					&lt;/select&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td&gt;
					&lt;strong&gt;Emirate &lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;
				&lt;/td&gt;
				&lt;td class="input"&gt;
					&lt;div id="shipping_states"&gt;
					&lt;?= $this-&gt;render_partial('shop:state_selector', array(
					'states'=&gt;$shipping_states,
					'control_id'=&gt;'shipping_state',
					'control_name'=&gt;'shipping&#91;state&#93;',
					'current_state'=&gt;$shipping_info-&gt;state)) ?&gt;
					&lt;/div&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/table&gt;
	&lt;/div&gt;&lt!--end checkout_content--&gt;
&lt;/div&gt;&lt!--end checkout_outer--&gt;
&lt;div class="checkout_outer"&gt;
	&lt;h2&gt;Step 3 : &lt;span&gt;Shipping Method&lt;/span&gt;&lt;/h2&gt;
	&lt;div class="checkout_content billing_account clearfix"&gt;
		&lt;? if(isset($shipping_options)):?&gt;
		&lt;? if (count($shipping_options)): ?&gt;
		&lt;table&gt;
			&lt;tr&gt;
				&lt;td colspan="2" style="text-align:left"&gt;
					&lt;p&gt;Please select shipping option.&lt;/p&gt;
					&lt;? foreach ($shipping_options as $option): ?&gt;
					&lt;? if ($option-&gt;multi_option): ?&gt;
					 
					&lt;h5&gt;&lt;?= h($option-&gt;name) ?&gt;&lt;/h5&gt;
					 
					&lt;? if ($option-&gt;description): ?&gt;
					&lt;p&gt;&lt;?= h($option-&gt;description) ?&gt;&lt;/p&gt;
					&lt;? endif ?&gt;              
					 
					&lt;? foreach ($option-&gt;sub_options as $sub_option): ?&gt;
					&lt;input &lt;?= radio_state($option-&gt;id == $shipping_method-&gt;id && $sub_option-&gt;id == $shipping_method-&gt;sub_option_id) ?&gt;
					id="&lt;?= 'option'.$sub_option-&gt;id ?&gt;" type="radio" name="shipping_option" value="&lt;?= $sub_option-&gt;id ?&gt;"/&gt;
					&lt;label for="&lt;?= 'option'.$sub_option-&gt;id ?&gt;"&gt;
					&lt;?= h($sub_option-&gt;name) ?&gt; - &lt;strong&gt;&lt;?= !$sub_option-&gt;is_free ? format_currency($sub_option-&gt;quote) : 'free!' ?&gt;&lt;/strong&gt;
					&lt;/label&gt;&lt;br/&gt;
					&lt;? endforeach ?&gt;
					 
					&lt;? else: ?&gt;
					 
					&lt;input &lt;?= radio_state($option-&gt;id == $shipping_method-&gt;id) ?&gt; id="&lt;?= 'option'.$option-&gt;id ?&gt;"
					type="radio" name="shipping_option" value="&lt;?= $option-&gt;id ?&gt;"/&gt;
					&lt;label for="&lt;?= 'option'.$option-&gt;id ?&gt;"&gt;
					&lt;strong&gt;&lt;?= h($option-&gt;name) ?&gt;&lt;/strong&gt; - &lt;strong&gt;&lt;?= !$option-&gt;is_free ? format_currency($option-&gt;quote) : 'free!' ?&gt;&lt;/strong&gt;
					&lt;? if ($option-&gt;description): ?&gt;
					&lt;br/&gt;&lt;?= h($option-&gt;description) ?&gt;
					&lt;? endif ?&gt;
					&lt;/label&gt;&lt;br/&gt;
					 
					&lt;? endif ?&gt;
					&lt;? endforeach ?&gt; 
					
				&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td&gt;&lt;input type="hidden" name="checkout_step" value="&lt;?= $checkout_step ?&gt;"/&gt;&lt;/td&gt;
				&lt;td&gt;
					&lt;input class="red_btn" type="submit" name="submit" value="Continue" onclick="return $(this).getForm().sendRequest('on_action', {
					update:{'checkout_page': 'checkout_partial'}})"&gt;


				&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/table&gt;
	&lt;? else: ?&gt;
		&lt;p&gt;&lt;center&gt;There are no shipping options available for your location.&lt;/center&gt;&lt;/p&gt;
	&lt;? endif ?&gt;
	&lt;? else:?&gt;
		&lt;p&gt;&lt;center&gt; Please fill up the billing and shipping fields.&lt;/center&gt;&lt;/p&gt;
	&lt;? endif;?&gt;
	&lt;/div&gt;&lt!--end checkout_content--&gt;
&lt;/div&gt;&lt!--end checkout_outer--&gt;
</pre><br />
<br />
<br />
Ajax function is<br />
<br />
<pre class='prettyprint'>
function updateCheckoutData($controller)
{
	// Set up the billing address info
    $billingAddressInfo = new Shop_CheckoutAddressInfo();
    $billingArr = post('billing');
    $billingAddressInfo-&gt;first_name     = $billingArr&#91;'first_name'&#93;;
    $billingAddressInfo-&gt;last_name      = $billingArr&#91;'last_name'&#93;;
    $billingAddressInfo-&gt;email          = $billingArr&#91;'email'&#93;;
    $billingAddressInfo-&gt;street_address = $billingArr&#91;'street_address'&#93;;
    $billingAddressInfo-&gt;city           = $billingArr&#91;'city'&#93;;
    $billingAddressInfo-&gt;zip            = $billingArr&#91;'zip'&#93;;
    $billingAddressInfo-&gt;country        = $billingArr&#91;'country'&#93;;
	$billingAddressInfo-&gt;state          = $billingArr&#91;'state'&#93;;
    $billingAddressInfo-&gt;phone          = $billingArr&#91;'phone'&#93;;
    Shop_CheckoutData::set_billing_info(null,$billingAddressInfo);
    
    
    
    // Set up the shipping address info
    $shippingAddressInfo = new Shop_CheckoutAddressInfo();
    $shippingArr = post('shipping');
    $shippingAddressInfo-&gt;first_name     = $shippingArr&#91;'first_name'&#93;;
    $shippingAddressInfo-&gt;last_name      = $shippingArr&#91;'last_name'&#93;;
    $shippingAddressInfo-&gt;email          = $shippingArr&#91;'email'&#93;;
    $shippingAddressInfo-&gt;street_address = $shippingArr&#91;'street_address'&#93;;
    $shippingAddressInfo-&gt;city           = $shippingArr&#91;"city"&#93;;
    $shippingAddressInfo-&gt;zip            = $shippingArr&#91;'zip'&#93;;
    $shippingAddressInfo-&gt;country        = $shippingArr&#91;'country'&#93;;
    $shippingAddressInfo-&gt;state          = $shippingArr&#91;'state'&#93;;
    $shippingAddressInfo-&gt;phone          = $shippingArr&#91;'phone'&#93;;
    Shop_CheckoutData::set_shipping_info($shippingAddressInfo);
    // Call the default action handler
	$controller-&gt;action();


}
</pre><br />
<br />
<br />
I always get shipping methods as array with null values.]]></description>
		<pubDate>Sat, 16 Mar 2013 05:27:08 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5096-checkout-process-in-one-page/</guid>
	</item>
	<item>
		<title>Attributes and psuedo classes</title>
		<link>http://forum.lemonstandapp.com/topic/5095-attributes-and-psuedo-classes/</link>
		<description><![CDATA[Ok.. So im using the attributes within the product section to create a table. I want to style the table by having no underlines on the first and last child, but no matter what I do in the css ie (:last child or nth child) it just doesn't want to pull it in. <br />
Please see the attached picture to get an idea of what I'm trying to achieve. hopefully it makes sense.<br />
Would someone be so kind as to offer a little insight<div id='attach_wrap' class='rounded clearfix'>
	<h4>Attached thumbnail(s)</h4>
	<ul>
		
			<li class=''>
				<a class='resized_img' rel='lightbox[21607]' id='ipb-attach-url-433-0-49298500-1368898032' href="http://forum.lemonstandapp.com/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=433" title="Screen Shot 2013-03-15 at 22.46.13.png - Size: 46.43K, Downloads: 17"><img src="http://forum.lemonstandapp.com/uploads/monthly_03_2013/post-6222-0-99770600-1363387861_thumb.png" id='ipb-attach-img-433-0-49298500-1368898032' style='width:100;height:89' class='attach' width="100" height="89" alt="Attached Image: Screen Shot 2013-03-15 at 22.46.13.png" /></a>
			</li>
		
	</ul>
</div>]]></description>
		<pubDate>Fri, 15 Mar 2013 22:51:16 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5095-attributes-and-psuedo-classes/</guid>
	</item>
	<item>
		<title>USPS Address Standardization</title>
		<link>http://forum.lemonstandapp.com/topic/5094-usps-address-standardization/</link>
		<description><![CDATA[<span style='font-size: 21px;'>I am using USPS as a shipping option. I have registered with USPS, obtained a USPS User Id, and connected to their Production server.  I am able to get rates for various classes of mailing services.  All this is working as I expected.<br />
<br />
However, I see on this USPS page,  <a href='https://www.usps.com/business/webtools.htm' class='bbc_url' title='External link' rel='nofollow external'>USPS Ecommerce APIs</a>, that there is an API for Address Standardization:  This "eliminates addressing errors and helps ensure accurate and timely delivery. This tool corrects errors in street addresses, including abbreviations and missing information. It also supplies a ZIP+4® Code."<br />
<br />
Is is possible to add a button after the customer enters the Ship To address that would verify the Ship To address and make any corrections using this API?</span>]]></description>
		<pubDate>Fri, 15 Mar 2013 19:27:44 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5094-usps-address-standardization/</guid>
	</item>
	<item>
		<title>Product prices under 0.01</title>
		<link>http://forum.lemonstandapp.com/topic/5093-product-prices-under-001/</link>
		<description><![CDATA[Hi,<br />
<br />
My current project includes selling items in rather huge amounts and this items have very small prices that scale down with quantity tier, but i can`t find a way to make lemonstand to remember price like 0.0942. Rounding this number does now work for my client since they expect orders bigger then 10k items and this will trow the pricing a lot. Is there a option or workaround this rather big problem that i am having <br />
<br />
Regards]]></description>
		<pubDate>Fri, 15 Mar 2013 16:32:30 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5093-product-prices-under-001/</guid>
	</item>
	<item>
		<title>Increase stock for canceled order?</title>
		<link>http://forum.lemonstandapp.com/topic/5092-increase-stock-for-canceled-order/</link>
		<description><![CDATA[Hey all,<br />
<br />
Here's the situation:<br />
Someone orders product A and pays for it, making the stock for product A one less. They decide to cancel their order, so the order moves to status Canceled. When this happens, I'd like LS to add one to the stock again.<br />
<br />
Is there a setting that does that, or should I write this myself?]]></description>
		<pubDate>Fri, 15 Mar 2013 14:05:57 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5092-increase-stock-for-canceled-order/</guid>
	</item>
	<item>
		<title>Bug with product details page?</title>
		<link>http://forum.lemonstandapp.com/topic/5091-bug-with-product-details-page/</link>
		<description><![CDATA[Hi,<br />
<br />
It seems that product details page (backend) sometimes fails due to a little bug into file phproad/modules/db/behaviors/db_formbehavior/partials/_form_field_preview_dropdown.htm.<br />
<br />
Patch:<br />
<br />
<pre class='prettyprint'>
--- _form_field_preview_dropdown.htm.old	2013-03-14 16:04:17.000000000 +0100
+++ _form_field_preview_dropdown.htm.new	2013-03-14 16:02:39.000000000 +0100
@@ -19,7 +19,7 @@
 			
 			$originalName = $name;
 			$name = !$keyNum ? $value : $originalName&#91;$keys&#91;0&#93;&#93;;
-			$description = !$keyNum ? null : $originalName&#91;$keys&#91;1&#93;&#93;;
+			$description = $keyNum &lt; 2 ? null : $originalName&#91;$keys&#91;1&#93;&#93;;
 		}
 		
 		$this-&gt;formRenderPartial('form_preview_value', array('value'=&gt;h($name), 'type'=&gt;$columnDefinition-&gt;type, 'description'=&gt;h($description)));
</pre><br />
<br />
I noticed an exception occurs a fews days ago but I cannot reproduce by now. Is this really a bug?]]></description>
		<pubDate>Thu, 14 Mar 2013 15:23:10 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5091-bug-with-product-details-page/</guid>
	</item>
	<item>
		<title>Email compound variables not applied correctly</title>
		<link>http://forum.lemonstandapp.com/topic/5090-email-compound-variables-not-applied-correctly/</link>
		<description><![CDATA[Hi,<br />
<br />
It seems that email compound variables are not applied correctly for customer notification emails (shop:registration_confirmation, shop:password_reset, shop:password_restore): they are currently applied after substitution of customer variables ({customer_name}, {customer_first_name}...) instead of being applied before these substitutions. In addition, compound variables are not applied to email subject. I propose the following patch in order to fix this.<br />
<br />
File modules/shop/models/shop_customer.php:<br />
<br />
<pre class='prettyprint'>
--- shop_customer.php.old	2013-03-12 12:22:34.000000000 +0100
+++ shop_customer.php.new	2013-03-12 15:53:25.000000000 +0100
@@ -528,6 +528,7 @@
 			$template = System_EmailTemplate::create()-&gt;find_by_code('shop:password_reset');
 			if ($template)
 			{
+				$template-&gt;subject = $customer-&gt;set_customer_email_vars($template-&gt;subject);
 				$message = $customer-&gt;set_customer_email_vars($template-&gt;content);
 				$template-&gt;send_to_customer($customer, $message);
 			}
@@ -552,6 +553,7 @@
 			$template = System_EmailTemplate::create()-&gt;find_by_code('shop:password_restore');
 			if ($template)
 			{
+				$template-&gt;subject = $customer-&gt;set_customer_email_vars($template-&gt;subject);
 				$message = $customer-&gt;set_customer_email_vars($template-&gt;content);
 				$template-&gt;send_to_customer($customer, $message);
 				return true;
@@ -591,6 +593,8 @@
 		 */
 		public function set_customer_email_vars($message_text)
 		{
+			$email_scope_vars = array('customer'=&gt;$this);
+			$message_text = System_CompoundEmailVar::apply_scope_variables($message_text, 'shop:customer', $email_scope_vars);
 			$message_text = str_replace('{customer_name}', h($this-&gt;name), $message_text);
 			$message_text = str_replace('{customer_first_name}', h($this-&gt;first_name), $message_text);
 			$message_text = str_replace('{customer_last_name}', h($this-&gt;last_name), $message_text);
@@ -608,9 +612,6 @@
 				$message_text = str_replace('{password_restore_page_link}', '&lt;a href="'.$page_url.'"&gt;'.$page_url.'&lt;/a&gt;', $message_text);
 			}
 			
-			$email_scope_vars = array('customer'=&gt;$this);
-			$message_text = System_CompoundEmailVar::apply_scope_variables($message_text, 'shop:customer', $email_scope_vars);
-			
 			return $message_text;
 		}
 		
@@ -646,6 +647,7 @@
 			$template = System_EmailTemplate::create()-&gt;find_by_code('shop:registration_confirmation');
 			if ($template)
 			{
+				$template-&gt;subject = $this-&gt;set_customer_email_vars($template-&gt;subject);
 				$message = $this-&gt;set_customer_email_vars($template-&gt;content);
 				$template-&gt;send_to_customer($this, $message);
 			}
</pre><br />
<br />
Please tell me if it would be possible to integrate this to LS.<br />
<br />
Thanks,]]></description>
		<pubDate>Thu, 14 Mar 2013 14:23:35 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5090-email-compound-variables-not-applied-correctly/</guid>
	</item>
	<item>
		<title>Email Reminders</title>
		<link>http://forum.lemonstandapp.com/topic/5089-email-reminders/</link>
		<description><![CDATA[Is it possible to set up an emailer so if someone hasn't ordered from the shop in xx weeks that we send them an email saying, Hey come on back?<br />
<br />
I tool a look at the email templates and things, but I wasn't sure if there was a way to automate it based on order frequency or anything like that.<br />
<br />
Anyone have any ideas?]]></description>
		<pubDate>Thu, 14 Mar 2013 14:17:49 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5089-email-reminders/</guid>
	</item>
	<item>
		<title>Category Description on 1st page...</title>
		<link>http://forum.lemonstandapp.com/topic/5087-category-description-on-1st-page/</link>
		<description>Is there a way of just showing the category description on the first page only?</description>
		<pubDate>Wed, 13 Mar 2013 19:06:52 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5087-category-description-on-1st-page/</guid>
	</item>
	<item>
		<title><![CDATA[weird problem, $model-&#62;navigation_parents() throws error]]></title>
		<link>http://forum.lemonstandapp.com/topic/5086-weird-problem-model-navigation-parents-throws-error/</link>
		<description><![CDATA[I'm extending following two events:<br />
<br />
<pre class='prettyprint'>Backend::$events-&gt;addEvent('core:onAfterFormRecordUpdate', $this, 'after_page_save');
Backend::$events-&gt;addEvent('core:onAfterFormRecordCreate', $this, 'after_page_save');</pre><br />
<br />
Method is<br />
<br />
<pre class='prettyprint'>public function after_page_save($controller, $model)
	{
			$updated_model = get_class($model);
			
			if($updated_model == 'Cms_Page')
			{
				$prefixes = self::$prefixes;//where prefixes is an array
				$url = $model-&gt;url;
				
				if(!in_array($url, $prefixes)){
			
					$path = $model-&gt;navigation_parents();
					
					...

				}

			}
	}</pre><br />
<br />
This code works on two separate LS installations. It doesn't work from some reason on the 3rd installation. $path = $model-&gt;navigation_parents(); throws 'Trying to get property of non-object' error.<br />
What could possible be wrong???? I'm kinda loosing my mind over this <img src='http://forum.lemonstandapp.com/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' />]]></description>
		<pubDate>Wed, 13 Mar 2013 17:42:17 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5086-weird-problem-model-navigation-parents-throws-error/</guid>
	</item>
	<item>
		<title>small problem with extending the options matrix table</title>
		<link>http://forum.lemonstandapp.com/topic/5084-small-problem-with-extending-the-options-matrix-table/</link>
		<description><![CDATA[Exactly as the title says, I have managed to add the column "x_package_structure" to my options matrix table but I have gotten stuck on how to ouput that on the frontend page. Does anyone have experience with how to do this? The documentation seems to cover adding a column but not how to display the information entered into the new column.]]></description>
		<pubDate>Wed, 13 Mar 2013 14:58:33 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5084-small-problem-with-extending-the-options-matrix-table/</guid>
	</item>
	<item>
		<title>Why dont sub-category products appear in the main category?</title>
		<link>http://forum.lemonstandapp.com/topic/5083-why-dont-sub-category-products-appear-in-the-main-category/</link>
		<description><![CDATA[So I have for my categories:<br />
<br />
Performance Parts &gt; Ford &gt; F150 Lightning &gt; Fuel<br />
Performance Parts &gt; Ford &gt; F150 Lightning &gt; Suspension<br />
<br />
If I click on fuel, I get all the stuff I have assigned to Fuel, which is correct.<br />
<br />
If I click on F150 Lightning, I would expect to get all products listed for Fuel AND Suspension. Instead, I get a page thats blank and showing no products.<br />
<br />
Ideas?]]></description>
		<pubDate>Wed, 13 Mar 2013 14:07:52 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5083-why-dont-sub-category-products-appear-in-the-main-category/</guid>
	</item>
	<item>
		<title>Why are categories mandatory for products?</title>
		<link>http://forum.lemonstandapp.com/topic/5081-why-are-categories-mandatory-for-products/</link>
		<description><![CDATA[Basically, as the thread subject says.. is there a particular reason why categories are mandatory for products?  <img src='http://forum.lemonstandapp.com/public/style_emoticons/default/unsure.gif' class='bbc_emoticon' alt=':unsure:' /> <br />
<br />
Doesn't seem like it should be a major requirement that a product be assigned to a particular product right away (e.g. I might create a bunch of product and assign them later). <br />
<br />
Would it break any part of lemonstand to make categories not mandatory? (maybe the discount engine.. ) <br />
<br />
Ben]]></description>
		<pubDate>Tue, 12 Mar 2013 23:48:32 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5081-why-are-categories-mandatory-for-products/</guid>
	</item>
	<item>
		<title>Selling a product by the metre</title>
		<link>http://forum.lemonstandapp.com/topic/5080-selling-a-product-by-the-metre/</link>
		<description><![CDATA[Hi there<br />
<br />
I'm selling a product by the metre (rope) and am trying to work out the best way to configure this in Lemonstand.<br />
<br />
I want the customer to be able to select what "end" they would like put on the rope, as per this mock up:<br />
<br />
<img src='http://gyazo.com/10d41be9d6901645d2b3cd837c3f72a2.png?1363122053' alt='Posted Image' class='bbc_img' /><br />
<br />
(I will likely turn this into two drop down boxes - one for 'left end', one for 'right end')<br />
<br />
The issue I have is that when I add a quantity of more than 1 to the basket e.g. 10 for 10 metres, it adds the extra options 10 times as well.<br />
<br />
e.g. 1m rope @ £1/m + 2 x ends at £2.50 each = £6.00 (1 x £1 + £5)<br />
<br />
10m rope @ £1/m + 2 x ends at £2.50 each SHOULD = £15.00 (10 x £1 + £5) but comes out as £60.00 (10 x £1 + (10 x £5))<br />
<br />
<img src='http://gyazo.com/ccb480db9c0181f204c8f6fe7162f771.png' alt='Posted Image' class='bbc_img' /><br />
<br />
Is there a way to tell Lemonstand to only calculate this once? Or could someone please suggest a better way to do this?<br />
<br />
I'd REALLY like to avoid putting this in as a regular "option" as there will be like 10 possible ends and the option matrix is going to look really, really messy (on top of all the existing size/colour options)!<br />
<br />
Thank you!]]></description>
		<pubDate>Tue, 12 Mar 2013 21:05:05 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5080-selling-a-product-by-the-metre/</guid>
	</item>
	<item>
		<title>Over 10 items results in Free Shipping</title>
		<link>http://forum.lemonstandapp.com/topic/5079-over-10-items-results-in-free-shipping/</link>
		<description>I am using the USPS and FedEx shipping options.  I do not have any Free Shipping that I can find.  But when I create a test order for over 10 item the USPS shipping is Free.  FedEx is not free, and the estimated prices are listed.</description>
		<pubDate>Tue, 12 Mar 2013 19:58:53 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5079-over-10-items-results-in-free-shipping/</guid>
	</item>
	<item>
		<title>Really simple checkout process</title>
		<link>http://forum.lemonstandapp.com/topic/5078-really-simple-checkout-process/</link>
		<description><![CDATA[I'm trying to implement a really simple checkout process with as few steps as possible.<br />
The main problem is that it is not selecting the default shipping method when I skip over the steps. I always get the same error message 'Please select shipping method'<br />
I have one shipping method and one payment method (both with api code 'default').<br />
<br />
I have this code in my Ajax handler section for the checkout page:<br />
<br />
<pre class='prettyprint'>function on_process_billing_address($controller, $page, $params)
{
// Call the default action handler
$controller-&gt;action();
 
// If the checkbox is checked,
// copy billing address to shipping address
// and move to the next step

if (post('ship_to_billing_address'))
{
Shop_CheckoutData::copy_billing_to_shipping();
 
$_POST&#91;'skip_to'&#93; = 'review';
$controller-&gt;action();
}
// Setup the validation rules
  // You will need to update the regular expression in the regexp() call.
  // You can delete the regexp() call if you don't need it.
  $validation = new Phpr_Validation();
  $validation-&gt;add('zip', 'Zip')-&gt;fn('trim')-&gt;required("Please specify a postcode.");
  
  // Validate the POST data
  if (!$validation-&gt;validate($_POST))
  {
    // If there are errors, rollback to the billing info step
    // and throw the validation exception
    $controller-&gt;data&#91;'checkout_step'&#93; = 'billing_info';
    $validation-&gt;throwException();
  }
}

function on_process_shipping_address($controller, $page, $params)
{
  // Call the default action handler
  $controller-&gt;action();
  
  // Set the shipping method
  $default_method = Shop_ShippingOption::find_by_api_code('default');
  Shop_CheckoutData::set_shipping_method($default_method-&gt;id);
}

function place_order_and_pay($controller, $page, $params)
{
Shop_CheckoutData::set_payment_method(Shop_PaymentMethod::find_by_api_code('default')-&gt;id);
 
// Call the default action handler
$controller-&gt;action();
 
// Pretend that we are on the Review checkout step
// to force LemonStand to place the order
$_POST&#91;'checkout_step'&#93; = 'review';
$controller-&gt;action();
}</pre><br />
<br />
And this is the code I'm using for my button on the checkout_billing_info partial:<br />
<br />
<pre class='prettyprint'>&lt;input
type="button" class="button blue"
onclick="return $(this).getForm().sendRequest('on_process_billing_address', {update:{'checkout_page': 'checkout_partial'}}, 'on_process_shipping_address', {update:{'checkout_page': 'checkout_partial'}}, 'place_order_and_pay', {update:{'checkout_page': 'checkout_partial'}})"
value="Place order and pay"/&gt;</pre><br />
<br />
The second problem is that it skips straight to the review page whether or not you have checked the 'ship to billing address' check button on the billing info partial or not. Is there some way of specifying that it should go to the shipping info partial if this is not checked?<br />
<br />
Thank you]]></description>
		<pubDate>Tue, 12 Mar 2013 17:10:02 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5078-really-simple-checkout-process/</guid>
	</item>
	<item>
		<title>Can a customer change their password</title>
		<link>http://forum.lemonstandapp.com/topic/5077-can-a-customer-change-their-password/</link>
		<description><![CDATA[Can a customer change their password?<br />
Can an Administrator change a password on the backend?]]></description>
		<pubDate>Tue, 12 Mar 2013 12:41:49 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5077-can-a-customer-change-their-password/</guid>
	</item>
	<item>
		<title>Option matrix not working</title>
		<link>http://forum.lemonstandapp.com/topic/5076-option-matrix-not-working/</link>
		<description><![CDATA[Hi, thanks for reading.<br />
<br />
We moved Lemonstand to a new server and absolutely everything works fine accept for one problem, whenever an Options Matrix is edited we get a 404 error that says :<br />
<br />
      The requested URL /is_shop_process_catalog_rules_om_batch/  was not found in this server<br />
<br />
Can anyone point me in the right direction on how to fix this problem?<br />
<br />
Many thanks<br />
<br />
Hazlitt]]></description>
		<pubDate>Tue, 12 Mar 2013 12:41:44 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5076-option-matrix-not-working/</guid>
	</item>
	<item>
		<title>Resetting Default template</title>
		<link>http://forum.lemonstandapp.com/topic/5075-resetting-default-template/</link>
		<description><![CDATA[I have been trying to build a website for my mum and I seem to be digging a hole with the scripts on the site, I cannot seem to get the option matrix to work (cannot get the products to refresh the price on selection) and I am continually getting conflicts with my javascript and the core mootools. The install is pretty old now and I was wondering if its possible to reinstall the cart over the top of the current one? I feel starting again is the only way to get this thing going <img src='http://forum.lemonstandapp.com/public/style_emoticons/default/sad.gif' class='bbc_emoticon' alt=':(' /><br />
can anyone help?<br />
<br />
thanks<br />
Jackson]]></description>
		<pubDate>Tue, 12 Mar 2013 10:52:06 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5075-resetting-default-template/</guid>
	</item>
	<item>
		<title>Deleting a Grouped Item</title>
		<link>http://forum.lemonstandapp.com/topic/5074-deleting-a-grouped-item/</link>
		<description><![CDATA[I have a site which has about 700 products for sale, each of them is available in about 12 different sized containers.  They are setup with the primary item, then 11 grouped items of the varying container/size.  There is one specific container which we are discontinuing and need to remove from every item.  What is the best way to go about deleting that item size without having to go through each and every item through the admin area.  Can I do a straight SQL query to accomplish this, and if so what tables would I be needing to address?  Is there a way through the API to accomplish it, if so how would I handle it?<br />
<br />
Any ideas would be appreciated.  In case it makes a difference, these items have been sold and are on existing orders (does that mean I will have to disable the item or can I completely delete it?).]]></description>
		<pubDate>Mon, 11 Mar 2013 22:07:48 +0000</pubDate>
		<guid>http://forum.lemonstandapp.com/topic/5074-deleting-a-grouped-item/</guid>
	</item>
</channel>
</rss>