Address
- Customer account information is loaded via the $wsAccount module
- Address information within the order process is additionally loaded via the $wsCheckout module, for example the selected shipping address, selected billing address, etc.
Basics
- Comparison of single tag, loop, range tag, negative range tag compared to V8:
~Einzeltag~→ (add VX counterpart){@Tag}→foreach{Positive range} … {/Positive range}{!Negative range} … {/!Negative range}
Basket
- The basket is loaded via the $wsBasket module
Breadcrumb
- The breadcrumb is loaded via the $wsNavigation module
Category
- Categories, and therefore navigation, are loaded via the $wsCategories module
DesignControl tags
Encoding
- Character set changed from
iso 8859-1toutf-8. iso XXXX-Xis no longer supported / has been completely removed.
Forms
- Shop actions, such as saving the billing address, login, etc., continue to be implemented via forms
<form>. For this purpose, the new version provides actions. - Instead of form tags that were passed to the
<form>in the elementaction="", the desired template is now passed using{{= $wsViews.current.url() }}or{{= $wsViews.viewUrl('login.htm')}}, for example<form action="~FORM-Basket~" method="post">- now
<form action="{{= $wsViews.current.url() }}" method="post">- or
<form action="{{= $wsViews.viewUrl('basekt.htm')}}" method="post">
HTML comment
- Instead of
WS-TplComment, the following is now used:{{ # Your comment # }}
Inventory
- Stock information is loaded via the $wsInventory module
- Before stock information is displayed, it must be loaded, for example with
{{ var $myVariableForInventoryInfo = $wsInventory.load($product.id) }} PR-Inventoryis now built with{{ if $myVariableForInventoryInfo.active }}PR-InventoryState()is now mapped via:{{= $myVariableForInventoryInfo.state }}and{{ switch $myVariableForInventoryInfo.state }}with the respective{{ case "xxx"}}blocks
Links
- All page links are implemented via the $wsViews module, for example
URL-Homepage->{{= $wsViews.host }}WS-LoadTpl(your-template.htm)->{{= $wsViews.viewUrl('your-template.htm')}}WS-SSLLoadTpl()→{{= $wsViews.viewUrl('your-template.htm')}}
- This also includes links such as to the basket page, wish list, login, etc., for which there were dedicated link tags in V8s, for example
WS-BasketLink→{{= $wsViews.viewUrl('basket.htm')}}WS-MemoListLink→{{= $wsViews.viewUrl('memolist.htm')}}WS-LoginLink→{{= $wsViews.viewUrl('login.htm')}}WS-LogoutLink→{{= $wsViews.viewUrl('logout.htm')}}WS-UserAccountLink->{{= $wsViews.viewUrl('account.htm')}}
Login
- Customer account information is loaded via the $wsAccount module
WS-LoginLinkis now implemented with{{= $wsViews.viewUrl('your-file.htm')}}ST-LoggedInis now checked with{{ if $wsAccount.isLoggedIn }}
Logout
- Customer account information is loaded via the $wsAccount module
WS-LogoutLinkis now implemented with{{= $wsActions.url('Logout', $wsViews.viewUrl('logout.htm'), {})}}
Memolist
- The wish list is loaded via the $wsWatchList module
ST-MemoList_OKis now checked with{{ if $wsWatchList.items }} ... {{ /if }}WS-MemoListEntriesis now displayed with{{= $wsWatchList.items | len }}
Meta tags
<base href="...">is no longer needed- The function
{{=static('')}}contains the base directory information. WS-RobotCanonicalis now built with{{= $wsViews.host }}and{{= $wsViews.current.url() }}
Payments
- Overview of all configured payment methods
- instead of
TAC-P-Datanow{{ foreach $myVariableForAllPayments in $wsConfig.payments }}
- instead of
- Payment methods within the order process are additionally loaded via the $wsCheckout module, for example the selected payment method
Products
- Product information is loaded via the $wsProducts module
Search
- Implementation of all search and filter functions takes place via the search module WEBSALE Search
ShippingMethod
- Instead of “deliverer” and “delivery”, we now use “shipping” and “shippingMethods”
- Overview of all configured shipping methods
- instead of
TAC-D-Datanow{{ foreach $yVariableForAllShippings in $wsConfig.shippingMethods }}
- instead of
- Shipping information within the order process is additionally loaded via the $wsCheckout module, for example the selected shipping method
User account
- Customer account information is loaded via the $wsAccount module
WS-UserAccountLink->{{= $wsViews.viewUrl('account.htm')}}
