So, I was curious about where in the uc_order module the logic was that does not allow a quantity of zero. uc_get_field_nameReturns the name of an address field. So... The change in question is at the bottom of that diff.
uc_country_importImports an Ubercart country file by filename. Or set it to a price of zero? This value gets inserted into both the product edit page and the product view page (for the customer). Log in or register to post comments Comment #7 m.stenta CreditAttribution: m.stenta commented April 25, 2012 at 3:04pm Here is the commit that initially adds that code: http://drupalcode.org/project/ubercart.git/commit/ee621888349b0ec55731e3...
The return string will look something like: Store Name uc_store_email_to_usernameDerives a valid username from an e-mail address. Use this for most menu items. It is the default value if no menu item type is specified." class="local">MENU_NORMAL_ITEM,
'file' => 'uc_store.admin.inc',
$items['admin/store/settings/countries'] = array(
Mariana :) Please become a member of OSTraining to reply to this post. ALTER TABLE `uc_products` MODIFY COLUMN `default_qty` FLOAT(6,2) UNSIGNED NOT NULL DEFAULT 1.00; 4) The UC_ORDER_PRODUCTS table intersects the UC_ORDERS table and the UC_PRODUCTS table. Thanks so much! Log in or register to post comments Comment #8 Marc Angles CreditAttribution: Marc Angles commented December 3, 2012 at 4:49pm Hi, I'm scratching my head with a weird bug.
weird. Maybe it can be also integrated with feeds_import module. The form is then passed on for processing, after and rendered for display if necessary." class="local">drupal_get_form',
'page arguments' => array(' It's reasonable to default to 1 because when the admin adds a product to the order we can assume that the order contains at least one.
uc_select_addressCreates an address select box based on a user's previous orders. The form is then passed on for processing, after and rendered for display if necessary." class="local">drupal_get_form'
Next, paste â€œ On product page, we wanted to show nice block likethis: where pdf and doc are just text for regular users, and download links for users that already bought thisbook. This is exactly the situation we have, and this inability to handle a zero quantity is incredibly annoying. uc_get_country_dataReturns country data based on the supplied criteria.
Do you have any ideas of how I could solve this problem? uc_select_dayCreates a day select box for a form. See ahah.js for more information." class="local">form_expand_ahah'
'title' => 'Enable a country', Your client wants this, so I guess you should do it if he won't consider a different way, but this is not something we should enable for general use. reply 21 October, 2014 Anonymous (not verified): Thank you very much :-) reply 27 October, 2016 Post new comment Your name: E-mail: Private and will not be shown publicly. ALTER TABLE `uc_products` MODIFY COLUMN `default_qty` FLOAT(6,2) UNSIGNED NOT NULL DEFAULT 1.00; 4) The UC_ORDER_PRODUCTS table intersects the UC_ORDERS table and the UC_PRODUCTS table.
And here's the diff specifically for uc_order.module: http://drupalcode.org/project/ubercart.git/blobdiff/b27a4c51d793cfdb5406... uc_stockstub http://www.ubercart.org/contrib/4792 Version tested: 1 Pros: + Replaces the "add to cart" button with an "out of stock" badge when the primary SKU is out of stock. This creates a usability issue. - Like uc_stockstub, there is no message to alert the user when all attributes have sold out, which creates the same usability issue. They are not shown in the menu." class="local">MENU_CALLBACK,