Jump to content

Claudia M

  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Claudia M

  1. I'm fully confused as to why but everything is working now so I'm not going to complain. Thanks for everybody's help!
  2. I use Microsoft Expression Web but this happened when I FTP the stock files I don't know how but they are showing all the code now
  3. Well I don't like it LOL. Does yours do this?
  4. I just downloaded a fresh version 6.2.8 and installed it. No modificarions at all. I can now select additional categories. Yeah!!!!! Now to implement my modifications! I do have a question. I went to edit my admin/skins/templates/products.index.php and all it shows is {* * CubeCart v6 * ======================================== * CubeCart is a registered trade mark of CubeCart Limited * Copyright CubeCart Limited 2017. All rights reserved. * UK Private Limited Company No. 5323904 * ======================================== * Web: http://www.cubecart.com * Email: [email protected] * License: GPL-3.0 https://www.gnu.org/licenses/quick-guide-gplv3.html *} It seems all the admin/skin files are like this. Plus the admin/source files are blank
  5. It's not visible. I think I'll try reinstalling the stock files and then make my modifications. Thanks for checking it for me.
  6. I just upgraded to 6.2.8 and was editing some products. I noticed that I cannot select an additional category for items - new or edit. That part of my code is stock so I don't know what is going on.
  7. Thanks Brian ... Do you think this will keep Stripe from sending the customer an email receipt? In my research I found this ... receipt_email The email address to send this charge's receipt to. The receipt will not be sent until the charge is paid. If this charge is for a customer, the email address specified here will override the customer's email address. Receipts will not be sent for test mode charges. If receipt_email is specified for a charge in live mode, a receipt will be sent regardless of your email settings. So your best option is to not map the Email field under payment settings, and the receipt will not be sent from Stripe.
  8. I have been using the Stripe gateway and have a question. I do NOT want Stripe to send my customers ANY emails at all. I thought I had this set correctly on the dashboard but apparently not as a customer got an email receipt from them and was confused as they rightfully thought they made payment thru my store. Their documentation states they send emails based on the API and customer's emails. In gateway.class.php can I just comment out the email part or will this mess stuff up? What have others done in this situation? Thabks for any and all help. $customer_id = $this->_basket['billing_address']['customer_id']; try { $customer = \Stripe\Customer::retrieve($customer_id); $customer->description = $this->_basket['billing_address']['first_name'].' '.$this->_basket['billing_address']['last_name']; $customer->email = $email; $customer->shipping = $shipping; $customer->save(); } catch(Exception $e) { $customer = \Stripe\Customer::create(array( "description" => $this->_basket['billing_address']['first_name'].' '.$this->_basket['billing_address']['last_name'], <!-- "email" => $email, --> "id" => $customer_id, "shipping" => $shipping )); } } # retrieve json from POST body $json_str = file_get_contents('php://input'); $json_obj = json_decode($json_str); $intent = null; try { if (isset($json_obj->payment_method_id)) { # Create the PaymentIntent $intent = \Stripe\PaymentIntent::create([ "customer" => $customer_id, <!-- "receipt_email" => $email, --> "description" => "Payment for order ".$this->_basket['cart_order_id'], 'payment_method' => $json_obj->payment_method_id, 'amount' => $this->_basket['total']*100, 'currency' => strtolower($GLOBALS['config']->get('config', 'default_currency')), 'confirmation_method' => 'manual', 'confirm' => true, ]); }
  9. Thanks Brian, I'm not planning on getting anymore plugins - but I'll keep a close watch.
  10. Hi, Is it okay to delete styling from the foundation.css file in my skin if I'm never going to use it? Ex. top-bar, joy ride, modal, button groups, and more. I don't mind having to compare files for an upgrade. Just wanted to make sure it won't mess anything up. Thanks, Claudia
  11. "Have your browser show you the network diagnostics tab and check to see what is getting sent when you click Add to Basket. " How do I do this in FireFox? What I don't understand is using my old main template file, it works. Just when I try to use my restyled main template ... it messes up. This is from topic/54973. I made this change but still it acts up. PHP documentation says: Warning: count(): Parameter must be an array or an object that implements Countable in … // as of PHP 7.2 I think there is another instance of this. But, an edit: /classes/cart.class.php, line 1196: From: if (count($this->basket['contents']) == 0) { To: if (empty($this->basket['contents'])) { To me, using empty is easier than checking for a count of zero - which is an empty array.
  12. I was doing a test order and the item would not go into the cart. Click add to cart on any page. The mini basket said your cart is empty. I got this error in my log. xxxxed out my name Countable in /home/xxxxx/public_html/classes/cart.class.php on line 1196 EDIT: Add item to basket the above happens. Go to another page and the mini basket is spread over the top of the page showing the item in the cart. Works ok on small display http://www.claudiasbargains.com I put an old main template file that works in its place. Must be something I did. I'll do a through check
  13. Hi, I'm still getting these warnings even after upgrading to 6.2.6. Any fix? Oh and I just noticed, my site will not load on my mobile device. It says it is not available. Thanks in advance for any and all help PHP 7.3.9 [29-Sep-2019 11:07:03 America/Louisville] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/xxxxxs/public_html/admin_xxxxx/sources/settings.geo.inc.php on line 23 [29-Sep-2019 11:31:14 America/Louisville] PHP Warning: Invalid argument supplied for foreach() in /home/xxxxx/public_html/classes/ajax.class.php on line 170
  14. " That said, try switching the default language of the store to en-GB (the UK), and trying to add a translation of en-US. " That worked Brian. Thank you
  15. Hi, I just upgrded to 6.2.6 and was looking at my email templates. I noticed the verify newsletter subscription one would not let me translate to en-us. I have imported the default files in en-us but it still won't let me do it. Any help is greatly appreciated.
  16. That fixed it!!! I nver would have figured that out. Thank you so much
  17. You had previously given me this code for another topic. So I guess I need to add the above somewhere in there? https://forums.cubecart.com/topic/54725-remove-price-when-out-of-stock-or-unavailable/?tab=comments#comment-237277
  18. When I do that the panel gets short. Look at this page please https://www.claudiasbargains.com/beer-and-liquor-bottles.html
  19. Hi Brian, The code works great for my homepage. Thank you. But for the last couple of days I've been trying to get it to work for my content.category page and I just can't seem to figure it out. I don't use the list view or review so I have commented them out. Plus my code is not stock at all. Help!!!! Please! Claudia
  20. Thank you Brian - greatly appreciated as always
  21. Hi, How can I get the price and more info and add to basket buttons to line up when I have three lines of name for an item versus two lines? (Move it down when 2 lines) All this and keep the panel the same size throughout. Thanks for any and all help
  22. Yes .. I did a test with my info and clicked the submit payment button once and it seemed nothing was happening so I clicked it again. It processed the payment twice. I added at note to the screen. Click the above "Submit Payment' button ONCE only. Do not use the back button. Please do not exit from this page while your order is processing.
  23. I am currently using SemperFi's Vertical Navigation Plugin but have been trying to create my own accordian menu. I'm not sure what core files, if any, would need to be changed and what problems I may encounter. I was thinking of just manually coding the entire menu (categories, sub-categories, etc.) into the main template where I want it to show, but I would have to show it twice - once for desktops, etc and once for canvas-left for small displays. Would this be dumb and would it even work? Any pointers, or any Are you crazys!!! would be appreciated. I'm using Foundation by the way - modified Claudia
  24. What does this code in foundation/templates/ checkout do? If it does something how do you activate it and can you use in on the product page? {if $RELATED} <div class="show-for-medium-up"> <h2>{$LANG.catalogue.related_products}</h2> <ul class="small-block-grid-5 no-bullet"> {foreach from=$RELATED item=product} <li> <a href="{$product.url}" title="{$product.name}"><img src="{$product.img_src}" class="th" alt="{$product.name}"></a> <br> <a href="{$product.url}" title="{$product.name}">{$product.name}</a> <p> {if $product.ctrl_sale} <span class="old_price">{$product.price}</span> <span class="sale_price">{$product.sale_price}</span> {else} {$product.price} {/if} </p> </li> {/foreach} </ul> </div> {/if}
  • Create New...