Problem turning Quick view in to Buy Now

[size=3][font=arial, helvetica, sans-serif]Hi All,[/font][/size]

[size=3][font=arial, helvetica, sans-serif]We are trying to show another custom quick view button to approximate a ‘Buy now’ action in the product category list. The button is intended to have the same functionality as the quick view that appears over a products thumbnail. see buy now button in screenshot 1. As we aren’t big fans of the hover over button, we will then disable this.[/font][/size]

[font=“arial, helvetica, sans-serif”][size=3]We’ve hit a few snags however.[/size][/font]

[font=arial, sans-serif][size=3]- The “Buy Now” button mirrors a particular product’s “Quick View” button.[/size][/font][font=arial, sans-serif][size=3]

  • Clicking on the “Buy Now” button shows that particular products quick view pop up.[/size][/font][font=arial, sans-serif][size=3]
  • Where we’re having issues is at the point where we’ve hit the pop up window’s “Add to Cart” button and we expect the the quantity of items in the header’s “Your Cart” dropdown to increment and add the price to the existing subtotal.[/size][/font]

    [font=arial, sans-serif][size=3]

    For whatever reason, the javascript that updates the “You Cart” drop down doesn’t work if you click the “Buy Now” button first.[/size][/font]

    [font=arial, sans-serif][size=3]

    If you click the products “Quick View” button and add a product using that pop up and then do the same using the “Buy Now”. Then the “Your Cart” gets updated with the latest cost and quantity.[/size][/font]

    Any ideas?

    Here’s the code snippet in [font=arial, sans-serif][size=3]product_multicolumns_[/size][/font][font=arial, sans-serif][size=3]list.override.tpl[/size][/font]

<br />
<!-- product-buttons --><br />
   <div class="product-buttons"><br />
    <a href="{"products.view?product_id=`$product.product_id`"|fn_url}" class="product-button-more-info" title="More Info">More Info</a><br />
[color=#ff0000]    {if !$show_add_to_cart}<br />
	 <div class="buttons-container"><br />
	  <a id="opener_product_picker_{$product.product_id}" class="cm-dialog-opener cm-dialog-auto-size product-button-buy-now ir" rev="product_quick_view_{$product.product_id}" href="{"products.quick_view?product_id=`$product.product_id`&prev_url=`$current_url`"|fn_url}">{$lang.quick_view}</a><br />
	 </div><br />
    {/if}[/color]<br />
    {if $show_add_to_cart}<br />
	 <div class="buttons-container"><br />
	  {assign var="add_to_cart" value="add_to_cart_`$obj_id`"}<br />
	  {$smarty.capture.$add_to_cart}<br />
	 </div><br />
    {/if}<br />
   </div><br />
   <!-- /product-buttons --><br />

```<p><a href="">screen1.png</a></p>