Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,671
    Plugin Contributions
    6

    Default Re: Attribute Pricing Issue with Invoice

    No the single = is correct ...
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  2. #12
    Join Date
    Feb 2010
    Posts
    160
    Plugin Contributions
    0

    Default Re: Attribute Pricing Issue with Invoice

    Ajeh:

    I'm sorry, but you are going to have to explain this in much simpler terms for me to understand.

    What exactly do I need to change?

    Dave

  3. #13
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,671
    Plugin Contributions
    6

    Default Re: Attribute Pricing Issue with Invoice

    On the orders.php if you comment out the Attribute Price you will not see it:
    Code:
          if (isset($order->products[$i]['attributes']) && (sizeof($order->products[$i]['attributes']) > 0)) {
            for ($j = 0, $k = sizeof($order->products[$i]['attributes']); $j < $k; $j++) {
              echo '<br /><nobr><small>&nbsp;<i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . nl2br(zen_output_string_protected($order->products[$i]['attributes'][$j]['value']));
    //          if ($order->products[$i]['attributes'][$j]['price'] != '0') echo ' (' . $order->products[$i]['attributes'][$j]['prefix'] . $currencies->format($order->products[$i]['attributes'][$j]['price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ')';
    //          if ($order->products[$i]['attributes'][$j]['product_attribute_is_free'] == '1' and $order->products[$i]['product_is_free'] == '1') echo TEXT_INFO_ATTRIBUTE_FREE;
              echo '</i></small></nobr>';
            }
          }
    On the invoice.php if you comment out the Attribute Price you will not see it:
    Code:
          if (isset($order->products[$i]['attributes']) && (($k = sizeof($order->products[$i]['attributes'])) > 0)) {
            for ($j = 0; $j < $k; $j++) {
              echo '<br><nobr><small>&nbsp;<i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . nl2br(zen_output_string_protected($order->products[$i]['attributes'][$j]['value']));
    //          if ($order->products[$i]['attributes'][$j]['price'] != '0') echo ' (' . $order->products[$i]['attributes'][$j]['prefix'] . $currencies->format($order->products[$i]['attributes'][$j]['price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ')';
    //          if ($order->products[$i]['attributes'][$j]['product_attribute_is_free'] == '1' and $order->products[$i]['product_is_free'] == '1') echo TEXT_INFO_ATTRIBUTE_FREE;
              echo '</i></small></nobr>';
            }
          }
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  4. #14
    Join Date
    Feb 2010
    Posts
    160
    Plugin Contributions
    0

    Default Re: Attribute Pricing Issue with Invoice

    Ajeh:

    That worked great. Now the attributes do not show any price which is fine.

    Thanks for your time and patience.

    Dave

  5. #15
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,671
    Plugin Contributions
    6

    Default Re: Attribute Pricing Issue with Invoice

    You are most welcome ... thanks for the update that this worked for you ...
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Attribute variables or skip/branch & advanced attribute pricing help
    By tee2020 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 21 Jun 2011, 02:56 AM
  2. Easy Populate - issue with '+' prefixes in attribute pricing
    By clairy in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 10 Jan 2011, 05:29 PM
  3. Super Orders - Attribute Pricing not showing on Invoice
    By z3n in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 28 Jan 2010, 05:17 PM
  4. Attribute Pricing Issue
    By jbowshaw in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 19 Mar 2008, 03:11 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
  •