Closed (fixed)
Project:
Ubercart Google Merchant Integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Oct 2009 at 10:01 UTC
Updated:
13 Jul 2012 at 07:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
barry769 commentedI am interested in this functionality as well. Is there any work being done on this?
Comment #2
OzSchmoz commentedYes, me too! Most of my products are listed within alternative product classes.
Thanks for a great module.
Comment #3
bloke_zero commentedif you're looking for a quick fix you can always change line 225 of uc_gbase.module to include the product types you need. For example if you want to include a product class called 'nyloop' (you can use the devel module to get the node type, or easier firefox/firebug/drupal for firebug module) you can change the line to look something like:
It's not a good solution long term of course, and I'm still in the process of setting this up so that might not be the complete solution.
Of course every time the node type is checked you'll need to change the line ...
Comment #4
ahimsauziGreat Module! Subscribing!
Comment #5
excellira commentedPlease see http://drupal.org/node/739968
Comment #6
kabojnk commentedThere is a quick fix to this in version 1.0. Open uc_gbase.module and change line 225 from this:
to this:
Thankfully ubercart has a built-in method to detect whether a node edit form belongs to a product or product class. Don't have time to submit a patch right now, but if somebody wants to do it feel free.
Comment #7
Volx commentedChanging this to a critical bug, because it renders this module useless. It is not up to this module to decide what a product is, that is Ubercart's job and Ubercart provides API function to determine which node is a product. I attached a patch that changes the hard-coded content-type checks into Ubercart API calls.
Comment #8
kabojnk commentedI can verify that the patch works on my end.
Comment #9
compujohnny commentedfixed in the latest dev version