Jump to content

Claudia M

Member
  • Posts

    847
  • Joined

  • Last visited

  • Days Won

    13

Everything posted by Claudia M

  1. Thank you so much for sharing. I have always used something similar in word then copy / paste it to the editor. <div class="prod-txt"> Main Description </div> <div class="prod-section-title">Interesting Facts ...</div> <div class="prod-spec-txt"> Some items have fun historical facts </div> Below is the new part I’m adding, catered to each item. <div class="prod-section-title">Product Specifications ...</div> <table class="nobord"> <tbody> <tr> <td class="prod-spec-title">Product Code:</td> <td class="prod-spec-txt">PPC119</td> </tr> <tr> <td class="prod-spec-title">Stock Level:</td> <td class="prod-spec-txt"><div><a class="prode-txt" href="http://www.ebay.com/itm/havana-gran-hotel-america-brochure/152720008293">Link to eBay listing</a> </div></td> </tr> <tr> <td class="prod-spec-title">Condition:</td> <td class="prod-spec-txt">Original</td> </tr> <tr> <td class="prod-spec-title">Age:</td> <td class="prod-spec-txt">Vintage - 1926</td> </tr> <tr> <td class="prod-spec-title">Item Size:</td> <td class="prod-spec-txt">8-1/2W x 11H </td> </tr> <tr> <td class="prod-spec-title">Actual Weight:</td> <td class="prod-spec-txt">0.3 oz.</td> </tr> </tbody> </table>
  2. This seems confusing. LOL! I think i'll just cheat and do it manually Thanks, Brian
  3. Thanks for your quick response Brian, What needs to be done to parse Smarty syntax in product descriptions? Seems alot of people could use this ability. Please forgive my ignorance on this but would each specification have to be added to the database? I'm trying to avoid that. Claudia
  4. I’m trying to do away with the tabs (using a very custom Foundation skin) and adding all needed information in the product description. As I sell vintage items that I may only have one of – one and gone - with numerous manufacturers and brands I need to be able to make my specifications unique for each product. I’m having a problem with the product code and stock level. I want the stock level and product code to automatically update when the item sells or info changes. Anyway to do this with html since I’m using the editor? Here’s a sample of what I tried. <div class="prod-section-title">Product Specifications ...</div> <table class="nobord"> <tbody> <tr> <td class="prod-spec-title">Product Code:</td> <td class="prod-spec-txt">{$PRODUCT.product_code}</td> </tr> <tr> {if $PRODUCT.stock_level} <td class="prod-spec-title">Stock Level</td> <td class="prod-spec-txt">{$PRODUCT.stock_level}</td> {/if} </tr> <tr> <td class="prod-spec-title">Manufacturer:</td> <td class="prod-spec-txt">OBI</td> </tr> </tbody> </table> But this is what it looks like online – it’s showing the code: Product Specifications ... {if $PRODUCT.stock_level} {/if} Product Code: {$PRODUCT.product_code} Stock Level: {$PRODUCT.stock_level} Manufacturer: OBI Thanks, Claudia
  5. I thought this was fixed in CC or did I miss something? When I look at my page source I find this: NOTE: Store Name Claudia’s Bargains - showing in page source as Claudia&#39;s Bargains HOMEPAGE <meta name="description" content="Antiques, Vintage and Collectibles - We search yard sales, estate sales, flea markets, auctions and attics to find items you didn&#39;t know you were looking for"> CONTACT PAGE <meta name="description" content="Claudia&#39;s Bargains Collectibles and More Shop. We search yard sales, estate sales, flea markets, auctions and attics to find items you didn&#39;t know you were looking for. Toss in some brand new items and some handcrafted creations and the mix is complete!"> Claudia
  6. Did as you said. No distrubing the statements after the return false: }. Seems to be working now. Thank you so much for this Brian!
  7. The "Find" line doesn't read the same as what you say: My Line reads: $error = "[<strong>".$type."</strong>] \t".$error_file.":".$error_line." - ".$error_string; $this->_errors[] = $error; if($log) { $this->_writeErrorLog($error, $type); } Also I got an error, [11-Sep-2017 15:14:46 UTC] PHP Parse error: syntax error, unexpected 'public' (T_PUBLIC) in /home/claudias/public_html/classes/debug.class.php on line 467, and the website and admin would not load. But when I put a } after the "Change to" it worked. Is that OK? Or am I going to get problems down the road. Find: $error = "[<strong>".$type."</strong>] \t".htmlentities(strip_tags($error_file.":".$error_line." - ".$error_string)); $this->_errors[] = $error; $this->_writeErrorLog($error, $type); } Then find: return false; Change to: return ($this->_suppress_php_notices && $type == 'Notice') ? true : false; // See PHP manual for set_error_handler() callback function return value
  8. Brian, Part of your code changes read: Find: $error = "[<strong>".$type."</strong>] \t".htmlentities(strip_tags($error_file.":".$error_line." - ".$error_string)); $this->_errors[] = $error; $this->_writeErrorLog($error, $type); } Then find: return false; Change to: return ($this->_suppress_php_notices && $type == 'Notice') ? true : false; // See PHP manual for set_error_handler() callback function return value MY QUESTION Am I suppose to change all the “find and then find” code to the following: Or was there a “change to” missing after the first “find” return ($this->_suppress_php_notices && $type == 'Notice') ? true : false; // See PHP manual for set_error_handler() callback function return value } Thanks, Claudia
  9. I have always had the debug mode disabled, unless I'm searching for something, and look at all the notices I got.
  10. Do you think we need to add this to GitHub or feature request? Can't believe it's just the two of us that would like this done.
  11. Thanks for looking into this Brian. 1. By error log I mean the one in CPanel. The "error_log" file that PHP creates. 2. Sorry .. didn't mean to include this one. Daren is looking into it: This is interesting. Something really outside the bounds of the normal sequence of events must have happened. curl_setopt(): Disabling safe uploads is no longer supported You will need to get with SemperFi and get an updated version of the "Automatic Social Media Posts" plugin. 3. This one is because I don't use the sorting method that comes with CubeCart. I sort by newly listed or by Daren's mod Custom Product Sort. Security Warning: Illegal array key &quot;sort%5Bdate_added%5D&quot; was detected and was removed 4. I don't know what this is [07-Sep-2017 13:59:57 America/Louisville] PHP Warning: No customer information detected. Order summary was not built or inserted. in /home/claudias/public_html/classes/order.class.php on line 1170 Whatever you think I can have removed from the error log safely I'd like the code to do it. It's really annoying getting this large error log. And I can always put it back if need be. Thanks, Claudia
  12. So since I updated to 6.1.10 I have gotten these PHP notices, warnings, etc. in my error log – more than once. Anything here to worry about? Also, if notices aren’t that big of a deal is there anyway to turn them off so they don’t get reported in the error log? Or is that a bad idea. Thanks, Claudia [07-Sep-2017 13:59:57 America/Louisville] PHP Warning: No customer information detected. Order summary was not built or inserted. in /home/claudias/public_html/classes/order.class.php on line 1170 [07-Sep-2017 18:05:36 UTC] PHP Warning: Invalid Security Token in /home/claudias/public_html/classes/sanitize.class.php on line 152 [07-Sep-2017 14:19:23 America/Louisville] PHP Warning: Invalid argument supplied for foreach() in /home/claudias/public_html/classes/ajax.class.php on line 143 [07-Sep-2017 14:21:43 America/Louisville] PHP Warning: curl_setopt() [&lt;a href='http://docs.php.net/manual/en/function.curl-setopt.php'&gt;function.curl-setopt.php&lt;/a&gt;]: Disabling safe uploads is no longer supported in /home/claudias/public_html/modules/plugins/SFWS_Automatic_Social_Media_Posts/api/pinterest/src/Pinterest/Utils/CurlBuilder.php on line 53 This warning I got before: I think it has to do with the way I sort my products. But they sort correctly so I don’t bother with it [07-Sep-2017 18:54:39 UTC] PHP Warning: Security Warning: Illegal array key &quot;sort%5Bdate_added%5D&quot; was detected and was removed. in /home/claudias/public_html/classes/sanitize.class.php on line 113 [07-Sep-2017 11:34:39 America/Louisville] PHP Notice: Undefined variable: title in /home/claudias/public_html/classes/seo.class.php on line 506 [07-Sep-2017 11:55:11 America/Louisville] PHP Notice: Undefined index: in /home/claudias/public_html/classes/catalogue.class.php on line 314 [07-Sep-2017 12:13:04 America/Louisville] PHP Notice: Undefined index: billing_address in /home/claudias/public_html/classes/cubecart.class.php on line 1130 [07-Sep-2017 12:13:04 America/Louisville] PHP Notice: Undefined index: delivery_address in /home/claudias/public_html/classes/cubecart.class.php on line 1133 [07-Sep-2017 16:57:19 UTC] PHP Notice: Undefined index: HTTP_USER_AGENT in /home/claudias/public_html/classes/session.class.php on line 599 [07-Sep-2017 17:57:16 UTC] PHP Notice: Undefined variable: stock_warning in /home/claudias/public_html/classes/cart.class.php on line 405 [07-Sep-2017 13:57:16 America/Louisville] PHP Notice: Undefined index: billing_address in /home/claudias/public_html/classes/cart.class.php on line 810 [07-Sep-2017 13:57:19 America/Louisville] PHP Notice: Undefined index: billing_address in /home/claudias/public_html/classes/cubecart.class.php on line 601 [07-Sep-2017 13:57:19 America/Louisville] PHP Notice: Undefined index: delivery_address in /home/claudias/public_html/classes/cubecart.class.php on line 633 [07-Sep-2017 13:57:19 America/Louisville] PHP Notice: Undefined index: coupons in /home/claudias/public_html/classes/cubecart.class.php on line 1595 [07-Sep-2017 13:57:20 America/Louisville] PHP Notice: Undefined index: free_coupon_shipping in /home/claudias/public_html/classes/cubecart.class.php on line 1619 [07-Sep-2017 13:57:20 America/Louisville] PHP Notice: Undefined index: gateway in /home/claudias/public_html/classes/cubecart.class.php on line 1731 [07-Sep-2017 13:57:20 America/Louisville] PHP Notice: Undefined index: base_folder in /home/claudias/public_html/classes/cubecart.class.php on line 2117 [07-Sep-2017 13:57:20 America/Louisville] PHP Notice: Undefined index: scope in /home/claudias/public_html/classes/cubecart.class.php on line 2128 [07-Sep-2017 13:59:57 America/Louisville] PHP Notice: Undefined index: retrieve in /home/claudias/public_html/classes/order.class.php on line 577 [07-Sep-2017 13:59:57 America/Louisville] PHP Notice: Undefined index: options_identifier in /home/claudias/public_html/classes/order.class.php on line 1102 [07-Sep-2017 13:59:57 America/Louisville] PHP Notice: Undefined index: options in /home/claudias/public_html/classes/order.class.php on line 1117 [07-Sep-2017 13:59:57 America/Louisville] PHP Notice: Undefined index: bml in /home/claudias/public_html/modules/plugins/PayPal_Pro/hooks/class.cubecart.construct.gateway.php on line 22 [07-Sep-2017 13:59:57 America/Louisville] PHP Notice: Undefined variable: inline in /home/claudias/public_html/modules/plugins/PayPal_Pro/hooks/class.cubecart.construct.gateway.php on line 24 [07-Sep-2017 13:59:59 America/Louisville] PHP Notice: Undefined index: L_ERRORCODE0 in /home/claudias/public_html/modules/plugins/PayPal_Pro/website_payments_pro.class.php on line 456 [07-Sep-2017 14:03:12 America/Louisville] PHP Notice: Undefined variable: lang in /home/claudias/public_html/modules/plugins/PayPal_Pro/hooks/class.cubecart.construct.confirm.php on line 38 [07-Sep-2017 14:03:12 America/Louisville] PHP Notice: Undefined index: PAYMENTREQUEST_0_SHIPTOSTREET2 in /home/claudias/public_html/modules/plugins/PayPal_Pro/hooks/class.cubecart.construct.confirm.php on line 60 [07-Sep-2017 14:03:12 America/Louisville] PHP Notice: Undefined variable: customer_id in /home/claudias/public_html/modules/plugins/PayPal_Pro/hooks/class.cubecart.construct.confirm.php on line 86 [07-Sep-2017 14:03:13 America/Louisville] PHP Notice: Undefined variable: list_checkouts in /home/claudias/public_html/classes/cubecart.class.php on line 1736 [07-Sep-2017 14:05:24 America/Louisville] PHP Notice: Undefined index: options_identifier in /home/claudias/public_html/classes/cart.class.php on line 1082 [07-Sep-2017 14:05:25 America/Louisville] PHP Notice: Undefined index: taxes in /home/claudias/public_html/classes/order.class.php on line 299 [07-Sep-2017 14:05:28 America/Louisville] PHP Notice: Undefined variable: complete in /home/claudias/public_html/classes/order.class.php on line 514 [07-Sep-2017 14:05:31 America/Louisville] PHP Notice: Undefined index: L_ERRORCODE0 in /home/claudias/public_html/modules/plugins/PayPal_Pro/hooks/class.cubecart.construct.gateway.php on line 37 [07-Sep-2017 18:05:36 UTC] PHP Notice: Undefined variable: _GET in /home/claudias/public_html/includes/functions.inc.php on line 196 [07-Sep-2017 14:05:38 America/Louisville] PHP Notice: Undefined index: taxes in /home/claudias/public_html/classes/cubecart.class.php on line 1302 [07-Sep-2017 18:24:16 UTC] PHP Notice: Undefined index: X-Forwarded-For in /home/claudias/public_html/includes/functions.inc.php on line 527 [07-Sep-2017 20:55:15 UTC] PHP Notice: Undefined variable: path in /home/claudias/public_html/classes/seo.class.php on line 323 [07-Sep-2017 16:55:15 America/Louisville] PHP Notice: Undefined variable: sfws_related_products in /home/claudias/public_html/modules/plugins/SFWS_Deluxe_Related_Products/class.deluxe_related_products.php on line 324 [07-Sep-2017 23:14:42 UTC] PHP Notice: Undefined variable: _GET in /home/claudias/public_html/includes/functions.inc.php on line 196 [08-Sep-2017 02:36:59 America/Louisville] PHP Notice: Undefined variable: order_string in home/claudias/public_html/classes/catalogue.class.php on line 1928 [08-Sep-2017 07:48:31 UTC] PHP Notice: Undefined index: HTTP_USER_AGENT in /home/claudias/public_html/classes/session.class.php on line 599 [08-Sep-2017 10:37:54 America/Louisville] PHP Notice: Undefined index: cat_id in /home/claudias/public_html/classes/cubecart.class.php on line 826
  13. That was a "test" store. i'm still at www.claudiasbargains.com
  14. This store has closed. See our new store here: https://www.claudiasbargains.com/
  15. I found and deleted it. Do you have any idea why the emails aren't sending to me?
  16. This is what I did to receive copy of eMails sent to the customer but it isn’t working. See below. Any suggestions? In admin, Manage Hooks, Code Snippets tab, click Add Snippet. Create 1st Code Snippet Enabled: Checked Unique ID: classize_mailer@cubecart Execution Order: 99 Description: Class-izes the Mailer instantiation so that it can be seen outside the orderStatus() method. Trigger: class.order.order_status Version: 1.0 Author: https://forums.cubecart.com/topic/52330-how-to-add-admin-as-bcc-of-all-customers-order-status-emails/ PHP Code: <?php $this->_mailer =& $mailer; Save. Create 2nd Code Snippet. Enabled: Checked Unique ID: bcc_admin@cubecart Execution Order: 99 Description: BCC's the admins on all customer emails. Trigger: class.order.assign_order_details Version: 1.0 Author: https://forums.cubecart.com/topic/52330-how-to-add-admin-as-bcc-of-all-customers-order-status-emails/ PHP Code: <?php //$this->_mailer->SMTPDebug = 2; //$this->_mailer->Debugoutput = 'error_log'; $addBCC_notify_admins = explode(',', $this->_notifyAdmins()); foreach ($addBCC_notify_admins as $admin) { $this->_mailer->addBCC($admin); } Save. In /includes/extra I get these 3 snippet files. snippet_3afa312cdc3acf2182d2144a8cfac7be.php Contents: <?php //$this->_mailer->SMTPDebug = 2; //$this->_mailer->Debugoutput = 'error_log'; $addBCC_notify_admins = explode(',', $this->_notifyAdmins()); foreach ($addBCC_notify_admins as $admin) { $this->_mailer->addBCC($admin); } snippet_5c6632328d5bb207a40e3ef624488c36.php Contents: <?php $this->_mailer =& $mailer; Then I get this: snippet_cc06e51b963dba490472fc2e1a78f5d8.php Contents: �kz۫���zv�zƫ���j���b�w�zg������ޕ鞞���ڙ�޶��j���k��+(��޶��~)^�������� (There’s more but I can’t copy it)
  17. This is what I did to BCC the emails. I did a test after I added it yesterday and it worked -received the email in Outlook on my PC and on my smartphone email. With today's order I didn't get an email when I manually changed the order to processing. Customer did. In admin, Manage Hooks, Code Snippets tab, click Add Snippet. Create 1st Code Snippet Enabled: Checked Unique ID: classize_mailer@cubecart Execution Order: 99 Description: Class-izes the Mailer instantiation so that it can be seen outside the orderStatus() method. Trigger: class.order.order_status Version: 1.0 Author: https://forums.cubecart.com/topic/52330-how-to-add-admin-as-bcc-of-all-customers-order-status-emails/ PHP Code: <?php $this->_mailer =& $mailer; Save. Create 2nd Code Snippet. Enabled: Checked Unique ID: bcc_admin@cubecart Execution Order: 99 Description: BCC's the admins on all customer emails. Trigger: class.order.assign_order_details Version: 1.0 Author: https://forums.cubecart.com/topic/52330-how-to-add-admin-as-bcc-of-all-customers-order-status-emails/ PHP Code: <?php //$this->_mailer->SMTPDebug = 2; //$this->_mailer->Debugoutput = 'error_log'; $addBCC_notify_admins = explode(',', $this->_notifyAdmins()); foreach ($addBCC_notify_admins as $admin) { $this->_mailer->addBCC($admin); } Save.
  18. Hi, I received an order today paid for thru PayPal Pro (1.1.9). I received an email from PayPal showing the payment had been paid and it does show up in my PayPal transactions. However, in my admin the order is showing pending and I had to manually update it to processing. Also, yesterday I added BSmithers code snippet so I receive (bcc) all the customer's emails sent thru CubeCart. I did not receive the customer's email though it does show in the email log it was sent to the customer. Any suggestions? Claudia
  19. So is this all I do? Reading the post I don't know if it ever worked correctly. In admin, Manage Hooks, Code Snippets tab, click Add Snippet. Nevermind! Adding the Code Snippets worked. Thank You!! Enabled: Checked Unique ID: classize_mailer@cubecart Execution Order: 99 Description: Class-izes the Mailer instantiation so that it can be seen outside the orderStatus() method. Trigger: class.order.order_status Version: 1.0 Author: https://forums.cubecart.com/topic/52330-how-to-add-admin-as-bcc-of-all-customers-order-status-emails/ PHP Code: <?php $this->_mailer =& $mailer; Save. Start another Code Snippet. Enabled: Checked Unique ID: bcc_admin@cubecart Execution Order: 99 Description: BCC's the admins on all customer emails. Trigger: class.order.assign_order_details Version: 1.0 Author: https://forums.cubecart.com/topic/52330-how-to-add-admin-as-bcc-of-all-customers-order-status-emails/ PHP Code: <?php //$this->_mailer->SMTPDebug = 2; //$this->_mailer->Debugoutput = 'error_log'; $addBCC_notify_admins = explode(',', $this->_notifyAdmins()); foreach ($addBCC_notify_admins as $admin) { $this->_mailer->addBCC($admin); } Save.
  20. Hi, I use to have coding that would send customer emails to me also. Now that we have the email log, the emails aren't sent to me. I would still like the order complete email sent to me as I use this to check for delivery. Saves time from having to log in to admin ..... I have the tracking link in the email. Can this still be done? Thanks in advance, Claudia
  21. What caused all my errors was a bot called Baidu. Business is located in China, but the IP is from Brazil. This is concerning. Ian from Havenswift thinks it might be a spider making itself look like it is from Baidu when it actually isn’t. We both read that Baidu does not respect robots. txt, but this may be why. It isnt Baidu at all ! Anyway, I added the following to my robots.txt. I’m going to clear my error log and see what happens. No more errors we know it’s Baidu. Lots more errors we know it isn’t and .htaccess changes come into play. Thank you Ian for all your help. User-agent: Baiduspider Disallow: / and User-agent: Baiduspider-image Disallow: /
×
×
  • Create New...