Jump to content

Dirty Butter

Member
  • Content Count

    6,445
  • Joined

  • Last visited

  • Days Won

    137

Dirty Butter last won the day on June 13 2018

Dirty Butter had the most liked content!

Community Reputation

721 Excellent

Profile Information

  • Gender
    Female
  • Location
    USA

Recent Profile Visitors

50,120 profile views
  1. There's a first name= last name fix on here from a long time ago. I think SemperFi provided it. But I couldn't find it. It simply prevents those logins from being recorded with no indication to the "bot" that it did not work.
  2. I occasionally have what must be what you call "stale orders". This weekend I had 4416, 0750, and 4418. It rarely happens, but sure does look odd. Do you use any kind of pre or post fix? I use year-shop abbreviation-number. These "stale" ones do have the correct pre-fixes on mine.
  3. The <content type=:html"> crept in because I was using Notepad++ to trouble shoot and copy/pasted. So that part is fixed.
  4. Confirmation Order email Source Code as saved: <p><content type="html"> Thank You {$DATA.first_name}!</content></p> <p>Your order {$DATA.custom_oid} has been received which was placed on {$DATA.order_date}. Please keep this email for your records. It is possible to view the status of your order online.</p> <p><a href="{$DATA.link}">{$DATA.link}</a></p> {if !empty($DATA.customer_comments)} <p>Customer&#39;s Comments to USPS or to us:</p> <p align="center">&quot;{$DATA.customer_comments}&quot;</p> {/if}{if !empty($DATA.customer_message)} <p>Customer&#39;s Message to Recipient:</p> <p align="center">&quot;{$DATA.customer_message}&quot;</p> {/if} <table width="100%"> <tbody> <tr> <td valign="top" width="50%"><strong>Billing address:</strong><br /> {$BILLING.first_name} {$BILLING.last_name}<br /> {if !empty($BILLING.company_name)}{$BILLING.company_name}<br /> {/if} {$BILLING.line1}<br /> {if !empty($BILLING.line2)}{$BILLING.line2}<br /> {/if} {$BILLING.town}<br /> {if !empty($BILLING.state)}{$BILLING.state }<br /> {/if}{$BILLING.postcode}<br /> {$BILLING.country}<br /> {$BILLING.phone}<br /> <br /> <strong>Email:</strong><br /> {$BILLING.email}</td> <td valign="top" width="50%"><strong>Shipping address:</strong><br /> {$SHIPPING.first_name} {$SHIPPING.last_name}<br /> {if !empty($SHIPPING.company_name)}{$SHIPPING.company_name}<br /> {/if}{$SHIPPING.line1}<br /> {if !empty($SHIPPING.line2)}{$SHIPPING.line2}<br /> {/if}{$SHIPPING.town}<br /> {if !empty($SHIPPING.state)}{$SHIPPING.state}<br /> {/if}{$SHIPPING.postcode}<br /> {$SHIPPING.country}</td> </tr> </tbody> </table> <p>{if isset($product.prodDesc)}{/if}</p> <table border="0" cellpadding="3" cellspacing="0" width="100%"> <tbody> <tr> <td><strong>Item</strong></td> <td><strong>Quantity</strong></td> <td><strong>Cost</strong></td> </tr> {foreach from=$PRODUCTS item=product} <tr> <td>{$product.name}<br /> {$product.product_options}</td> <td>{$product.quantity}</td> <td>{$product.price}</td> </tr> <tr> <td colspan="3">{$product.prodDesc}</td> </tr> {/foreach} <tr> <td>&nbsp;</td> <td>Shipping: {if $DATA.ship_method}({$DATA.ship_method}){/if}</td> <td>{$DATA.shipping}</td> </tr> <tr> <td>&nbsp;</td> <td>Discount:</td> <td>{$DATA.discount}</td> </tr> <tr> <td>&nbsp;</td> <td>Subtotal:</td> <td>{$DATA.subtotal}</td> </tr> {foreach from=$TAXES item=tax} <tr> <td>&nbsp;</td> <td>{$tax.tax_name}: ({$tax.tax_percent}%)</td> <td>{$tax.tax_amount}</td> </tr> {/foreach} <tr> <td>&nbsp;</td> <td><strong>Order Total: </strong></td> <td><strong>{$DATA.total}</strong></td> </tr> </tbody> </table> <p>&nbsp;</p> BUT open it and then save and it changes to this: <p><content type="html"> Thank You {$DATA.first_name}!</content></p> <p>Your order {$DATA.custom_oid} has been received which was placed on {$DATA.order_date}. Please keep this email for your records. It is possible to view the status of your order online.</p> <p><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">&quot;{$DATA.customer_comments}&quot;</a></p> <p><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">{/if}{if !empty($DATA.customer_message)} </a></p> <p><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">Customer&#39;s Message to Recipient:</a></p> <p align="center"><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">&quot;{$DATA.customer_message}&quot;</a></p> <p><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">{/if} </a></p> <table width="100%"> <tbody> <tr> <td valign="top" width="50%"><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align="><strong>Billing address:</strong><br /> {$BILLING.first_name} {$BILLING.last_name}<br /> {if !empty($BILLING.company_name)}{$BILLING.company_name}<br /> {/if} {$BILLING.line1}<br /> {if !empty($BILLING.line2)}{$BILLING.line2}<br /> {/if} {$BILLING.town}<br /> {if !empty($BILLING.state)}{$BILLING.state }<br /> {/if}{$BILLING.postcode}<br /> {$BILLING.country}<br /> {$BILLING.phone}<br /> <br /> <strong>Email:</strong><br /> {$BILLING.email}</a></td> <td valign="top" width="50%"><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align="><strong>Shipping address:</strong><br /> {$SHIPPING.first_name} {$SHIPPING.last_name}<br /> {if !empty($SHIPPING.company_name)}{$SHIPPING.company_name}<br /> {/if}{$SHIPPING.line1}<br /> {if !empty($SHIPPING.line2)}{$SHIPPING.line2}<br /> {/if}{$SHIPPING.town}<br /> {if !empty($SHIPPING.state)}{$SHIPPING.state}<br /> {/if}{$SHIPPING.postcode}<br /> {$SHIPPING.country}</a></td> </tr> </tbody> </table> <p><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">{if isset($product.prodDesc)}{/if}</a></p> <table border="0" cellpadding="3" cellspacing="0" width="100%"> <tbody> <tr> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align="><strong>Item</strong></a></td> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align="><strong>Quantity</strong></a></td> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align="><strong>Cost</strong></a></td> </tr> <!--{foreach from=$PRODUCTS item=product}--> <tr> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">{$product.name}<br /> {$product.product_options}</a></td> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">{$product.quantity}</a></td> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">{$product.price}</a></td> </tr> <tr> <td colspan="3"><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">{$product.prodDesc}</a></td> </tr> <!--{/foreach}--> <tr> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">&nbsp;</a></td> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">Shipping: {if $DATA.ship_method}({$DATA.ship_method}){/if}</a></td> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">{$DATA.shipping}</a></td> </tr> <tr> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">&nbsp;</a></td> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">Discount:</a></td> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">{$DATA.discount}</a></td> </tr> <tr> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">&nbsp;</a></td> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">Subtotal:</a></td> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">{$DATA.subtotal}</a></td> </tr> <!--{foreach from=$TAXES item=tax}--> <tr> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">&nbsp;</a></td> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">{$tax.tax_name}: ({$tax.tax_percent}%)</a></td> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">{$tax.tax_amount}</a></td> </tr> <!--{/foreach}--> <tr> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">&nbsp;</a></td> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align="><strong>Order Total: </strong></a></td> <td><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align="><strong>{$DATA.total}</strong></a></td> </tr> </tbody> </table> <p><a center="" href="&lt;!--{cke_protected}%7B%24DATA.link%7D%22%3E%7B%24DATA.link%7D--&gt;&lt;/a&gt;&lt;/p&gt; &lt;!--{cke_protected}%7Bif%20!empty(%24DATA.customer_comments)%7D--&gt; &lt;p&gt;Customer's Comments to USPS or to us:&lt;/p&gt; &lt;p align=">&nbsp;</a></p> AND I get an error message - Syntax error on Line 5 SO - is this due to some line of code I have in my email, an error in code somewhere in the admin folder, or is it a 6.2.5 issue? I didn't discover this problem until I tried to edit an email in the Email Log and then resend.
  5. What did you upgrade from? Have you already been using a version that required the renamed admin? Can you look at the files and see if you now have more than one admin.php like named files? Do you have a backup so you could revert to known good?
  6. YEP - lots of spacing changes, new smarty, new PHP Mailer, not to mention one substitution that had to be done all over the place - can't remember now what it was.
  7. Thanks for your time - I may have actually learned a little bit
  8. Here's what resulted when I saved the custumer_message text entry as Hex and saved it: 466F7220796F75 - here's the ???? part - 0D0A4C6F76652C204D616D61
  9. I created a test order and pushed enter to get different lines shown. The order_summery table customer_message field has just what I typed in on the customer's order page: And the packing slip works! I guess I never had actually tested it as a customer, because they never have used different lines. So the problem is not with code, but a way to explain this method to the customer. Sorry for wasting your time!
  10. This is my code for the Gift Enclosure section: {if !empty($order.customer_message)} <p><center> <!-- <div id=" ">Message from {$order.first_name}: <h3> {$order.customer_message|nl2br}</div></h3> --> <div id=" "><h2> {$order.customer_message|nl2br}</div></h2> </center></p> {/if} So it already has the |nl2br| - maybe in the wrong place?
  11. This is for the print packing slip that goes in every order. I used <br> to create lines- quick and easy, rather than <p> </p>.
  12. I basically cloned the packing slip files so I can give customers a way to write a gift message and send a packing slip without prices displayed. This works very well for short messages. But sometimes they write enough to wrap to a second line and doesn't "look right". My layout centers their message under our logo in a large bold font. Here's one that looks odd all in one wrapped line: Happy 1st Birthday to my beautiful daughter, xxx!! I hope you love and cherish your Nicky!!! Love, mommy For the few that are this long I have been going into phpMyAdmin and adding breaks: Happy 1st Birthday to my beautiful daughter, xxxx!! I hope you love and cherish your Nicky!!! Love, mommy Is there any fairly easy coding change to give the customer a way to create the line breaks? If not, I'll keep doing what I am doing. This happens rarely enough to not be that much trouble.
  13. Thanks! That's what I thought but wasn't sure which check mark I needed. We had a PP chargeback on a sale that was delivered to a different address. But a lot of our sales are gifts, so different destinations is common for us.
  14. It's on Standard PayPal and evidently on Braintree too , based on someone's thread on Braintree.
  15. My Admin DOES sort by Sales Price. That may be something Bsmither helped me do a long time ago - will try to find it. Well I found it, but it's not quite what you need. I suspect what you need might take similar coding - but it's way past my abilities. https://forums.cubecart.com/topic/54197-need-help-with-sort-on-custom-quantity-discount-column/?tab=comments#comment-234658
×
×
  • Create New...