Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Posts
    45
    Plugin Contributions
    0

    Default "one time charge" in the confirmation email

    I know what your thinking... this has been answered!

    For the product page, the current fix works, but it does not remove it from the confirmation email.

    As far as I can tell, I need to edit this in the /includes/classes/order.php file


    Line #870 : ($this->products[$i]['onetime_charges'] !=0 ? "\n" . TEXT_ONETIME_CHARGES_EMAIL . $currencies->display_price($this->products[$i]['onetime_charges'], $this->products[$i]['tax'], 1) : '') .

    Line #880 : '</td></tr>' . "\n" . '<tr><td class="product-details">' . nl2br(TEXT_ONETIME_CHARGES_EMAIL) . '</td>' . "\n" .


    I can go into the english.php file and make it so (TEXT_ONETIME_CHARGES_EMAIL) equals "", but it still show the one time dollar amount.

    Any suggestions?

  2. #2
    Join Date
    Dec 2008
    Posts
    45
    Plugin Contributions
    0

    Default Re: "one time charge" in the confirmation email

    Anyone?.. this seems like it would be a pretty simple fix

  3. #3
    Join Date
    Dec 2008
    Posts
    45
    Plugin Contributions
    0

    Default Remove "one time charge" FROM CONF. EMAILS

    Tried posting this elsewhere, but nobody has even looked at it in a week.

    I know what your thinking... this has been answered.. It has for the product page, but not for the confirmation email.

    For the product page, the current fix works, but it does not remove it from the confirmation email.

    As far as I can tell, I need to edit this in the /includes/classes/order.php file


    Line #870 : ($this->products[$i]['onetime_charges'] !=0 ? "\n" . TEXT_ONETIME_CHARGES_EMAIL . $currencies->display_price($this->products[$i]['onetime_charges'], $this->products[$i]['tax'], 1) : '') .

    Line #880 : '</td></tr>' . "\n" . '<tr><td class="product-details">' . nl2br(TEXT_ONETIME_CHARGES_EMAIL) . '</td>' . "\n" .


    I can go into the english.php file and make it so (TEXT_ONETIME_CHARGES_EMAIL) equals "", but it still show the one time dollar amount.

    Any suggestions?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Remove "one time charge" FROM CONF. EMAILS

    You've already identified the part of the code to change.
    What happened when you changed it?


    Your duplicate posts have been merged.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Dec 2008
    Posts
    45
    Plugin Contributions
    0

    Default Re: "one time charge" in the confirmation email

    Thank you for replying, this is the last little hurdle before we launch the cart:)




    I was fairly certain that this was the code to edit, I just don't know which part to change to what.

    In my experience with shopping carts, its best not to go in and start pulling apart the code without a clue

  6. #6
    Join Date
    Dec 2008
    Posts
    45
    Plugin Contributions
    0

    Default Re: "one time charge" in the confirmation email

    If I wasn't clear, I don't know which part of the code to edit

    Your help is VERY APPRECIATED!

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: "one time charge" in the confirmation email

    I'm having a hard time understanding *why* you're not disclosing to your customer where certain charges are coming from?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 1 Apr 2016, 02:10 PM
  2. The Confirmation Email must match your Email Address "error"
    By tpascubarat in forum General Questions
    Replies: 9
    Last Post: 23 Nov 2008, 04:11 AM
  3. Replies: 7
    Last Post: 29 Oct 2008, 06:43 PM
  4. Replace "model" with "id" on confirmation email
    By mkopecky in forum General Questions
    Replies: 2
    Last Post: 17 Oct 2008, 10:07 PM
  5. Using "One time charge" with attributes
    By hiddink in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 16 May 2006, 09:06 AM

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