Questions tagged [ubercart]

Use it for the e-commerce module developed for Drupal: Ubercart.

Filter by
Sorted by
Tagged with
10
votes
1answer
924 views

Add line item showing total cost

How can I add a line item in Ubercart 2 that adds up the total cost of all items, not the sell price? I have tried to clone the generic line item hook, and add something like this for the callback: ...
10
votes
6answers
2k views

How do I allow a free product into a cart, but only if cart net value is above $10?

I'm interested in running a promotion ... I'd like to make a product free if the customer's cart total is $10. I was able to do that with this module: http://drupal.org/project/uc_discounts_alt ...
9
votes
4answers
3k views

What is the recommend process for migrating a Drupal 6 Ubercart site to Drupal 7 / Drupal Commerce?

I'd like to migrate a client's site from Drupal 6 and Ubercart to Drupal 7 and Drupal Commerce. Is there an easy (i.e.: no manually munging data in the database) migration path? Do I need to go to ...
8
votes
3answers
2k views

Drush Scripting? Or Batch API?

We have an Ubercart website that handles large volumes of orders daily, processes them and runs other tasks like billing, delivery routing, and future order creation. Some of these tasks are heavy ...
8
votes
3answers
847 views

How to get “empty line items” in Commerce, similar to Ubercart?

In Ubercart, there is a little feature for adding "empty line items" to an admin created order. This allowed an admin to manually enter a custom title for the line item and a custom amount. ...
8
votes
1answer
346 views

How to change the order of attributes in the Ubertcart cart page

In the screenshot, you can see that the attributes for this product are listed in seemingly random order. Actually, it seems to be ordered by the attribute ID. Is there a way to change this order? ...
7
votes
1answer
4k views

db_query('SELECT nid FROM uc_products'); doesn't give any results! Why?

There's a really simple query related to the enabled and working Ubercart, where the task is to get all the nids from uc_products table, which simply doesn't give any results: $query = 'SELECT nid ...
6
votes
3answers
12k views

How to call a function of one module in another module

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 ...
6
votes
6answers
2k views

Seat reservations for (recurring) events on given days

I would like to let my users reserve seats (or a whole table) for events, and pay for the reservation via PayPal. Different performances/shows would be advertised, users could choose which tables or ...
5
votes
3answers
5k views

How do I add a Product to the Cart programmatically in Ubercart?

I'm creating a section of my site where users must purchase individual nodes of a certain content type. In an effort to enhance usability, I allow the user to create the node without paying, but then ...
5
votes
1answer
219 views

Updating content after major upgrade from 5 to 6 (changes to production site need to be reflected in dev environment)

I have been tasked with a major upgrade from D5 to D6. The upgrade is now complete and fully themed on my development server. The current production site is very busy, with dozens of nodes being ...
5
votes
1answer
585 views

Is there any way to delete ubercart role expiration through rules in Drupal 7

I am using Drupal 7 and ubercart roles where I have given the role expiration period of 1 day, and with that role the user can create one node. I want that as soon as the new node is created the role ...
5
votes
1answer
2k views

How do I add conditional shipping cost to an order?

I am building an e-commerce site. When a shippable item is added to the cart I have to add some fixed shipping cost to the order which I am able to do with flat rate. But I have to add an option "...
5
votes
1answer
660 views

Add lightbox to product list in Ubercart

I'm trying to enable lightbox2 for product listings in Ubercart for Drupal 6. This is simple via views, but I think the product list is being generated by uc_catalog module. How can I add classes to ...
5
votes
2answers
351 views

How to create a chart for tracking Product stock over some period of time using Ubercart?

Does anybody know about a good solution for tracking Product stock in a certain timespan? It is nice to see the stock numbers of products, but I find quite handy to see product performance over time. ...
5
votes
2answers
1k views

How can I manually send order details email to customer in Ubercart?

I have a cron job to read orders from the Ubercart database table, and manually send the order email to the customer. Usually, when customers checkout in Ubercart, they will get their order email ...
4
votes
1answer
3k views

