archive-nz.com » NZ » V » VENDO.CO.NZ

Total: 137

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Docs: Code Library on Vendo
    Hide All Main Page About About Development Code Library Databases Extensions Examples Snippets Redirects Custom head Introduction Templates Skins Smart Tags Body Tag Classes Master Template Variables Language Session Variables Page Variables Wiki Markup add page Last update About by Sean on Tuesday 03rd of June at 10 59pm View all Session and Page variables that you can use in your PHP files in the Vendo Code Library Skins Revisions

    Original URL path: https://www.vendo.co.nz/docs/Code_Library (2016-05-02)
    Open archived version from archive


  • Docs: Databases on Vendo
    About by Sean on Tuesday 03rd of June at 10 59pm You need to be logged in to edit this page Vendo runs on two databases the central MySQL database and the individual SQLite store databases store db MySQL The current configuration of the MySQL Database is part of the core and as such cannot be accessed directly by the store owner SQLite The SQLite db in Vendo 1 0

    Original URL path: https://www.vendo.co.nz/docs/?page=Databases&edit=1 (2016-05-02)
    Open archived version from archive

  • Docs: Databases on Vendo
    Markup add page Last update About by Sean on Tuesday 03rd of June at 10 59pm Vendo runs on two databases the central MySQL database and the individual SQLite store databases store db MySQL The current configuration of the MySQL Database is part of the core and as such cannot be accessed directly by the store owner SQLite The SQLite db in Vendo 1 0 is SQLite 2 and can

    Original URL path: https://www.vendo.co.nz/docs/Databases (2016-05-02)
    Open archived version from archive

  • Docs: Examples of Extensions on Vendo
    Markup add page Last update About by Sean on Tuesday 03rd of June at 10 59pm You need to be logged in to edit this page example 1 page redirection In this example someone has linked to your website with an incorrect or obsolete URL www yourwebsite co nz homepage While there are other ways you can set redirects you can edit your top inc file and set up a simple redirect if SERVER REQUEST URI homepage Header HTTP 1 1 301 Moved Permanently Header Location exit example 2 custom text You can use the PAGE custom text variable to display text on any page below the h1 tag In this example we can use the PAGE custom text variable to display a message on the cart page if PAGE page order PAGE custom text When you are ready to pay for your order click the checkout button example 3 creating a snippet In this example we create a Snippet to insert into the footer html file of the template This snippet will display the appropriate phone number prefix depending on the session country code of the person viewing the page New Zealand country code is 121 In the top

    Original URL path: https://www.vendo.co.nz/docs/?page=Examples_of_Extensions&edit=1 (2016-05-02)
    Open archived version from archive

  • Docs: Examples of Extensions on Vendo
    simple redirect if SERVER REQUEST URI homepage Header HTTP 1 1 301 Moved Permanently Header Location exit example 2 custom text You can use the PAGE custom text variable to display text on any page below the h1 tag In this example we can use the PAGE custom text variable to display a message on the cart page if PAGE page order PAGE custom text When you are ready to

    Original URL path: https://www.vendo.co.nz/docs/Examples_of_Extensions (2016-05-02)
    Open archived version from archive

  • Docs: Snippets on Vendo
    of PHP in your top inc file called snippet1 will be parsed by the equivilent var in your template called snippet1 in your php top inc file snippet1 or snippet2 etc in your template header html or template footer html file snippet1 or snippet2 etc Example snippet 1 Welcome message Here s an example of creating a snippet to be added to the header html file In top inc we write if SESSION first name snippet1 Hi SESSION first name if SESSION order items 0 snippet1 You have SESSION order items in your cart snippet1 else snippet1 You are not logged in In your header html template file we write snippet1 This will appear something like Hi John you have 3 items in your cart Example snippet 2 similar products list Here s a snippet that displays similar products on the product page to be added to the footer html file It queries the product table in the store db SQLite database then displays the products as a list In top inc we write if PAGE subsection product rs sqlite query sDB select name url price from product where category id PAGE category id and status id 3 order by

    Original URL path: https://www.vendo.co.nz/docs/?page=Snippets&edit=1 (2016-05-02)
    Open archived version from archive

  • Docs: Snippets on Vendo
    inc file called snippet1 will be parsed by the equivilent var in your template called snippet1 in your php top inc file snippet1 or snippet2 etc in your template header html or template footer html file snippet1 or snippet2 etc Example snippet 1 Welcome message Here s an example of creating a snippet to be added to the header html file In top inc we write if SESSION first name snippet1 Hi SESSION first name if SESSION order items 0 snippet1 You have SESSION order items in your cart snippet1 else snippet1 You are not logged in In your header html template file we write snippet1 This will appear something like Hi John you have 3 items in your cart Example snippet 2 similar products list Here s a snippet that displays similar products on the product page to be added to the footer html file It queries the product table in the store db SQLite database then displays the products as a list In top inc we write if PAGE subsection product rs sqlite query sDB select name url price from product where category id PAGE category id and status id 3 order by price asc limit 20 if

    Original URL path: https://www.vendo.co.nz/docs/Snippets (2016-05-02)
    Open archived version from archive

  • Docs: Redirects on Vendo
    Tag Classes Master Template Variables Language Session Variables Page Variables Wiki Markup add page Last update About by Sean on Tuesday 03rd of June at 10 59pm You need to be logged in to edit this page Redirecting a page or URL Standard PHP headers can be added to the top inc file so a 301 redirect would look like this if SERVER REQUEST URI badlink Header HTTP 1 1

    Original URL path: https://www.vendo.co.nz/docs/?page=Redirects&edit=1 (2016-05-02)
    Open archived version from archive