Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Order and Email Conformation

    155f
    PHP 5.6.40

    Currently using Product Model Number which i have turned off in the Admin setting so customers cant view this number.
    When an order is placed and an email is confirmed this is what i view, which is correct

    Products
    ------------------------------------------------------
    1 x Satin (Black) (30) = $8.00

    The (30) is correct which is the model number i have associated with my product.
    The question is how do I display to look like this?
    I would like a # sign in front of the 30 as noted below in red.
    Which php file do I edit?

    Products
    ------------------------------------------------------
    1 x Satin (Black) (#30) = $8.00
    Mark
    Hare Do

  2. #2
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,542
    Plugin Contributions
    19

    Default Re: Order and Email Conformation

    includes/classes/order.php

    line 935
    change from
    Code:
    $this->products_ordered .=  $this->products[$i]['qty'] . ' x ' . $this->products[$i]['name'] . ($this->products[$i]['model'] != '' ? ' (' . $this->products[$i]['model'] . ') ' : '') . ' = ' .
    to
    Code:
    $this->products_ordered .=  $this->products[$i]['qty'] . ' x ' . $this->products[$i]['name'] . ($this->products[$i]['model'] != '' ? ' (#' . $this->products[$i]['model'] . ') ' : '') . ' = ' .
    This will fix the TEXT emails only. For HTML emails, it's line 942
    from
    Code:
    '<td class="product-details" valign="top">' . nl2br($this->products[$i]['name']) . ($this->products[$i]['model'] != '' ? ' (' . nl2br($this->products[$i]['model']) . ') ' : '') . "\n" .
    to
    Code:
    '<td class="product-details" valign="top">' . nl2br($this->products[$i]['name']) . ($this->products[$i]['model'] != '' ? ' (#' . nl2br($this->products[$i]['model']) . ') ' : '') . "\n" .
    I hope that's what you were after.

  3. #3
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: Order and Email Conformation

    Thank you sir!
    Worked like a charm.
    Mark
    Hare Do

 

 

Similar Threads

  1. Replies: 0
    Last Post: 22 Jul 2011, 06:16 PM
  2. No customer email information on conformation email
    By aljosa in forum Managing Customers and Orders
    Replies: 4
    Last Post: 27 Mar 2010, 06:30 PM
  3. Replies: 1
    Last Post: 11 Jul 2009, 02:10 AM
  4. welcome and order conformation email Graphics missing
    By duquecigars in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 20 Jul 2008, 04:44 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