Re: Modeling of standard rates
Hi Emad, You can create a production run job and can create a BoM for the components used and define the labor rate for service charges. Here are the demo data for labor costs: And the workEffortId is the task id where you can link this labor cost so when the task is completed the cost automatically project on the production run job. On Thu, Jul 13, 2023 at 12:34 AM Emad Radwan wrote: > Hello Community, > > I want to configure Ofbiz in a Car Dealer Workshop and I have a requirement > to model standard rates for a combination like 'How long it takes to change > oil for Toyota Camry'. I thought of the following: > > - Changing oil will be defined as a service. > - Car make and model can be defined as Product Features > - I also thought that the rate itself - 30 minutes - can also be defined as > a new feature. > > The question - if you're ok with the above - is how to link them all > together to represent a unique value. > > Regards, > Emad > -- Kind Regards, Yashwant Dhakad
User Entered Text on Order
Happy Thursday... I am looking for a way where a user can enter custom text on an order line item. A user orders a toolbag and wants to have his name embroidered on it in Red thread. It's fairly easy to set up a configurable item with a thread color selection but where would be a good place to start for a name entry of 10 letters. The only discussion I have been able to find is from back in 2016 on MarkMail. https://ofbiz.markmail.org/search/?q=user-provided+data#query:user-provided%20data+page:1+mid:qj53fjm3s5qydvmh+state:results Any pointers are most appreciated. Thanks. Bill
Re: User Entered Text on Order
Hey Bill, Take a look at the demo content and see how the Gift Cards are setup - they have a product survey that captures the user's response to questions. https://demo-stable.ofbiz.apache.org/ecommerce/gift-card-activation-c50-GC-001-C50-p Hope that helps, Jason On 13/07/2023 14:58, Bill Harder wrote: Happy Thursday... I am looking for a way where a user can enter custom text on an order line item. A user orders a toolbag and wants to have his name embroidered on it in Red thread. It's fairly easy to set up a configurable item with a thread color selection but where would be a good place to start for a name entry of 10 letters. The only discussion I have been able to find is from back in 2016 on MarkMail. https://ofbiz.markmail.org/search/?q=user-provided+data#query:user-provided%20data+page:1+mid:qj53fjm3s5qydvmh+state:results Any pointers are most appreciated. Thanks. Bill
Re: User Entered Text on Order
Thank you Jason. I see how that works now. Are you aware of any other inputs that might be on the same initial screen? I am thinking about OOTB so I don't have to custom develop. Bill On Thu, Jul 13, 2023 at 8:34 AM Jason RJ wrote: > Hey Bill, > > Take a look at the demo content and see how the Gift Cards are setup - > they have a product survey that captures the user's response to questions. > > > https://demo-stable.ofbiz.apache.org/ecommerce/gift-card-activation-c50-GC-001-C50-p > > Hope that helps, > > Jason > > On 13/07/2023 14:58, Bill Harder wrote: > > Happy Thursday... > > > > I am looking for a way where a user can enter custom text on an order > line > > item. > > > > A user orders a toolbag and wants to have his name embroidered on it in > Red > > thread. It's fairly easy to set up a configurable item with a thread > color > > selection but where would be a good place to start for a name entry of 10 > > letters. > > > > The only discussion I have been able to find is from back in 2016 on > > MarkMail. > > > https://ofbiz.markmail.org/search/?q=user-provided+data#query:user-provided%20data+page:1+mid:qj53fjm3s5qydvmh+state:results > > > > Any pointers are most appreciated. Thanks. > > > > Bill > > -- Bill Harder OsZ Technologies 256 N State St Ste D Hemet, CA 92543 Voice: 818-632-5790 eMail: bhar...@osz.com www: www.osz.com
Re: User Entered Text on Order
Hi Bill I don't think you have another OOTB option except the 'comment' box on the product page. You could add some text to the product description to tell the user that they should provide their chosen name in the comment field. This gets carried through to an Order Item Attribute and is shown on the checkout screen etc. You might have comments disabled depending on the value of 'order.item.comment.enable' in order.properties. Jason On 13/07/2023 18:27, Bill Harder wrote: Thank you Jason. I see how that works now. Are you aware of any other inputs that might be on the same initial screen? I am thinking about OOTB so I don't have to custom develop. Bill On Thu, Jul 13, 2023 at 8:34 AM Jason RJ wrote: Hey Bill, Take a look at the demo content and see how the Gift Cards are setup - they have a product survey that captures the user's response to questions. https://demo-stable.ofbiz.apache.org/ecommerce/gift-card-activation-c50-GC-001-C50-p Hope that helps, Jason On 13/07/2023 14:58, Bill Harder wrote: Happy Thursday... I am looking for a way where a user can enter custom text on an order line item. A user orders a toolbag and wants to have his name embroidered on it in Red thread. It's fairly easy to set up a configurable item with a thread color selection but where would be a good place to start for a name entry of 10 letters. The only discussion I have been able to find is from back in 2016 on MarkMail. https://ofbiz.markmail.org/search/?q=user-provided+data#query:user-provided%20data+page:1+mid:qj53fjm3s5qydvmh+state:results Any pointers are most appreciated. Thanks. Bill
Re: User Entered Text on Order
Actually Bill I see you've said you are using a configurable item for the thread color, so you probably won't have the comment box visible as they are missing from configurable product screen template. You might consider using a virtual product with the thread colors features to drive variants instead if that's the case, then you'll get the comment box back. Failing that a small code change to pull the comment code into ConfigProductDetail.ftl <#assign commentEnable = Static["org.apache.ofbiz.entity.util.EntityUtilProperties"] .getPropertyValue("order", "order.item.comment.enable", delegator)> <#if commentEnable.equals("Y")> <#assign orderItemAttr = Static["org.apache.ofbiz.entity.util.EntityUtilProperties"] .getPropertyValue("order", "order.item.attr.prefix", delegator)> ${uiLabelMap.CommonComment} class="form-control" name="${orderItemAttr}comment" id="${orderItemAttr}comment"/> Jason On 13/07/2023 21:07, Jason RJ wrote: Hi Bill I don't think you have another OOTB option except the 'comment' box on the product page. You could add some text to the product description to tell the user that they should provide their chosen name in the comment field. This gets carried through to an Order Item Attribute and is shown on the checkout screen etc. You might have comments disabled depending on the value of 'order.item.comment.enable' in order.properties. Jason On 13/07/2023 18:27, Bill Harder wrote: Thank you Jason. I see how that works now. Are you aware of any other inputs that might be on the same initial screen? I am thinking about OOTB so I don't have to custom develop. Bill On Thu, Jul 13, 2023 at 8:34 AM Jason RJ wrote: Hey Bill, Take a look at the demo content and see how the Gift Cards are setup - they have a product survey that captures the user's response to questions. https://demo-stable.ofbiz.apache.org/ecommerce/gift-card-activation-c50-GC-001-C50-p Hope that helps, Jason On 13/07/2023 14:58, Bill Harder wrote: Happy Thursday... I am looking for a way where a user can enter custom text on an order line item. A user orders a toolbag and wants to have his name embroidered on it in Red thread. It's fairly easy to set up a configurable item with a thread color selection but where would be a good place to start for a name entry of 10 letters. The only discussion I have been able to find is from back in 2016 on MarkMail. https://ofbiz.markmail.org/search/?q=user-provided+data#query:user-provided%20data+page:1+mid:qj53fjm3s5qydvmh+state:results Any pointers are most appreciated. Thanks. Bill
Re: User Entered Text on Order
Thank you very much. Those are some great starting points. Happy Thursday... Bill On Thu, Jul 13, 2023 at 1:23 PM Jason RJ wrote: > Actually Bill I see you've said you are using a configurable item for > the thread color, so you probably won't have the comment box visible as > they are missing from configurable product screen template. You might > consider using a virtual product with the thread colors features to > drive variants instead if that's the case, then you'll get the comment > box back. > > Failing that a small code change to pull the comment code into > ConfigProductDetail.ftl > > <#assign commentEnable = > Static["org.apache.ofbiz.entity.util.EntityUtilProperties"] > .getPropertyValue("order", "order.item.comment.enable", > delegator)> > <#if commentEnable.equals("Y")> ><#assign orderItemAttr = > Static["org.apache.ofbiz.entity.util.EntityUtilProperties"] >.getPropertyValue("order", "order.item.attr.prefix", > delegator)> > > > ${uiLabelMap.CommonComment} class="form-control" name="${orderItemAttr}comment" > id="${orderItemAttr}comment"/> > > > > Jason > > On 13/07/2023 21:07, Jason RJ wrote: > > Hi Bill > > > > I don't think you have another OOTB option except the 'comment' box on > > the product page. You could add some text to the product description > > to tell the user that they should provide their chosen name in the > > comment field. This gets carried through to an Order Item Attribute > > and is shown on the checkout screen etc. > > > > You might have comments disabled depending on the value of > > 'order.item.comment.enable' in order.properties. > > > > Jason > > > > On 13/07/2023 18:27, Bill Harder wrote: > >> Thank you Jason. > >> > >> I see how that works now. Are you aware of any other inputs that > >> might be > >> on the same initial screen? > >> > >> I am thinking about OOTB so I don't have to custom develop. > >> > >> Bill > >> > >> On Thu, Jul 13, 2023 at 8:34 AM Jason RJ wrote: > >> > >>> Hey Bill, > >>> > >>> Take a look at the demo content and see how the Gift Cards are setup - > >>> they have a product survey that captures the user's response to > >>> questions. > >>> > >>> > >>> > https://demo-stable.ofbiz.apache.org/ecommerce/gift-card-activation-c50-GC-001-C50-p > >>> > >>> > >>> Hope that helps, > >>> > >>> Jason > >>> > >>> On 13/07/2023 14:58, Bill Harder wrote: > Happy Thursday... > > I am looking for a way where a user can enter custom text on an order > >>> line > item. > > A user orders a toolbag and wants to have his name embroidered on > it in > >>> Red > thread. It's fairly easy to set up a configurable item with a thread > >>> color > selection but where would be a good place to start for a name entry > of 10 > letters. > > The only discussion I have been able to find is from back in 2016 on > MarkMail. > > >>> > https://ofbiz.markmail.org/search/?q=user-provided+data#query:user-provided%20data+page:1+mid:qj53fjm3s5qydvmh+state:results > >>> > Any pointers are most appreciated. Thanks. > > Bill > > >> > >> -- Bill Harder OsZ Technologies 256 N State St Ste D Hemet, CA 92543 Voice: 818-632-5790 eMail: bhar...@osz.com www: www.osz.com