Get more morph from Store Morph. This module dramatically extends the Miva Merchant 5 page template language, adding
hundreds of new functions. Finally you can have the ability to create the pages you've always dreamed of. Included page
template files show many fully commented, real world examples of how you can script your pages to do things that once
required external modules. This module makes page templates a robust scripting environment.
Primary documentation is built into the module and always a mouse click away. The external
documentation includes the most
comprehensive listings of the internal MivaScript functions available
on the web. It clearly explains the most misunderstood aspects of Store Morph page templates and is a valuable resource
even of you don't need or use the module.
PCI Net Toolbelt is like giving your page designs mega vitamins. Bulk up your designs with
a tool that actually extend the language and expose the inner workings of Miva Merchant. The assign
component alone adds over 130 powerful new functions to your pages (see list below). The module contains an expression builder
that lets you lookup a categorized MivaScript function in a list, like toupper() or substring() get a description of what they do,
then copy and paste the resulting code into your templates. The expression builder won't replace the documentation, but
it will keep you from having to look it up so often. But that's just the beginning, there's much much more.
Installation is simple, requiring no extra steps or complex instructions. Simply purchase, download, install,
activate your license and get to work.
Included Page Templates
Contact Us: Is your Inbox to fat? Reduce your daily intake of spam by providing a contact us form.
UPDATED Tell a Friend: Let your customers send links to your pages to their friends.
Mini Basket: Keep a running total of the basket. Display it anywhere you desire.
Random Products: Select products at random from all products or specific categories.
Featured Products: Select products for display on your storefront or elsewhere. Simple to
use and maintain.
NEW Delete Expired Baskets: Show you how to automatically delete expired
baskets in your store at timed intervals.
NEW Password: Shows you how to password protect your page templates.
NEW Sessions: Shows you how to password protect your page templates, AND
create a session cookie so that you stay logged in till the session expires or you log out.
Store MorphTM Language Enhancements.
Finally you can use every MivaScript function within your Merchant page templates. The assign
and eval components work just like their MivaScript equivalents. You can build complex expressions
for manipulating your data. Toolbelt also adds a host of new functions to the language. In fact every Toolbelt item
allows you to use string and numeric expressions, variables,
or functions,
efficiently reducing the number of steps needed to complete a your work.
Assign: Assign a value to ANY variable, which may be simple or complex expression or which may contain
any MivaScript or Toolbelt function. (listed below).
Availgroup: These fourteen functions provide you with all the
tools you need to manage availability groups, customers, categories and products.
Basket: Used in the Mini basket template, this function provides basket summary information including
number of items, total weight, subtotal, total charges, and basket total.
Benchmark: Allow you to easily determine page template processing time
or time sections of a page like foreach loops, screen, or call functions.
NEW body_innerHTML(): From a web page, strips the outer sections and the
tags leaving only the inner html. Useful for loading external html pages that contain a head section.
Call_get, Call_put: Call an external web page or post data to an external web page. The results are returned in a string.
Capitalize(): Capitalizes each word in a string or list.
Compress(): Strip whitespace from a string.
NEW Cookie: This item very easily lets
you easily load and save browser cookies. Finally you have a simple way to create persistent global variables or
sessions.
Counter: For use inside loops, counter allows you to increment or decrement a count of the iterations.
CurrencyFormat: Give a number, returns the number formatted for the currently assigned currency.
DateTime_Format: Truly comprehensive time formatting options, like those found in other high level languages.
DateTime_Value: Convert standard date time strings into time values. Makes time calculations or format
conversions simple.
Do: Call external compiled functions contained in any external MivaScript file. Works like MivaScripts MvDO tag or OpenUIs
DOFUNC token. Use global or l.all_settings: variables.
DecodeHtml(): Reverses EncodeHtml(). Given a string containing html
ascii character codes (i.e. @) , returns the string with codes converted to characters.
EncodeHtml(): Given a string, it return a string with each character
encoded as html codes nnn; where nnn is the ascii character number.
For: Loop structure. Remove the restriction of foreach loops. For example: "for|j =0 to g.max
step 2" . Use positive or negative numbers, variables or expressions.
Eval: Print any variable, simple or complex expression to the page.
Hardbreak(): Replaces each space in a string with a tag.
isEmail(): Validates the format of an email address.
isUrl(): Validates the format of an web address.
Event_Timer: Email a report, pack the store, create a batch, retrieve an
xml feed with unlimited event timers. Trigger events at any time or interval, hourly, daily, weekly, or monthly.
Left(): Returns the left portion of a string up to the number of characters
OR first occurrence of search_string.
Lookup|SQL: Execute a SELECT query on ANY store database table returning the results in a array.
Lookup|Header, Lookup|Footer: Save ANY category header or footer or ANY product header or footer to a
variable by providing the category or product code.
Lookup|ProductCategories: Find each category a product is assigned to and load it to an array. Useful
when a products category is not known.
Pricegroup: These ten functions provide you with all the tools you
needed to manage price groups, customers and products.
NEW Query: This powerful function allows you to execute ANY well formed
query on ANY MySQL database table within your store, and return the data in a Storemorph Array.
NEW OrderSubtotal: This function provides additional order information
including number of items, total weight, subtotal. Many conversion tracking programs need this information.
Random_Numbers: Create a non-repeating array of random numbers of any size between 1 and any upper limit.
UPDATED Reference: The function creates a reference from one variable to
another, such that changes to one will be made to the other. One use would be to convert data in the l.settings
array to a global variable that can be passed to another screen.
Replace(): Replace some characters with other characters in a string.
Right(): Returns the right portion of a string up to the number of
characters OR last occurrence of search_string.
Screen: Load and display any page inside another page OR save it to a variable. This powerful
command lets you use page templates as sub screens or program sub routines/functions.
SendEmail: Allows you to send text or html email from within page templates. Collect any
form data sent to any screen and send it via email.
SearchArray: Given a sorted single dimension array, searches the array and instantly returns the index if found.
SortArray: Given a single dimension array, returns an alphabetically sorted copy; very very quickly.
SortCsv: Given a list of comma separated values, returns an alphabetically sorted copy.
StripHtml(): Strips the HTML out of a string.
Structure: Reveals the internal structure of any store database table.
Varlist: Like a popular free helper module, see what's going on under the hood. Outputs the
complete list of global, local, or system variables to the screen.
Varlist() function: See Varlist: This function allows you to provide a search parameter reducing the output. The returned string can be output to
the screen, stored or emailed.
Merchant Page Enhancements
Basket: Returns Basket Totals for length (items in cart), weight, subtotal, subtotal currency formatted,
charges, charges formatted, total and total formatted.
BasketButtons: Provides buttons for your basket screen to Continue Shopping, Empty the Basket, and Checkout.
BasketCombined: Makes the combined price (price + attribute
price) available; the product image and thumbnails; the attribute and option prompts, and images.
BreadCrumbs: Provides a breadcrumb trail on category and product pages. Comes in two forms: Output the html OR retrieve the data
allowing you to script the html.
Custom_Category: Returns the custom category fields for a single
category. Requires MM5 core 17 update.
Custom_Customer_Read/Write. Finally you can use Merchants additional
customer fields to store customer preferences, birthdays, Tax ID, or any other information.
Custom_Products: Returns the custom product fields for a single product.
Category_Paging: Provides category page navigation on category pages. (e.g. Products found in this category: 102 Pages:
1[2]345 Page: 2 of 5 )
RememberMe (Stay logged in): Adds a checkbox to allow customers to stay logged in.
Remember me?
Random_Products: Returns randomly selected products from ALL products OR from specific categories
for display on any page.