Since the EmporiumPlus Addendum module is no longing being supported are there how-to docs on how to convert from it? Sort of like the examples Bill used to give on how to use each type of field, how to collect the data, how to retrieve it and how to email it. I've found some instructions but coding examples (that can be copy, pasted and edited) like Bill gave are needed.
Announcement
Collapse
No announcement yet.
Converting from the EP Addendum module
Collapse
X
-
Converting from the EP Addendum module
Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Tags: None
-
Example to include - radio button and drop down select lists
Also note that the EP module lets you put the questions on the OCST, OSEL or OPAY screenLast edited by lesliekirk; 06-15-18, 01:11 PM.Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
-
I tried to use the snippet that is in the Levels Ready Theme to collect info. I placed it on the OCST screen (this is where the Addendum questions were collected)
Code:<div class="form_row"> Comments:<br> <mvt:if expr="g.Previous_Screen EQ 'OSEL'"> <mvt:item name="customfields" param="Write_Basket('order_comments', g.order_comments)" /> <mvt:else> <mvt:item name="customfields" param="Read_Basket('order_comments', g.v)" /> </mvt:if> <textarea name="order_comments" rows="6" class="input">&mvte:global:order_comments;</textarea> </div>
When I tested it, no data was passed on with the order. Something tells me I have missed many steps.
Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Comment
-
Joining in here. I'd also like this answered.
JamieJamie Donaldson
JSDVS Web Design / Development
Web Design | Web Development | E-commerce Design & Integration
Comment
-
While basket fields are great (cause they can be created on the fly) I believe you have to explicitly write them to order fields. Now, the issue is WHERE. I use the Order_Customer_Confirmation email as this generally the first available Fulfillment function you have access too.
So, at the top of that template:
Code:<mvt:item name="customfields" param="Read_Basket('order_comments', g.order_comments)" /> <mvt:if expr="g.v"> <mvt:item name="customfields" param="Write_Order(l.settings:order:id, 'order_comments', g.order_comments)" /> </mvt:if>
Bruce Golub
Phosphor Media - "Your Success is our Business"
Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
phosphormedia.com
Comment
-
My understanding is that basket fields are automatically converted to order fields when the order is completed, if there is an order field defined in the store that has the same field code as the basket field. However, I've run into cases where this doesn't seem to work. Part of the problem is that the conversion is done by the Custom Fields module when it's triggered by the fulfillment-module API. But by that time, other fulfillment modules may have already run. So important things, like the sending of notification emails, may already be done before the basket fields are converted.
For that reason, I sometimes end up writing my own Write_Order() tags to save the fields. In other cases, people write if/else blocks so that their code can read either or both fields. (In case anyone in-house is interested, my recommendations are to either provide admin settings to control the execution order of fulfillment modules, or add a new pre-fulfill or post-fulfill function to the module API.)
HTH --Kent Multer
Magic Metal Productions
http://TheMagicM.com
* Web developer/designer
* E-commerce and Miva
* Author, The Official Miva Web Scripting Book -- available on-line:
http://www.amazon.com/exec/obidos/IS...icmetalproducA
Comment
-
Originally posted by Kent Multer View PostMy understanding is that basket fields are automatically converted to order fields....
HTH --
BTW: Check out my post in developers if you have a sec.Bruce Golub
Phosphor Media - "Your Success is our Business"
Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
phosphormedia.com
Comment
-
Originally posted by Bruce - PhosphorMedia View Post
BTW: Check out my post in developers if you have a sec.Kent Multer
Magic Metal Productions
http://TheMagicM.com
* Web developer/designer
* E-commerce and Miva
* Author, The Official Miva Web Scripting Book -- available on-line:
http://www.amazon.com/exec/obidos/IS...icmetalproducA
Comment
-
Bruce Golub
Phosphor Media - "Your Success is our Business"
Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
phosphormedia.com
Comment
-
Hmmm, can't see the page; it says, "Sorry, you are not authorized to view this page." I think that means someone at Miva took it off-line?Kent Multer
Magic Metal Productions
http://TheMagicM.com
* Web developer/designer
* E-commerce and Miva
* Author, The Official Miva Web Scripting Book -- available on-line:
http://www.amazon.com/exec/obidos/IS...icmetalproducA
Comment
-
odd, can you access the developers forum?Bruce Golub
Phosphor Media - "Your Success is our Business"
Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
phosphormedia.com
Comment
-
If you mean the Miva Script & Empresa forum, then Yes. But I see that the link you posted includes the path ".../developer-partners/..." Is there a separate forum for that? If so, how do I subscribe? It's not listed on the regular Forum page.Kent Multer
Magic Metal Productions
http://TheMagicM.com
* Web developer/designer
* E-commerce and Miva
* Author, The Official Miva Web Scripting Book -- available on-line:
http://www.amazon.com/exec/obidos/IS...icmetalproducA
Comment
-
I'll just send it :)Bruce Golub
Phosphor Media - "Your Success is our Business"
Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
phosphormedia.com
Comment
-
Just checking - Kent and Sabine did you get added to the developers' forum? https://www.miva.com/forums/forum/pa...loper-partnersLeslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Comment
Comment