Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1
    Join Date
    Mar 2010
    Posts
    50
    Plugin Contributions
    0

    Default list a price for each item on the shopping cart content page

    Please help ASP

    i have built a cart for restaurant with full function of order
    ex: item + modifier (without $$$ and with $$$)

    the problem is after customer select those modifier (both free and charge) it auto combinated modifier price and item price for one that makes customer confused about costing

    i want to list seperate each item price and modifier price each line (detail) and given subttotal in the last line (on Your Shopping Cart Contents look like invoice)

    any idea or suggestion will be appreciated

    Best,

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: list a price for each item on the shopping cart content page

    i have built a cart for restaurant with full function of order
    A link to this would assist illustrating what you are attempting

    Place ONE space in your link to break it as in
    http: //www.zen-cart.com/
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Mar 2010
    Posts
    50
    Plugin Contributions
    0

    Default Re: list a price for each item on the shopping cart content page

    moment please i going to make a picture for .....

    okay here picture if not enough info for you i'll send the tester login for you
    Attached Images Attached Images  
    Last edited by hoang; 15 Apr 2010 at 05:45 PM.

  4. #4
    Join Date
    Mar 2010
    Posts
    50
    Plugin Contributions
    0

    Default Re: list a price for each item on the shopping cart content page

    oops forget a link

    http://phoquyenonline.com/
    checkout on the menu at second item
    and look over the 1st and 2nd dishes

    thank you for your time

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: list a price for each item on the shopping cart content page

    i want to list seperate each item price and modifier price each line (detail) and given subttotal in the last line
    As what you want is not part of the default ZenCart code - you would have to add all of it and a conditional for those where it is not required to the selection, calc and display - - not impossible but a bit involved to be covered and tested in a forum posting
    How is your php skills?
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Mar 2010
    Posts
    50
    Plugin Contributions
    0

    Default Re: list a price for each item on the shopping cart content page

    Just a little more than basic kobra

    let's me start with tpl_shopping_cart_default.php and need your help



    as ZC has the overide system so i copy this file from default style to custom style let's see how it work

    ill post the code when i done

    once again thank you very much for your time kobra ....

  7. #7
    Join Date
    Mar 2010
    Posts
    50
    Plugin Contributions
    0

    Default Re: list a price for each item on the shopping cart content page

    in the file tpl_shopping_cart_default.php (after i copy into my custom style under template folder)

    in line 115
    Code:
    <?php echo $product['productsPriceEach']; ?>
    i replace with

    Code:
    <?php echo $currencies->display_price(zen_get_products_base_price($product['id']), zen_get_tax_rate($products[$i]['tax_class_id'])); ?>
    and now in the your shopping cart content
    with UnitPrice col it show the original price of this item

    but next col [Total] it till combinated price with some attributes price

    and i not find out how to show the price of each attributes (if it applies) too

    any idea Kobra
    Best,

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: list a price for each item on the shopping cart content page

    Have a look at /classes/shopping_cart.php and look for the variables for attribute prices
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Mar 2010
    Posts
    50
    Plugin Contributions
    0

    Default Re: list a price for each item on the shopping cart content page

    couldn't find it yet
    how about invoice.php some key seem to work ....

  10. #10
    Join Date
    Mar 2010
    Posts
    50
    Plugin Contributions
    0

    Default Re: list a price for each item on the shopping cart content page

    i saw in line # 105 file tpl_shopping_cart_default.php
    Code:
    <?php echo $value['products_options_name'] . TEXT_OPTION_DIVIDER . nl2br($value['products_options_values_name']); ?>
    and i know i need to add about value of price unforturnatly, i dump i did not find out the variable of it

    do you have any ideas kobra !!!

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. a different shipping price for each item
    By [email protected] in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 10 Mar 2008, 01:21 AM
  2. How can I show the attribute weight for each item in cart?
    By Fay808 in forum Templates, Stylesheets, Page Layout
    Replies: 40
    Last Post: 5 Sep 2007, 07:33 AM
  3. Shipping: base price + price for each additional item
    By amieco in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 26 Jun 2007, 06:25 PM
  4. attrib stock - 32 character string getting appended to each item in shopping cart
    By johnnybravoh in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 18 Jun 2007, 03:58 PM
  5. Flat rate with price for each item
    By mobo in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 8 Jun 2007, 06:54 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