This module works for Version MS2.2 and may have bugs but it works perfectly on my end. If you have any enhancements or changes please feel free to make them here at the Contribution site.
All you need to do is make the following simple changes:
1) in catalog/includes/modules/product_listing.php
find:
case 'PRODUCT_LIST_BUY_NOW':
$lc_align = 'center';
$lc_text = '' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '';
break;
}
replace with:
case 'PRODUCT_LIST_BUY_NOW':
$lc_align = 'center';
$lc_text = '
' . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '';
break;
}
2) in catalog/includes/application_top.php
find:
$HTTP_POST_VARS['id'])) 1
replace with:
$HTTP_POST_VARS['id'])) $quantity
Top 4 Download periodically updates information of Quantity Box in Product Listing 1.0 script from the developer, but some information may be slightly out-of-date.
Our script download links are directly from our mirrors or publisher's website. Quantity Box in Product Listing 1.0 torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!