Page 1 of 1

Target System in Offer implementation in Admin

Posted: Sun Jun 22, 2014 3:48 am
by retaildev
Hi,

I was seeing the offer impl in admin and found this target implementation which gets stored as free text but didn't able to found a usage for this. I am looking at the code of 3.0GA. Also the input is a very text without any validation

I also looked at the demo hosted on broadleaf, which i suppose is latest admin and enterprise version. There also i see that target system is a free text and without validation and onetoone mapping.

Would like to know what is the use of target system, is this for multichannel system but why there is no validation on the value input.

This brings me to a very basic thing, why in whole admin there is not a single implementation for autosuggest which could be very helpful in this kind of a scenario.

Thanks
Dev

Re: Target System in Offer implementation in Admin

Posted: Mon Jun 23, 2014 11:44 am
by phillipuniverse
There is not an example of typeahead out of the box, but you could enable it via an @AdminPresentationToOneLookup in Broadleaf 3.1. We didn't do this in our OOB implementation because we realized that for the cases that we used it, it wasn't all that usable (we were using it for Product Names or Category Names etc).

You can see the functionality if you mark up a @OneToOne or @ManyToOne with 'enableTypeaheadLookup = true'.

The original purpose behind the 'target system' specifically was to differentiate between a web-based offer and an in-store based offer. I do not think we currently have a well-designed use case for it in Broadleaf but others might be utilizing it differently.

Re: Target System in Offer implementation in Admin

Posted: Mon Jun 23, 2014 2:14 pm
by retaildev
Hi Phillip,

Thanks for your response. I have to try this for populating some master data to an entity column based on autosuggest feature.

Thanks
Dev

Re: Target System in Offer implementation in Admin

Posted: Wed Oct 15, 2014 12:17 am
by sara736
It will be grateful if you could point me to an example or something..