hubier Posted August 5, 2014 Share Posted August 5, 2014 Hi I´ve purchased and installed a module called: customer files upload to allow costumers attach different type of files such as .ftp, .tiff, .eps, to a product they are buying (is for a printer bussiness). And works great! but it hasn´t the option to block the check out of a product if there is no attachment file. I´m trying to hide the button "add to cart" with some "if" order in the product.tpl file, in this line: <p id="add_to_cart" {if (!$allow_oosp && $product->quantity <= 0) OR !$product->available_for_order OR (isset($restricted_country_mode) AND $restricted_country_mode) OR $PS_CATALOG_MODE}style="display:none"{/if} class="buttons_bottom_block"> The module creator says that the module can´t do this right now, but it is possible to develop and they woud prepare for the next version of the module. Sadly I´m a bit of a hurry, and can´t wait too long. Somebody has implemented this module and knows some clues on how to do this? Or knows if exists something like "&productAttachments ->quantity <=0" ? thanks in advance. Link to comment Share on other sites More sharing options...
Recommended Posts