WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Simple Cart & Buy Now] Add currency

[Resolved] [Plugin: Simple Cart & Buy Now] Add currency

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author bluey80
    Member

    @bluey80

    Take a look at the file includes/scabn_codes.php in the scabn plugin folder. Near the bottom of the file is

    $scabn_currency_codes = array(

    followed by a list of currency codes. Add yours there. The number in front of each line refers to the designator ($ for dollars, etc).

    helmutviet
    Member

    @helmutviet

    Hi how do i add a currency cant find the file includes/scabn_codes.php
    I need to add South African Rand

    using ver 2.0.1

    Plugin Author bluey80
    Member

    @bluey80

    Scabn 2.0 has a new file structure. Look at the bottom of classes/backend.php

    helmutviet
    Member

    @helmutviet

    I have edited the file but now it only displays as ˆ20.00 in the checkout instead of R20.00 the is the line i have modified [“ZAR” => array (710, “South African rand ZAR”]

    thanks for the prompt replay to my previous post

    Plugin Author bluey80
    Member

    @bluey80

    Where did you get the 710 in that line? If you want an “R” in front, I think you’ll want 82. ie

    ["ZAR" => array (820, "South African rand ZAR"]

    helmutviet
    Member

    @helmutviet

    Sorry new to PHP a newbie mistake

    Thanks for the help

    Plugin Author bluey80
    Member

    @bluey80

    No problem. I added the line to the code so future releases will have the South African Rand currency option built in.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: Simple Cart & Buy Now] Add currency’ is closed to new replies.