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

    is there any way to display the item code on shoping cart page and orderdetails page

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

    Default Re: Changing Weight from Pounds to Kilos

    i have managed to insert item code in shoping cart page, but it seems very difficult to display it on both checkout and checkout confirmation page.....any hints...

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

    Default Re: Changing Weight from Pounds to Kilos

    By item code, do you mean the products_id or the products_model or what?
    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


    item code is the field that i newly added ,its same as products attributes weight.i want it to display on check out page as,

    products_name
    attribute name-attribute value -price- item code
    attribute name-attribute value -price- item code
    attribute name-attribute value -price- item code

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

    Default Re: Changing Weight from Pounds to Kilos

    It sounds like you want this on the Catalog for display about the Product and its Attribtues ... then in the Checkout ... and probably are going to want it in the Admin ...

    The best way to manage that for the checkout is to add the field to the orders_products_attributes table so you have this reference in the Admin ...

    Then, customize the catalog order class to gather this information and save this information ...

    Then, customize the admin order class to allow you to display this information ...
    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
    Feb 2010
    Location
    Sri_lanka
    Posts
    26
    Plugin Contributions
    0

    Default Re: Changing Weight from Pounds to Kilos

    thanks jay,
    but its not clear................... im not a expert on zencart

    can you please tell me which files do i have to edit.
    i have add new field on order_products_attribute table.from where its getting updated? (where the values get inserted to that table)....can u plz explain the files and bit codes..................

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

    Default Re: Changing Weight from Pounds to Kilos

    You need to edit the order.php class file ...
    /includes/classes/order.php

    First follow where the table references for:
    TABLE_PRODUCTS_ATTRIBUTES

    are and add your new field references there ...

    Next follow where the table references for:
    TABLE_ORDERS_PRODUCTS_ATTRIBUTES

    and add your new field references ...

    Then, you need to do the same, similar thing in the Admin order.php class:
    /admin/includes/classes/order.php

    It takes a bit of sorting out, but should help you get this information from the
    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!

 

 

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