Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Craft\Commerce_TaxCategoryModel behaviors no method or closure with name "optgroup". #9

Closed
Floriswijgergangs opened this issue Oct 12, 2016 · 5 comments

Comments

@Floriswijgergangs
Copy link

Floriswijgergangs commented Oct 12, 2016

Getting this error after installing Craft CMS - Craft Commerce and Digital products.
Is it something with the whole new Commerce 1.2?
It happends when I click + New product in the digital products section

image

@lukeholder
Copy link
Member

Sorry about that, you can update the latest release 1.0.2 with the fix: https://github.com/pixelandtonic/DigitalProducts/releases

@Floriswijgergangs
Copy link
Author

Updated to 1.0.2. but still getting the same error.

@lukeholder
Copy link
Member

Can you clear your templates cache from the control panel for me?

Can you also confirm you see in line 59 of plugins/digitalproducts/templates/products/_fields.html this code after updating to 1.0.2:

options: craft.commerce.getTaxCategories(true)

@Floriswijgergangs
Copy link
Author

Auch, I reinstalled it, but the cache.., Sorry for that one. It works. Thanks!

@lukeholder
Copy link
Member

No worries, glad it's working for you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants