- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I enter the detail of a Configurable Product as a Client user, I do not get any options in the selection input:
However when I open the product for "Quick View", if I leave all the options of the product configurable:
Running the Firefox Web Developer Tool, I noticed that I threw the following error:
This is happening to me with most configurable products, one that works for me, but I do not know until when.
All the things I did to try to solve it:
- Delete the product and re-create it.
- Re-indexed the system indexes.
- I recreated another Atribute Set.
None of this worked for me.
The version of Magento is 2.1.7
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem I had was the template I bought at Themaforest. This was the solution of the technical support:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error: cannot call methods on priceBox prior to initialization; attempted to call method 'option
I'm having the same issue. I would be appreciated if we can get some help. My Magento version is also 2.1.7.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error: cannot call methods on priceBox prior to initialization; attempted to call method 'option
I am also facing same issue
Error: cannot call methods on priceBox prior to initialization; attempted to call method 'option'
clicking on product "gold standard whey"
configurable product drop down do not work at all.and js error thorw in console.
Any help?
Where I can find default_menu.phtml?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error: cannot call methods on priceBox prior to initialization; attempted to call method 'option
you can resolve this error here
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error: cannot call methods on priceBox prior to initialization; attempted to call method 'option
Same issue on ultimo theme 2.7.1 in Magento 2.2.2
No solution from ultimo support
Someone ave the same issue?
Thanks in advanced
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error: cannot call methods on priceBox prior to initialization; attempted to call method 'option
priceBox
please use
$(window).load(function(){});
Like this in the _create:function createPriceBundle(){} function
$(window).load(function(){
priceBox.priceBox('setDefault', opts.optionConfig.prices);
});
it will resolve
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error: cannot call methods on priceBox prior to initialization; attempted to call method 'option
For configurable product I am getting same issue when I am enabling all child product for Pre-order. it is not showing options in drop-down at Product Details page.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error: cannot call methods on priceBox prior to initialization; attempted to call method 'option
Hi, I am new in Magento 2, please describe me where I need to add mentioned the code.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error: cannot call methods on priceBox prior to initialization; attempted to call method 'option
x