This code worked for me... This one does not use the dropdown menú.

product_listing.php

Replace this:

case 'PRODUCT_LIST_BUY_NOW':
$lc_align = 'center';
$lc_text = '' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '';
break;
}

with:

case 'PRODUCT_LIST_BUY_NOW':
$lc_align = 'center';
$lc_text = ' ' . tep_image_submit('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '';
break;

In application_top.php

Replace this:

$HTTP_POST_VARS['id']))+1

with:

$HTTP_POST_VARS['id'])) + $HTTP_POST_VARS['quantity']

I used a button different than the one used by the contribution creator as it was better for my own use.

Hope it helps anyone.

The archive does not contain nothing.




More...