Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2014-09-17 02:08:44

gordonp
Member
Registered: 2014-09-11
Posts: 11

Statement on cart

I want to place a statement on the cart that says "taxes are included". Is there a way to do this?

Offline

#2 2014-09-17 04:04:23

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Statement on cart

you can do this using phplugins. There's a specific hook for CE4-CART: http://ce4.theturninggate.net/docs/doku … e4_engines

This looks like it will work:

function ttg_block_top( $style, $path){
    if (G_STYLE == 'CE4-CART') {
        echo'
            <p>All prices include tax.</p>
            ';            
            return true; //places text at the top of the block in the cart
        }
    }

you can, of course, add any styling or custom classes to the <p> tag.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

Board footer

Powered by FluxBB