problem about ubercart-Collection of common programming errors


  • dskanth
    php drupal simplexml ubercart google-checkout
    I have setup Ubercart 2.0 in my Drupal 6 website, and have enabled the necessary modules for its functionality, including: Cart, Store, Product, Order, Conditional Actions.I have configured the google checkout module in test mode (

  • Clive
    ubercart
    I’m trying to set up a discount with hook_line_item(). I’ve gotten it to display in the cart preview on the checkout page, and strangely on the first load, the discount line item appears, but the calculated total does not reflect it. If I submit the checkout page, go to review, go back to the checkout and go to review again, the discount shows correctly, but it never appears that first time. Anyone know why this would happen?function mymodule_order_process_line_item() {if(mymodule_order_process_is_retail_checkout() && mymodule_order_process_get_affiliate_session()){$items[] = array(‘id’ => ‘partner_discount’,’title’ => t(‘Discount’),’weight’ => 2,’default’ => FALSE,’stored’ => TRUE,’add_list’ => TRUE,’calculated’ => TRUE,’display_only’ => FALSE,’callback’=>’mymodule_order_process_partner_discount_callback’,);}return $items; }function mymodule_order_process_partner_discount_callback($op,&$order

  • Nikhil M

  • duckx

  • beth
    modules hooks ubercart
    How can I call a function of one module in another module? I want to call uc_stock_adjust() function of uc_stock.module in my own custom module. Is it possible? Here is my code so far:function my_module_no

  • Eric
    drupal variables attributes content ubercart
    I’m running the latest versions of Drupal 7 & Ubercart 3. I’m trying to capture date from the $content variable for use within a module. Specifically I am trying to capture data from a custom product field and display that data inline certain product attributes/options.The point of this is to create a custom description for each attribute for each product.It seems the $content variable

  • Kevin G
    jquery drupal-7 ubercart
    I have a problem hiding a attribute field based on a selection from another attribute field.Since there is a lack of doing this easier, i thought of adding jquery code in my footer block.I will try to explain the current situation as good as possible.I have a selection field that currently is being generated like this: Verzenden, €15.44 Ophalen, €8.03 And this: 1 Fles, €15.44 1 Doos, €92.64 I want field edit-attribute-4 to be hidden

  • coderama
    drupal ubercart
    What is the correct way to force the system to send an invoice to a client. I’m

  • AT Design
    7 ajax ubercart rules migration
    I’m having a hard time figuring out why shipping quotes are failing after migrating to a new server.I can clone the repo in my local machine, and shipping quotes come in fine. I can’t find anything in the AJAX request/response headers that tells me why they’re failing on the development site. They work on the live site. (It uses Drupal 7.7, while the development sit

  • Ajit S
    views ubercart coupons commerce-order
    Am using drupal 7 and am in need of create a view for the custom reports. The views must contains the first name, last name, address, email, phone number,

  • user1201359
    drupal paypal ubercart
    We have a site that was built a year ago on Drupal 6.22 and Ubercart 6.x-2.6.Recently we have been having some issues with credit card checkout using paypal pro. The exact message in watchdog is: Message Payment failed for order 997: Authorize and capture immediately failed.Error: 10747: This transaction cannot be processed.Address: An unknown error occurred.CVV2: Not checked Hostname 94.170.95.40, 1According to Paypal, this error number means invalid Ip address. When we opened up a ticket wi

Originally posted 2013-11-09 20:35:19.