The uCommerce picker doesn't work in Umbraco 7.2.1
Zero nodes show?
Are the prevalues for this picker required? (they are left empty)
But there is a hidden button:
When i click it, they following error shows in console:
TypeError: Cannot set property 'selected' of undefined
at swapSelectedNode (http://localhost:55014/umbraco/ucommerce/scripts/app/Controllers/content-tree.controller.js:191:17)
at Object.treeSetSelected (http://localhost:55014/umbraco/ucommerce/scripts/app/Controllers/content-tree.controller.js:182:3)
at http://localhost:55014/umbraco/lib/angular/1.1.5/angular.min.js:74:98
at http://localhost:55014/umbraco/lib/angular/1.1.5/angular-mobile.js:270:9
at Object.e.$eval (http://localhost:55014/umbraco/lib/angular/1.1.5/angular.min.js:92:272)
at Object.e.$apply (http://localhost:55014/umbraco/lib/angular/1.1.5/angular.min.js:92:379)
at HTMLDivElement.<anonymous> (http://localhost:55014/umbraco/lib/angular/1.1.5/angular-mobile.js:269:13)
at HTMLDivElement.x.event.dispatch (http://localhost:55014/umbraco/lib/jquery/jquery-2.0.3.min.js:10:11778)
at HTMLDivElement.y.handle (http://localhost:55014/umbraco/lib/jquery/jquery-2.0.3.min.js:10:7906)
Yes prevalues are required. It is not that obvious but you need to set which tree to select from (we have different configurations that shows different parts of the tree) and then what type you want to be able to select (which node types are selectable).
Can you explain what it is that you're trying to achieve so i can provide an exact answer :) ?
I would like to change the property editor so it is a little more easy to configure. Unfortunately i haven't had the time :(
The "selector" prevalue points to the different node types rendered in the tree. It is a comma seperated list you can type in, so for products and variants it is:
product,productVariant (just remove either if you only need to select one thing).
The "tree" prevalue points to a configuration in uCommerce, that chooses what part of the tree to render. Right now we have configured it to be with or without products from the catalog section.
Choose between "products" and "catalog".
More specifically:
if you look in Core.config under "/umbraco/ucommerce/configuration" it points to the implementations of ContentNodeService"
uCommerce picker: failed to load
The uCommerce picker doesn't work in Umbraco 7.2.1
Zero nodes show?
Are the prevalues for this picker required? (they are left empty) But there is a hidden button:
When i click it, they following error shows in console:
Hi Rasmus,
Yes prevalues are required. It is not that obvious but you need to set which tree to select from (we have different configurations that shows different parts of the tree) and then what type you want to be able to select (which node types are selectable).
Can you explain what it is that you're trying to achieve so i can provide an exact answer :) ?
Best regards
Morten
Hi Morten,
I'am trying to select products from uCommerce.
Do you have any documentation on this picker?
Best regards/venlig hilsen
Rasmus
Hi Rasmus,
and sorry for the late reply.
I would like to change the property editor so it is a little more easy to configure. Unfortunately i haven't had the time :(
The "selector" prevalue points to the different node types rendered in the tree. It is a comma seperated list you can type in, so for products and variants it is:
product,productVariant (just remove either if you only need to select one thing).
The "tree" prevalue points to a configuration in uCommerce, that chooses what part of the tree to render. Right now we have configured it to be with or without products from the catalog section.
Choose between "products" and "catalog".
More specifically:
if you look in Core.config under "/umbraco/ucommerce/configuration" it points to the implementations of ContentNodeService"
The injected "serviceType" is the available options :)
Hope this helps you in the right direction.
is working on a reply...