Ubercart Sub-Product 6.x-1.0-rc1
File ID: 101344
Ubercart Sub-Product 6.x-1.0-rc1 Description
This module allows you to create a 'super' or 'parent' product node-type and then display a list of 'child' products in a table with a single add to cart button to add multiple products to the cart in one go.
* Integrates with Ubercart catalog (grid display)
* Integrates with attributes
* Fully customisable table, with all output themeable
* CCK intergration, add CCK fields from the child products to your table - with a new node build mode so you can fine tune their display - includes imagecache and imagefield integration.
* Choose the fields to display in your table for each child product as well as their titles and order, customisable per parent product
1) Extract the module into your sites/all/modules or sites/xx/modules folder (where xx is your site name)
2) Visit the modules page admin/build/modules and enable the module
3) Follow the configuration steps below
To setup you must:
a) Create a content type
b) Add a nodereference field to the content type that references Ubercart product nodes
c) Under the display settings for the nodereference field choose Uc Sub-product add to cart form
d) Create your sub products as regular Ubercart products
e) Create a node of this content type (the parent node) and choose the sub-products (child nodes) in the node reference field
f) When you view the parent node, the child nodes will appear in a nice add to cart table
If you want to change the cart icon, override the css using your theme, the selector is input.uc-subproduct-cart - just add something more specific,
To customise the display of fields in the table, go to /admin/content/types/list and edit the content type created at (a) above, under submission form settings enable the 'Setup display fields for UC Sub-product' checkbox and save.
Now when creating nodes of this type, you will get an additional fieldset allowing you to customise the display of fields in the table, including support for CCK.
To control the way fields are output visit the 'display fields' pages in the CCK admin pages for the product node type (admin/content/node-type/product/display/uc_subproduct), there is a new tab 'UC Sub Product' in addition to the standard normal and RSS modes.
If the core Ubercart fields (weight, dimensions etc) don't display in your table as expected, make sure they are enabled at admin/store/settings/products/edit/fields
This module was written by Lee Rowlands (larowlan) of Rowlands Group (http://www.rowlandsgroup.com). The author is available for paid customisations.
This module was sponsored by The Gallerie (http://www.thegallerie.com.au) and Website Express (http://www.website-express.co.uk).
Shopping cart icon from Glossy eCommerce Icons Pack - author Eoin McGrath from Starfish Web Consulting (http://www.starfishwebconsulting.co.uk) distributed under the LGPL
Related: Display, Table, fields, Product, Content, Module, Products, ubercart, Child, Create, Nodes, Parent, Settings, output, rowlands, Field, choose, Author, customisable
O/S:BSD, Linux, Solaris, Mac OS X
File Size: 20.5 KB
|More Similar Code|
Need to add certain products to your Ubercart product catalog that are only available for purchase through an affiliate's website, rather than directly through your own?
The Ubercart Affiliate Product module defines a new product content type that allows you to list such products. Ubercart will treat the products the same as normal products available on the site, except that instead of the "Add to Cart" button, customers...
The Ubercart Importer uses an XML format to import and export Ubercart's product catalog into the Drupal site. The current version supports the following:
* the catalog vocabulary
* the catalog terms, including its hierarchy
uc_aac is an add-on module for the Ubercart e-commerce suite. This module updates product fields via Ajax when attributes that effect those fields are modified. By default it also updates individual attribute price adjustments so that they remain...
The UC Add to Cart Tweaks product feature allows you to alter ways the add to cart form behaves for any product in your Ubercart store. The current tweaks provided allow you to empty the shopping cart when the add to cart form is submitted and to...
The UC Variable Price product feature allows you to turn any product in your Ubercart store into a variable priced product. Instead of using a fixed price entered by an administrator, customers can specify their own price for a product on the add...
Ubercart is e-commerce solution fully integrated with the leading open source content management system. Ubercart should be the best choice for anyone looking to build a community around a product, sell access to premium content, offer paid file...
Product keys consist of special strings, required by some computer programs to function at full potential.
Some features (dynamic keys, revokation, activation counts, encryption) require additional custom coding.
This module allows Ubercart store administrators to apply more fine-grained permissions to the product catalog and shopping cart.
This is particularly useful in situations where you want the general public to view most of your site,...
Ubercart Stock Notify replaces the "Add to cart" button in Ubercart with "Notify when back in stock" when a product is not in stock and the user has permission to use notifications. An email is sent to the users when the...
Ubercart Limited Time Offer adds functionality to Ubercart to make a product available for a limited time in a variety of styles - time of expiration, time remaining, active countdown, and etc.
This module may be useful for those who...
|User Review for Ubercart Sub-Product