Results 1 to 10 of 2956

Threaded View

  1. #11
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    320
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Hi lat9,
    My understanding is nowhere near yours, so I'd gone and modified to use the original functions as much as possible, giving them modifications for language as needed. I've attached the functions_general.php which is the meat of it all, and one example jscript from the checkout payment page.

    The main function called is:
    functions/functions_general.php:function zen_js_country_list_default($selectedlanguage, $country, $form, $cfield, $selectedcountry, $showTextField = true, $language='') <- added in attachmend
    And it is called in:
    modules/pages/login/jscript_addr_pulldowns.php
    modules/pages/create_account/jscript_addr_pulldowns.php
    modules/pages/address_book_process/jscript_addr_pulldowns.php
    modules/pages/checkout_payment_address/jscript_addr_pulldowns.php <- added in attachment
    modules/pages/checkout_shipping_address/jscript_addr_pulldowns.php

    Multi-language zones is a plugin, using a new table, TABLES_ZONES_NAME, so that would be a major difference I think.
    The multi-language zones plugin is currently not official, and when it came out it did not support OPC, so any changes I guess need to be made by myself there.

    Apart from that (not sure if countries tables also need changes) I also need to weave in the support for furigana for Japanese users, and the language option to write the address in English or in Japanese format :)
    Attached Files Attached Files
    Last edited by gernot; 27 May 2020 at 02:42 PM.
    Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

 

 

Similar Threads

  1. Set number of products displayed per page (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 146
    Last Post: 2 Nov 2023, 12:50 AM
  2. v151 Banners In Main Page - Support Thread
    By stevesh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Sep 2021, 03:36 PM
  3. v151 Site Map/Page Not Found: Combined [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Jan 2016, 02:19 PM
  4. v151 PayPal Express Checkout Using NVP 84.0 [Support Thread]
    By lat9 in forum Addon Payment Modules
    Replies: 32
    Last Post: 28 Dec 2015, 04:54 PM
  5. Checkout Amazon Style -- Support Thread
    By CJPinder in forum All Other Contributions/Addons
    Replies: 72
    Last Post: 13 Apr 2011, 08:18 PM

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