I made a few mods to the module to fix some problems I had on my system -because of the module or my implementation.
1/ My need (on www.valeriesabban.com) is to use the nodes already existing to be considered as products.
So I changed all references to "product" by "les_toiles" (machine name of the existing nodes in my site)
then, thaught it would be easier to use a define such as :
define('NODE_TYPE','les_toiles');
obviously I changed by NODE_TYPE on the 7 line such as :
if ($content_type == NODE_TYPE) {
==> a new feature would be to have this as a configurable value on settings.

2/ I consider the field_image rather than uc_product_image field
on an other hand, there is a call to "original" property that I never saw.
==> I made some changes (listed on the attached file)

3/ I never succeed in getting the image field stored on the uc_gbase table, either seing them on the "Ubercart Google Base Integration Settings" section of the node.
==> I changed the form to get a text field (listed on the attached file)

All this may help.

Attached, the file I produced

CommentFileSizeAuthor
uc_gbase.module.txt30.11 KBfred@familleloup.com

Comments

compujohnny’s picture

Status: Active » Fixed

Fixed the images list problem and added a new configuration form to configure additional content types and product classes, please wait for the new dev package or pull the latest code from git

compujohnny’s picture

Status: Fixed » Closed (fixed)