Forums / General Questions / Showing other db fields i.e. model # in cart

Showing other db fields i.e. model # in cart

Locked

Started by ingenuitor on 19 Sep 2006, 7:16 PM · Views: 1,364

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
19 Sep 2006, 7:16 PM
#1
ingenuitor avatar

ingenuitor

New Zenner

Join Date:
Sep 2006
Posts:
13
Plugin Contributions:
0

Showing other db fields i.e. model # in cart

Hello... this is my first post and let me tell you I love Zen Cart. I'm learning everyday and will certainly try to help with enhancing the options this software already has. However at this time, I'm stumped on how to add a few things. Can anyone help with these items?

  1. Add unit pricing in shopping cart & order history pages.
    A. In other words the price per an item... say we have a quantity discounts.
    B. We want to display what the customer pays on a per an item basis to reach the totals.

  2. Add the model number to the shopping cart, order email confirm & order history pages.
    A. Simple as displaying under the product title.

Thanks all for looking at this.

19 Sep 2006, 7:55 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Showing other db fields i.e. model # in cart

  1. Add unit pricing in shopping cart & order history pages.
    A. In other words the price per an item... say we have a quantity discounts.
    B. We want to display what the customer pays on a per an item basis to reach the totals.
    this is how the qty discount displays on the product page...with the unit cost...is this what you mean?

Qty Discounts Off Price
1-2
$35.99 3+
$32.39

and in the cart: . . . . $32.39 $97.17

  1. Add the model number to the shopping cart, order email confirm & order history pages.
    A. Simple as displaying under the product title.
    admin > catalog > product type > at the right edit layout > find Show Model Number and set to "1"
    Also: admin > config > all listing > Display Product Model > allows left or right etc.

You might/should load the demo DB as this contains many, many examples of how different settings & attributes apply and display

Zen-Venom Get Bitten

19 Sep 2006, 8:05 PM
#3
ingenuitor avatar

ingenuitor

New Zenner

Join Date:
Sep 2006
Posts:
13
Plugin Contributions:
0

Re: Showing other db fields i.e. model # in cart

Hello Kobra... thanks for the fast reply.

For item 1. Yes we want the customer to see the price they paid per an item. Since we do use the discount function all over the site.

For item 2. We have everything set from what it seems... and the model is set to 2201. So your saying everything should work on that level? hmmm

I will looking into building a demo site as you suggest... I'm sure it can help for future issues.

Thanks again.

20 Sep 2006, 1:08 PM
#4
ingenuitor avatar

ingenuitor

New Zenner

Join Date:
Sep 2006
Posts:
13
Plugin Contributions:
0

Re: Showing other db fields i.e. model # in cart

Can anyone help with this please?

20 Sep 2006, 5:33 PM
#5
ingenuitor avatar

ingenuitor

New Zenner

Join Date:
Sep 2006
Posts:
13
Plugin Contributions:
0

Re: Showing other db fields i.e. model # in cart

I used this code to bring up the model #... works great... now I still need to pull the item price into the cart and display it.

$products_name = '<table border="0" cellspacing="0" cellpadding="0" width=100%>' .
' <tr>' .
' <td class="ZZZproductListing-data" align="center" width=85><a href="' . zen_href_link(zen_get_info_page($products[$i]['id']), 'products_id=' . $products[$i]['id']) . '">' . (IMAGE_SHOPPING_CART_STATUS == 1 ? zen_image(DIR_WS_IMAGES . $products[$i]['image'], $products[$i]['name'], IMAGE_SHOPPING_CART_WIDTH, IMAGE_SHOPPING_CART_HEIGHT,'class=image_border') : '') . '</a> </td>' .

' <td class="ZZZproductListing-data" valign="top"><a style="font-size:10px;" href="' . zen_href_link(zen_get_info_page($products[$i]['id']), 'products_id=' . $products[$i]['id']) . '">' . $products[$i]['model'] . '<br>' . $products[$i]['name'] . '</a> <span>' . $products[$i]['description'] .'<span>';