Storing Credit Card Information for later use

I'm building a website where registered users would place future order(s). e.g. after 6 months for $20, or even on a specified date may be after one year or so. In order to charge them on those ...
4
votes
2answers
2k views

How to load Ubercart orders for certain user ID?

How to load Ubercart orders for certain user ID programatically? There is only uc_order_history() which returns formatted order table and does not work in that case.
4
votes
3answers
4k views

Ubercart alter product price when product added to cart

I need to alter Ubercart product price on Ubercart 3, Drupal 7, when product is added to cart. I need to check some conditions, and if met, change the price. I thought i can go with function ...
4
votes
2answers
173 views

Services for Products

I have a requirement where my website serves both products and services. I am using Drupal e-Commerce module for the same. It works perfectly fine for Products where we can set price for each product ...
4
votes
2answers
630 views

Testing Email locally? Could i reroute email to watchdog?

I'm trying to debug how an email invoice looks in ubercart locally. Mail is not configured on my local machine (ubuntu 11.10). I really would prefer to debug this locally without sending nagging ...
4
votes
4answers
2k views

Bulk delete orders

I have a bunch of test orders and I'd like to remove them. Is there a way to bulk remove all of the orders without uninstalling/installing the Ubercart module? Obviously, I'd first backup the ...
4
votes
2answers
613 views

How to validate if node is ubercart product?

Im sure this is something simple, but I would really appreciate some help with it. How to check by php if the node is an ubercart product? Empty sku field might work but how can it be accessed ?
4
votes
2answers
227 views

Exclude a .js file on certain Drupal 6 paths

I've run into a dilemma with Drupal and SSL. I'm utilising the Disqus module, however, Drupal loads the Disqus .js files on all pages including the cart and checkout addresses. This would be fine ...
4
votes
1answer
227 views

How can I make my ubercart catalog content available to users?

I can't make my ubercart catalog content available to logged in users. They can see the catalog page title but not the products. This is what a logged in User can see: This is my catalog views ...
4
votes
2answers
2k views

Gift Certificates for Ubercart 3 & Drupal 7

We would like to add gift certificates to our Drupal 7 site running Ubercart 3. There was a module (UC Gift Certificate) for Drupal 6, which has not been ported to 7. There appears to be some talk ...
4
votes
1answer
898 views

Manage the stock of raw-materials when products are ordered

