ubercart

how to create an ubercart product content type within a module

I'd like to create a product content type from within a module. I followed this very helpful guide to programmatically create a content type. Now how do I "productize" it? If there already exists a module that does this that I can use to learn from, please do point me in it's direction. Or perhaps there is a guide floating around somewh...

Two currencyes + 2 Prices for every product with ubercart 2?

Hi, I am working with ubercart 6.x-2.2. My requirement in my site should support 2 currency's which i am able to do it my problem is my product will have 2 different prices where one price cannot be generated from another with some exchange rate. ex:- Product 1 INR price will be 1500 and USD Price will be 100 USD Product 1 INR price wi...

Drupal, Ubercart, products templates (prices templates)

hi, I want to change the template of my Ubercart products. More in detail, I want to add the label "From..." in front of each price. But I cannot find the template to do it. I'm also using theme developer module and this is what I get: zen_uc_product_price < phptemplate_uc_product_price < theme_uc_product_price But I cannot f...

Drupal, Ubercart: automatically complete orders (skipping pending status)

hi, can I automatically approve an order in Ubercart (skipping the "Pending" status). I'm not performing payments on my website. I just want an user to submit orders, and store them as "Completed orders". thanks ...

Theme ubercart "native" menu

This standart theme function seems not working for Ubercart menu function theme_menu_tree($tree) { return '<ul class="my classes>'. $tree .'</ul>'; } I've searched ubercart.org and did not find any answer on this. Any ideas? Thanks! ...

Ubercart cart layout

hi, I've an issue with the Ubercart cart layout in Drupal. See this image: http://dl.dropbox.com/u/72686/cart.png The column products and the products name are not aligned, for some reason. I cannot fix it with only css, because I cannot align all columns, if I hide elements, or change their size. I'm looking for the cart php templat...

Drupal, Ubercart: how can I get the order printable version programmatically ?

hi, I need to generate a pdf from Ubecarts orders. I know how to access to the printable versions of orders from my browser: i.e. "admin/store/orders/45/invoice/print" However, I was wondering how to access to the page from php, maybe using ubercart apis ? What I need is the equivalent of node_view, for orders (which is not a node). ...

drupal :: order complete hook and upgrade user permission/roles

Hello, I want to be able to upgrade user's permission after the order status shows complete. I figured out that I should use hook_order hook in order to achieve that. But how do I get to know which user has created that order and how do go about updating the permissions as well as setting up the expire time for that role automatically...

Get term id argument from ubercart catalog

Hi Trying to figure out how to get taxonomy term id from ubercart catalog page. It looks like ubercart catalog system does not support "native" drupal structure "taxonomy/term/id" I've used this snippet as argument for block provided by Views module if (arg(0) == 'taxonomy' && is_numeric(arg(2))){ return arg(2); } else { return FAL...

Change the product image when visitor makes an attribute selection in Ubercart

Current Setup Each product on the store has multiple images. When the visitor visits a product page they see a main image and a series of thumbnails (view). When they click on a thumbnail that image is instantly displayed in the main image area. Each product also has an attribute selection dropdown for example "Colour". Drupal / Uber...

Any luck with Drupal 6 and Quickbooks inventory export

Looking at the Quickbooks API I only see options to sync users. I may just need to export the fields I need directly from the database? Just hoping someone had some scripts/templates to work with this already. I am not too worried about sync as long as the client could manually import web transactions at the beginning of the day ...

Adding fields to shopping cart items

hi, I'm using Ubercart with Drupal and I was wondering if I can add more details in order / shopping cart views In particular I need to add additional fields (beside title, price, etc) to each item in the shopping cart. These fields would be CCK fields from the products content type. Thanks ...

Shopping cart summary on all website pages

hi, I want to add a block with a shopping cart summary in my website. T So I basically need to retrieve the shopping cart informations and display a brief summary of it. See picture: http://dl.dropbox.com/u/72686/cartSummary.png How can I implement this ? Of course, I still have a complete static page with the shopping cart items and...

ubercart + paypal payments... 2 questions

hi, I'm planning to use paypal payment method together with ubercart, in order to not have to take care about security issues. 1) I need to store the customers addresses in order to know where to ship the products. I was wondering if I can let customer insert the addresses in paypal, and then somehow get them, or I should ask the custo...

Do I need SSL Layer for my website if I use Paypal Standard Payment ?

If I use the completely free service Paypal Standard Payment together with Drupal Ubercart module, do I need to enable SSL Secure Layer for my website ? I guess I don't need it because the credit cards numbers are inserted in Paypal. ps. Can I embed paypal into mywebsite instead of forwarding my customers ? Thanks ...

how to replace "Remove" checkboxes in Ubercart

I'm using Ubercart and I'm customizing the shopping cart. I would like to replace the check box to select which items to remove with a link "X Remove" which dynamically removes the items (ajax reqeust I guexx) by fading them out: From this: http://www.designer-daily.com/wp-content/uploads/2009/11/ubercart.jpg to this: http://dl.dropbo...

Is there a way to have the thumbnail be a different image than the full size view?

I would like to have a different image for the thumbnail than the what the customer sees when he clicks on it. For example: In my color attribute I want to upload color samples and a preview of that product in that color. I'm sure this is possible somehow but I can't seem to find the proper module or feature. If I have to I will create...

Ubercart coupon not updating the amount in the cart

I'm using ubercart with uc_coupon, but the problem is that when I click on apply coupon, the page refreshes and I get no confirmation, nor the price changes, in the view cart. But when I proceed to checkout I can see the discount at the bottom. What should be done to dynamically update the price in the cart. ...

Theming Ubercart Order Panes

Hello I am working on an Ubercart installation on a Drupal site we are producing. Everything is going smoothly, but I am now trying to setup the order page template (uc_order module), so that the frontend developers can style it up. The page is the one you view when you go to user/[UID]/order/[ORDER-ID]. I understand how to use hooks...

how to add a lightbox to images in Ubercart cart ?

Can I apply "Custom formatters" presets to Ubercart cart ? I need to customize the html code of the images in the cart. I'm trying to do it with hook_form_alter but what I get is the output html and it is too late to modify it: [#value] = > < a href="/website/node/87">< img src="http://localhost/website/path/to/picture 1.png...