Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2010
    Location
    Thailand
    Posts
    300
    Plugin Contributions
    2

    Default Currency drop down menu on product page?

    I've got the currencies drop-down menu located in the header, which works perfectly fine but it seems that many customers couldn't see it. So, I've been trying to place it also somewhere next to the price on the product page (with the code indicated below) but when dropping it down to a different currency, that just takes me to the check-out page.

    Could someone help me a bit?
    Thanks!


    PHP Code:
    <!-- Currencies -->

    <?=zen_draw_form('currencies'zen_href_link(basename(ereg_replace('.php',''$PHP_SELF)), ''$request_typefalse), 'get')?>

    <?

        if (isset($currencies) && is_object($currencies)) {

          reset($currencies->currencies);
          $currencies_array = array();
          while (list($key, $value) = each($currencies->currencies)) {
            $currencies_array[] = array('id' => $key, 'text' => $value['title']);
          }

          $hidden_get_variables = '';
          reset($_GET);
          while (list($key, $value) = each($_GET)) {
            if ( ($key != 'currency') && ($key != zen_session_name()) && ($key != 'x') && ($key != 'y') ) {
              $hidden_get_variables .= zen_draw_hidden_field($key, $value);
            }
          }
        }

    ?>

            <?=zen_draw_pull_down_menu('currency'$currencies_array$_SESSION['currency'], 'class="header1_sel" onchange="this.form.submit();"') . $hidden_get_variables zen_hide_session_id()?>
    </form>
    <!-- End Currencies -->

  2. #2
    Join Date
    Dec 2010
    Location
    Thailand
    Posts
    300
    Plugin Contributions
    2

    Default Re: Currency drop down menu on product page?

    If this is something too complicated to do, perhaps I should hire a developer for that job. What do you recommend?

 

 

Similar Threads

  1. How to remove currency drop-down menu from header?
    By Tamuren in forum Basic Configuration
    Replies: 7
    Last Post: 10 May 2011, 06:41 PM
  2. Remove Languages text , Flag & currency Drop Down Menu
    By flex67 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 2 Nov 2010, 09:35 PM
  3. how to create a drop down menu in product listing page??
    By lastpirate007 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 May 2009, 02:40 AM
  4. Currency drop down menu - how does ZC convert?
    By jami1955 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 5
    Last Post: 2 Mar 2009, 11:20 AM
  5. Product drop down menu
    By Xanfar in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 2 May 2007, 06:50 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR