This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <mvt:if expr="l.settings:MYITERATORHERE_CHANGEME:link_type EQ 'P'"> | |
| <mvt:do file="g.Module_Feature_URI_UT" name="l.settings:MYITERATORHERE_CHANGEME:link" value="Store_Product_Code_URL(l.settings:MYITERATORHERE_CHANGEME:link_dest, NULL)" /> | |
| <mvt:elseif expr="l.settings:MYITERATORHERE_CHANGEME:link_type EQ 'C'"> | |
| <mvt:do file="g.Module_Feature_URI_UT" name="l.success" value="Store_Category_Code_URL( l.settings:MYITERATORHERE_CHANGEME:link_dest, NULL )" /> | |
| <mvt:elseif expr="l.settings:MYITERATORHERE_CHANGEME:link_type EQ 'G'"> | |
| <mvt:do file="g.Module_Feature_URI_UT" name="l.settings:MYITERATORHERE_CHANGEME:link" value="Store_Page_Code_URL(l.settings:MYITERATORHERE_CHANGEME:link_dest, NULL)" /> | |
| <mvt:elseif expr="l.settings:MYITERATORHERE_CHANGEME:link_type EQ 'U'"> | |
| <mvt:assign name="l.settings:MYITERATORHERE_CHANGEME:link" value="l.settings:MYITERATORHERE_CHANGEME:link_dest" /> | |
| </mvt:if> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <mvt:comment> | |
| Logic to determine Next 'Tuesday' | |
| Tuesday is "3"" | |
| </mvt:comment> | |
| <mvt:assign name="l.dayofweek" value="3" /> | |
| <mvt:assign name="l.today_dow" value="time_t_dayofweek( s.dyn_time_t, g.Merchant_Local_Timezone )" /> | |
| <mvt:comment> | |
| If today is Wednesday, Thursday, Friday, ship next Tuesday | |
| Else, Ship Next Next Tuesday |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <mvt:comment> | |
| Logic to determine Next 'Tuesday' | |
| Tuesday is "3"" | |
| </mvt:comment> | |
| <mvt:assign name="l.dayofweek" value="3" /> | |
| <mvt:assign name="l.today_dow" value="time_t_dayofweek( s.dyn_time_t, g.Merchant_Local_Timezone )" /> | |
| <mvt:assign name="l.math" value="( ( l.today_dow - l.dayofweek ) - 7 ) * -1" /> | |
| <mvt:assign name="l.next_tuesday" value="mktime_t( s.tm_year, s.tm_mon, s.tm_mday, 0, 0, 0, g.Merchant_Local_Timezone ) + ( 60 * 60 * 24 * l.math )" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <mvt:assign name="l.settings:special_chars" value="miva_array_deserialize('Á,á,À,Â,à,Â,â,Ä,ä,Ã,ã,Å,å,Æ,æ,Ç,ç,Ð,ð,É,é,È,è,Ê,ê,Ë,ë,Í,í,Ì,ì,Î,î,Ï,ï,Ñ,ñ,Ó,ó,Ò,ò,Ô,ô,Ö,ö,Õ,õ,Ø,ø,ß,Þ,þ,Ú,ú,Ù,ù,Û,û,Ü,ü,Ý,ý,ÿ')" /> | |
| <mvt:assign name="l.settings:replace_chars" value="miva_array_deserialize('A,a,A,A,a,A,a,A,a,A,a,A,a,AE,ae,C,c,D,d,E,e,E,e,E,e,E,e,I,i,I,i,I,i,I,i,N,n,O,o,O,o,O,o,O,o,O,o,O,o,s,T,t,U,u,U,u,U,u,U,u,Y,y,y')" /> | |
| <mvt:assign name="g.test_string" value="'Ýó Ðüðê'" /> | |
| <mvt:assign name="g.clean_test_string" value="glosub_array( g.test_string, l.settings:special_chars, l.settings:replace_chars )" /> | |
| &mvte:global:test_string; -> &mvte:global:clean_test_string; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <mvt:if expr="l.settings:navigation_version EQ 'mobile'"> | |
| <ul id="js-navigation-set" class="navigation-set horizontal-drop-down"> | |
| <mvt:foreach iterator="navigationitem" array="readytheme:navigationitems"> | |
| <li class="level-1"> | |
| <mvt:if expr="NOT ISNULL l.settings:navigationitem:items"> | |
| <span class="parent">&mvt:navigationitem:link;</span> | |
| <ul> | |
| <mvt:foreach iterator="navigationitem_level2" array="navigationitem:items"> | |
| <li class="level-2"> | |
| <mvt:if expr="NOT ISNULL l.settings:navigationitem_level2:items"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <mvt:item name="readytheme" param="Load_ContentSection( 'theme-settings', g.theme_settings )" /> | |
| <mvt:do file="g.Module_Feature_TUI_DB" name="l.loaded" value="ManagedTemplate_Load_ID(g.theme_settings:templ_id, l.loaded_paged)" /> | |
| <mvt:assign name="l.all_settings" value="l.settings" /> | |
| <!-- | |
| <mvt:do file="g.Store_Template_Path $ l.loaded_paged:filename" name="l.null" value="Template_Render(l.settings, l.all_settings)" /> | |
| --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <mvt:assign name="l.settings:scopes" value="miva_array_deserialize( 'l,g,s' )" /> | |
| <table border="1"> | |
| <mvt:foreach iterator="scope" array="scopes"> | |
| <tr> | |
| <td colspan="2"><h1>&mvt:scope;</h1></td> | |
| </tr> | |
| <tr> | |
| <td>Variable Name</td> | |
| <td>Value</td> | |
| </tr> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <mvt:assign name="g.trackingURL" value="'https://www.ups.com/ups.app/xml/Track'" /> | |
| <mvt:assign name="l.key" value="'ACCESS-KEY'" /> | |
| <mvt:assign name="l.username" value="'USERNAME'" /> | |
| <mvt:assign name="l.password" value="'PASSWORD'" /> | |
| <mvt:assign name="l.trackingnum" value="'TRACKINGNUMBER'" /> | |
| <mvt:assign name="g.message" value="' | |
| <?xml version=\"1.0\"?> | |
| <AccessRequest xml:lang=\"en-US\"> | |
| <AccessLicenseNumber>' $ l.key $ '</AccessLicenseNumber> | |
| <UserId>' $ l.username $ '</UserId> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <mvt:do file="g.Module_Root $ '/modules/util/customfld.mvc'" name="l.test" value="ProductField_Load_Code('back_in_stock', l.settings:my_field)" /> | |
| <mvt:eval expr="glosub(miva_array_serialize(l.settings:my_field), ',', '<br />')" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - Working on shipments | |
| - Still testing. | |
| - jrmy to the rescue |