Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2009
    Posts
    119
    Plugin Contributions
    0

    Default Help to tweak position of SubCat name added to shopping cart

    Hi

    When a product is purchased I want the Sub Category name to be included in the shopping cart, picking slips, invoices etc.

    My product names are very long and i need a helping hand in tweaking the code below so the category name shows above the product name in the shopping cart. I'd also appreciate if someone could tell me the correct path for over riding the file.

    I've added the following code to "includes/templates/template_default/templates/tpl_shopping_cart_default.php" before "<td class="cartProductDisplay">"
    Code:
    <td class="cartCatDisplay"><?php echo zen_get_categories_name_from_product($product['id']);?></div></td>
    This pulls the information i need but puts it beside the product description. I'd like the layout to be...
    Product Category
    Product name


    Thanks

  2. #2
    Join Date
    Jan 2009
    Posts
    119
    Plugin Contributions
    0

    Default Re: Help to tweak position of SubCat name added to shopping cart

    ....Bump. Anybody got a suggestion on another way to get the end result i'm after?

  3. #3
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Help to tweak position of SubCat name added to shopping cart

    My product names are very long and i need a helping hand in tweaking the code below so the category name shows above the product name in the shopping cart.
    Posting Tips
    If you're encountering display/layout problems, post your site URL* so it can be seen in action.

    I'd also appreciate if someone could tell me the correct path for over riding the file.

    I've added the following code to "includes/templates/template_default/templates/tpl_shopping_cart_default.php"
    includes/templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php

 

 

Similar Threads

  1. Replies: 5
    Last Post: 16 Mar 2013, 07:10 AM
  2. Change position of Confirm to Checkout button on Shopping Cart page
    By trinoz in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 30 Sep 2011, 12:09 PM
  3. Get the name of product added to cart
    By andreitero in forum Addon Shipping Modules
    Replies: 1
    Last Post: 23 Sep 2010, 05:21 PM
  4. Replies: 17
    Last Post: 7 Dec 2009, 04:38 AM
  5. Shopping Cart Position
    By salsy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Jul 2008, 12:16 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