Results 1 to 10 of 54

Hybrid View

  1. #1
    Join Date
    Feb 2010
    Location
    Sri_lanka
    Posts
    26
    Plugin Contributions
    0

    Default Re: Changing Weight from Pounds to Kilos

    i think before the extraction i want to knoe from where the order products attributes are add to the table.from which file the order_product_attributes table get updated?i mean inserting.....

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Changing Weight from Pounds to Kilos

    If you have the field added a new field to the products_attributes table and to the orders_products_attributes table ...

    And you want to get the data from the products_attributes table to the orders_products_attributes table during the completion of an Order ...

    You do your work in the:
    /includes/classes/order.php
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Changing Weight from Pounds to Kilos

    What version of Zen Cart are you working in?

    This order.php for the class looks like something from 2005 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Feb 2010
    Location
    Sri_lanka
    Posts
    26
    Plugin Contributions
    0

    Default Re: Changing Weight from Pounds to Kilos

    i am using 1.3.7.1 version.to check whether the order products adding to the attributes table is it necessary the payment to be done???

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Changing Weight from Pounds to Kilos

    You cannot just mix and match versions of files ...

    You said earlier you were using v1.3.8 ... but you now are using a v1.3.7.1 order.php file ...

    You need to decide if you want the new field that is in the Catalog to show on the Order in the Admin ...

    If you need this information in the Admin on the Order for the Attributes then you need to customize the order.php class file to add the information from the products_attributes table to the orders_products_attributes table ...

    If you do not need this in the Order of the Admin then you don't have to do anything with that field ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Changing Weight from Pounds to Kilos

    Also, note that the file:
    tpl_checkout_split.php

    is not part of Zen Cart so you must be using some sort of Add On ... so it makes it very hard to determine what you need help with beyond this ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Feb 2010
    Location
    Sri_lanka
    Posts
    26
    Plugin Contributions
    0

    Default Re: Changing Weight from Pounds to Kilos


    i think i made u confuse.i have mention earlier abt version 1.3.8a is regarding the web site i have created.
    this web i mention u is a existing old one,my company wants me to done the changes to display the item code.it is on 1.3.7.1
    tpl_checkout_split have an echo line ,when i comment it attributes wont display in both check out and checkout confirmation pages.
    shall i mail u the tpl_checkout and tpl_checkout_confirmation page.
    i have made all the changes on order.php file.but tables wont get updated.if u dnt mind plz help me on this...i am sooo frustrated..........

 

 

Similar Threads

  1. Changing weight from pounds to grams & kgs
    By Jasper122 in forum Addon Shipping Modules
    Replies: 6
    Last Post: 23 Aug 2011, 09:29 AM
  2. Change displayed weight from lbs to kilos, or tons, etc?
    By worldmaker in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 1 Jun 2011, 04:58 PM
  3. Weight change from kgs to pounds
    By Dale Dugas in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 19 Dec 2009, 11:28 PM
  4. Display pounds as kilos
    By 8th-heaven in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 Jun 2008, 10:01 PM
  5. Display pounds as kilos
    By 8th-heaven in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 Jun 2008, 09:19 PM

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