gomymobi: Knowledge Base

All usable global store functions

You may use these global functions in anywhere in your store themes


You may use this function to add functional filter to theme.

$action name of filter, currently we only support filters:

get_price process and return price of products, both 3 types of product
page_title process and return title of current web page
product_description process and return HTML content of product full description
product_summary process and return HTML content of product short summary
sidebar process and return HTML code of all widgets in sidebar
widget_title apply all custom functions to process title of all widgets
widget_category_list apply all filterable functions to process content of widgets type Category
widget_page_list apply all filterable functions to process content of widgets type Page
widget_tag_list apply all filterable functions to process content of widgets type Tag
widget_content apply all filterable functions to process content of widgets

$priority priority of each function to process

Return: String


Detect if system supports some type of filter or not.

$action name of filter would like to detect

$function_to_check if TRUE, check if there are already filterable functions in queue

Return: TRUE / FALSE


Return an attribute (table field) of product.

$id ID of product

$function_to_check attribute name would liek to retrieve

Return: String


Check if current store theme supports the widget sidebar or not.

$position position of sidebar

Return: TRUE / FALSE


Return HTML content of sidebar if store theme supports and data of widgets in sidebar are available.

$position position of sidebar


Return HTML content of widget title with closed tag.

$tag HTML tag you would like to enclose

$title title of widget


Return HTML content of widget.

$tag HTML tag you would like to enclose

$widget array of widget properties would like to retrieve content



don't hesitate to contact us if your thing is outside of this section
by using contact button above or send directly to gomymobi@gmail.com with subject: [contactgmm]
if could not receive our reply within 24 hours, please resend ticket again