I have a scenario where I have an idea of how to solve it but I want to be sure that I am not making it more complicated than it has to be. I am new to Ubercart and Drupal in general (but experienced ...
3
votes
4answers
5k views

How to implement a simple shopping cart without Commerce and Ubercart?

I need simple solution for shopping cart without big monstrous modules like a Ubercart or Drupal Commerce. I've a small site (catalog) with a few products. I need add to each of them an Add to cart ...
3
votes
5answers
1k views

Ubercart Module for handling subscriptions?

Trying to figure out the best UC module to use for this... Essentially, I'm trying to create a site where users may purchase subscriptions. There are about 15 different subscriptions a user may ...
3
votes
3answers
1k views

Change “Add to bag” to “Add to cart”

In the following website, I want to change the string from "Add to bag" to "Add to cart." I am using Drupal 6 and Ubercart. How could I change it?
3
votes
1answer
2k views

Creating line items in Ubercart 3

I have to build a module to add custom charges along with the order, e.g., gift wrapping charges. I am using Drupal 7.
3
votes
2answers
2k views

Large ecommerce sites that are built on drupal

I'm having trouble trying to convince the team to adopt Drupal commerce/Ubercart. Would anyone know of some large websites that are built on Drupal?
3
votes
3answers
4k views

Ubercart 3: Skip review, single page checkout

I am using Drupal 7.12 and Ubercart 3.0. I created a custom module in order to enable a single page checkout by skipping the checkout review page. The Code /** * Implementation of hook_form_submit()...
3
votes
2answers
2k views

Add multiple items to cart

Is there a module or a detailed how-to out there that can help with creating a form to add multiple products to the cart at once for Drupal 7, Ubercart 3.0?
3
votes
1answer
1k views

Empty cart functionality with a link, (no form) in Ubercart

I'm trying to make a link (not a form submit) to empty the cart; my link would be /cart/empty. I can't find where to make a case or something for the URL to work. I know I have to use uc_cart_empty(...
3
votes
1answer
76 views

Ubercart: has an order been paid?

Are there any good Ubercart hooks or other API features so I can learn about whether my Ubercart orders have been paid at all? Basically all I need is a function that would tell me if an order ...
3
votes
2answers
429 views

Starts with a larger ubercart order number

Ubercart order number start at 1. How can I set the order number to start with a larger number, e.g. 100001?
3
votes
1answer
566 views

Adwords conversion tracking on Ubercart store with payment gateway?

is it possible to implement Adwords conversion tracking so that it takes into account conversion that come through payment portal (Customer leaves site for a moment and returns after payment, usually ...
3
votes
1answer
1k views

How can I create a block that shows the total items in my cart?

I'm using Ubercart ajax cart, and I want to create a static block with AJAX that only shows the total items in the cart. How can I go about doing this? Is there a module that has this functionality?
3
votes
1answer
2k views

How do I automate shipping calculation?

Is it possible to auto calculate shipping for Drupal 7? Is there a way to automate with coupons integrated as well? e.g. Free Shipping coupon. Currently, if someone were to input a free shipping ...
3
votes
1answer
662 views

Save order data in a plain text file

Just like the order data can be sent via email, I want to save the order data in a plain text file in a specific directory on the same server as the drupal installation. Is it possible? How can I ...
3
votes
3answers
548 views

How to add a functionality to views bulk operations?

I want to use Views bulk operations to be able to change all my products' taxonomy terms at once. I have my product managing view with views bulk operations set up and working but there is no ...
3
votes
3answers
1k views

Ubercart product quantity count in product view page show as smsung 2/10 sold?

I added a product and say it has count of ten(of that product), If one is bought, then I want to show in the product view page out of 10/1 sold like that. Is there any contributed modules available, ...
3
votes
1answer
859 views

How to fix the Feeds import error when trying to import a price field?

I have a little problem with Feeds module, I read a lot on forums how to fix this error but I can't find a fix... I'm importing products to the shop, this module can import thing pretty well but when ...
3
votes
1answer
384 views

How do I set a product image?

When creating a product node for Ubercart, how do I set the product image? I am using the following code to create a product node. $node = new stdClass(); $node->name = "Title"; $node->title ...
3
votes
1answer
679 views

Drupal 7 Orphaned fields, how should they be deleted?

Currently I uninstalled ubercart and there are still fields that exists in my database. I have the following fields that I want to delete: uc_catalog_image uc_product_image http://prntscr.com/1hj1rt ...
3
votes
1answer
601 views

How to check for product taxonomy term in Rules actions (Ubercart)

I am using Drupal 7 with Ubercart. I am trying to configure to send an email when customer makes a purchase of a product mapped to one particular taxonomy term. I tried adding actions in a custom ...
3
votes
1answer
260 views

Setting product SKU

I'm trying to change 600 products so that the node SKU is set to the value of the node's title. I want to use VBO to accomplish this, with the "execute arbitrary PHP script" option. Here is the code I ...
3
votes
1answer
641 views

Minimum Items in Cart for Checkout

I am working in Drupal 7 in Ubercart 3, and I am looking for a way to set a minimum on the number of items that a user can have before being able to start the checkout process. Is there a module out ...
3
votes
2answers
1k views

Drupal 7- “Users who bought this also bought that” module [closed]

Does anyone know of a module for Drupal 7 that provides a "users who bought this also bought that" feature? I found Ubercart Views but it only works for D6, not D7. My site uses Drupal 7 and ...

1
2 3 4 5
15