Active
Project:
Commerce Pricing Attributes
Version:
7.x-1.0-beta4
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2014 at 00:07 UTC
Updated:
3 Nov 2015 at 14:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dxxComment #2
dxxComment #3
Anonymous (not verified) commentedThe call to this function should be replaced with a call to commerce_option_set_load_multiple(FALSE), see commerce_option.module
Comment #4
dxxYes, thank you very much for our work!
Comment #5
fugazi commentedI have the same problem with commerce_option-7.x-2.x-dev . White screen and above error message.
I would appreciate any info.
I have also published an issue here https://www.drupal.org/node/2383731, and linked
Comment #6
danreb commentedThis is a major issue, it kills even the node/add/products and throws the error.
Comment #7
Anonymous (not verified) commentedHere's a very simple patch, I've just replaced the incorrect function call with the correct one.
I very much doubt it will make the version 2.x of commerce option compatible with commerce pricing attributes though, since the 2.x version is a pretty big rewrite. But I guess you can try.
If it doesn't work you can always switch back to the 1.x version of commerce option.
Comment #8
danreb commented@samspinoy, you're right! the patch removes the error and restore the website to life, but the pricing attributes seems to not working, it doesn't change the price once switch attributes. Trying to switch back to old version of commerce_option.module also isn't possible as the website now looking for a missing database field.
Comment #9
lanceh1412 commentedI don't know if this helps but if you had one attribute you wanted to charge extra for and one you didn't (e.g. print options Small, Large and colour options - red, green, blue) you could use the commerce_option module to handle the colour options and then have two different products for the print options each having a different price.
(That's if you wanted to carry on using version 2)
Comment #10
fugazi commentedConfirm that the patch restores the function of the page. It is prize specify able atribute, but they are not displayed in the product page.
View Screenshot
Maybe someone has an idea?
Comment #11
fugazi commentedsorry my mistake did not select a price attribute field, works as intended.
if I put the product in the cart, I get the error severe:
PHP Fatal error: Call to undefined function commerce_product_attributes_access_to_line_item () in /commerce_pricing_attributes/commerce_pricing_attributes.module on line 937, referer: / product display / product-122Comment #12
mattf100 commentedSo this module doesn't work at all because of this error. I installed:
commerce_pricing_attributes-7.x-1.0-beta4
Along with required dependencies:
commerce_option-7.x-2.0-beta1
commerce_product_attributes-7.x-1.0-beta3
First, I encountered this issue (Fatal Error). So I uninstalled all three modules, then reinstalled the above, replacing commerce_option-7.x-2.0-beta1 with commerce_option-7.x-1.0-beta2.
Now, I no longer get the fatal error, but the module doesn't work! When I add a product to the cart, and select one of the options with a price, the price doesn't update. So the module doesn't work, even when using v1 of the option module.
This is very frustrating, since this module would be very useful, if only it worked. If I've missed something, and it is possible to get this module working, I would appreaciate any advice.
Thanks
Comment #13
mattf100 commentedAfter searching through issues queue, I found a patch that (mostly) fixes this issue: https://www.drupal.org/node/2420303#comment-9720529
Comment #14
thaistore commentedthis definately does not work
I dont get error anymore
commerce_pricing_attributes.module on line 324
when ading the field to content variation though
but the prices do not update when you select the attribute, they stay the same
Comment #15
alexgreyhead commentedI am also getting the undefined function error in the current stable version. Bit frustrating if the patch means the module doesn't work. :(