I'm excited about 7.x-2.x-dev unfortunately it does not work with https://www.drupal.org/project/commerce_pricing_attributes.
Once activated, the modules and settings of the field, you get a white screen and error message PHP Fatal error: Call to undefined function commerce_option_get_sets () in sites / all/modules/commerce_pricing_attributes/commerce_pricing_attributes.module on line 324
After verification of issus in commerce Pricing Attributes I came to this issus. https://www.drupal.org/node/2367973
But with version 7.x-2.x-dev is already the predicted functions to FALSE, and still you get the error.
It would be great if this a problem is solved. 7.x-2.x-dev is a perfect way for me.
I had now returned to 7.x-1.0-beta2 because everything works. But 2.x-dev has all new functions that make me anything more easier.
Thank you for the great module.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 02-12-_2014_12-45-54.mp4 | 690.13 KB | fugazi |
Comments
Comment #1
fugazi commentedComment #2
Anonymous (not verified) commentedIt is commerce pricing attributes that needs to have the call to the new function updated. As long as that doesn't happen the two will not be compatible.
But let's start from the beginning? Why are you using commerce pricing attributes? What are you trying to achieve with your setup?
Comment #3
fugazi commentedHello samspinoy,
First many thanks for your reply. I wanted to create additional fields with the prices of the sum are offset.
example:
size
1
2
3 + 19,99 €
4
5 + 29,99 €
After selecting the amount will be allocated from the standard price.
Comment #4
Anonymous (not verified) commentedHello,
Please tell me what you mean by "with the prices of the sum are offset".
If I understand you correctly, users should be able to select a Commerce Option that contains an add-on to the price? So they select an option, press add to cart and the price should be augmented/subtracted by/with this add-on amount?
Comment #5
fugazi commentedexactly, The award shall be reckoned, sorry for my bad english. And commerce pricing attributes the price has just been created plus or minus on the product page.
Comment #6
Anonymous (not verified) commentedIf you do not need these changes to happen "on click" you could probably just use Commerce Option and Rules.
If you want some sort of Ajax magic, where the price is adjusted immediately after a user select/deselects an option (and this before the Add to Cart button is pressed), that's gonna be a different story. You're probably going to need something custom then.
Comment #7
fugazi commentedI tested version 1 with commerce pricing attributes and it worked as intended. Ajax updates the price and it looks as intended from. Then I tried to install version 2 and Fatal error came.
I really do not do anything custom, I use what is possible with the modules.
Since it works in version 1, I thought it would work well in version 2.
I'm building with commerce kickstart, and we're honest, purchased for the customer which there is nothing better when he sees the amended award immediately. Or have I got that wrong.
It is to be so customer friendly. I think it's bad when the buy buyer only sees the price in shopping cart.
So I am not mistaken, the version 2 not with commerce pricing attributes is compatible. crap :(
Comment #8
fugazi commentedThen that's also important to mention that commerce pricing attributes is not compatible. It is important for people who want the same thing as me. It really saves a lot of time to look for errors.
Would not optimize for a version 2 makes sense?
Comment #9
fugazi commentedScreenshot
Comment #10
Anonymous (not verified) commentedI agree 100%.
And I can see what you're getting at, and indeed, it does seem the 2.x version of Commerce Option is not compatible with the pricing attributes module.
I'll have a look and see if I can find a generic solution for this problem.
Comment #11
fugazi commentedthank you, I would be very happy
Comment #12
fugazi commentedHave applied the patch from here https://www.drupal.org/node/2367973#comment-9395181, unfortunately, the price will not attribute applied.
See Screenshot https://www.drupal.org/node/2367973#comment-9409537
Perhaps already have an idea?
Comment #13
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-122dublicate of https://www.drupal.org/node/2367973#comment-9409567
Comment #14
Channel Islander commentedThis is pretty frustrating. I, too, was using Commerce Option only because it is a dependency of Commerce Attribute Pricing, which is the module I really need.
I first loaded 1.0-beta2 since the project page gave a warning about the dev version not playing nicely. Even though this was a fresh install I wanted to be conservative. So I went with 1.0-beta2, and ran into the problem with it not displaying the selected Commerce Pricing Attributes in the line item, shopping cart, order view, etc. The solution was given to update this module to the dev version.
So I uninstalled 1.0-beta2, which is a pretty big undertaking because of having created data in field types you are trying to remove, but I got 'er done. Installed the 2.x-dev version instead, everything built okay but I ran into this problem with "Call to undefined function commerce_option_get_sets"
So I can choose version 1 or version 2, but neither one actually works properly with Commerce Pricing Attributes.
Comment #15
FranCarstens commentedChannel Islander, not sure if this is what you're looking for: https://www.drupal.org/files/issues/commerce_pricing_attributes-fix_call...
Comment #16
Channel Islander commentedThanks FranCarstens, but that patch only gets you along to the next failure.
As the maintainer says on https://www.drupal.org/node/2367973#comment-9395181,
.
Note that "You can always switch back" is not really a full description of how much work it is to roll back ... you will need to manually delete fields from the database as well as any products using option sets from version 2.
Would be so nice if these two modules could be made to work together nicely.
Comment #17
FranCarstens commentedI agree Channel Islander. We had to do the same; fall back to 1.x, that is.
Comment #18
Marvin Daugherty commented2.x had such possibilities. I wish I had the time to help make it usable.
Comment #19
thaistore commentedany news? I have exact the same problem, applied tha short patch not getting ajax error or white screen but the prices do not get updated anymore...
Comment #20
thaistore commentedhow to even uninstall pricing module? It has a lot of dependencies, can I just overwrite files with module version 1?