Jump to content

bsmither

Member
  • Posts

    16,874
  • Joined

  • Last visited

  • Days Won

    558

Everything posted by bsmither

  1. This might answer your question: https://www.paypal-community.com/t5/Adding-and-updating-info/company-number-business-registration-number/td-p/288302 (I am not familiar with PayPal, at all.)
  2. That is an interesting enhancement to the 'More' button. There is a hard-coded switch in the skin template code that will revert to a more legacy style pagination: [1] 2 3 4 5 ... 37 All To make the switch: In the Foundation template content.category.php, near line 198, from: </ul> {* Uncomment for traditional pagination *} {* <div class="row"> <div class="small-12 large-8 columns"> {$PAGINATION} To: </ul> {* Uncomment for traditional pagination *} <div class="row"> <div class="small-12 large-8 columns"> {$PAGINATION} Line 215, from: </div> </div> *} <div class="hide" id="ccScrollCat">{$category.cat_id}</div> {if $page!=='all' && ($page < $total)} {$params[$var_name] = $page + 1} {* Add "hide-for-medium-up" to the class attribute to not display the more button *} <a href="{$current}{http_build_query($params)}{$anchor}" data-next-page="{$params[$var_name]}" data-cat="{$category.cat_id}" class="button tiny expand ccScroll-next">{$LANG.common.more} <svg class="icon"><use xlink:href="#icon-angle-down"></use></svg></a> {/if} <div class="text-center hide" id="loading"><svg class="icon-x3"><use xlink:href="#icon-spinner"></use></svg></div> </div> To: </div> </div> {* <div class="hide" id="ccScrollCat">{$category.cat_id}</div> {if $page!=='all' && ($page < $total)} {$params[$var_name] = $page + 1} <!-- Add "hide-for-medium-up" to the class attribute to not display the more button --> <a href="{$current}{http_build_query($params)}{$anchor}" data-next-page="{$params[$var_name]}" data-cat="{$category.cat_id}" class="button tiny expand ccScroll-next">{$LANG.common.more} <svg class="icon"><use xlink:href="#icon-angle-down"></use></svg></a> {/if} <div class="text-center hide" id="loading"><svg class="icon-x3"><use xlink:href="#icon-spinner"></use></svg></div> *} </div>
  3. If you are using Foundation, and have not made a renamed copy of the actual Foundation skin folder and then using that, then when upgrading CubeCart (whole-cloth, not in a piecemeal fashion), the Foundation skin gets upgraded along with the core code. So, please review the files as detailed in the link above to see what your situation is.
  4. If you are using a skin that has not been updated for several versions, it may be the case that the Login, Register, and maybe a couple of other links are hard-coded to have a .html extension, where the version of CubeCart being run is expecting URLs to not have the .html extension. I will try to find a conversation on these forums that details the fix. Please see: https://forums.cubecart.com/topic/57069-minimaliser-skin/
  5. That would be in the AIOS module's control panel. On the admin Navigation pane, click the Manage Extensions. From the list of extensions shown, click the Edit icon for All in One Shipping. On the module's administration control panel, General tab, Debugging, select "Debug Enabled (Verbose)".
  6. The All in One Shipping module has a Debug setting. Choose to see a Very Verbose explanation. The debug analysis will show why there were no shipping rates found to satisfy the required conditions.
  7. I have made some experiments, and if your code has not been changed (you say it hasn't in a reply above), then there may be a code snippet or plugin that uses the hook named 'class.seo.buildurl.dynamic_url'. I don't find a way to see the entire Cookie Consent table in admin, so you might want to look at the database table CubeCart_cookie_consent directly. The 'log' column has a copy of the phrase that was displayed. If those logged phrases have the <a> tag with href="%PRIVACY_URL%", then we can narrow the search of where things are going sideways.
  8. "We would like to do 'Work through CC5 to make it compatible with PHP7' if possible." Here is a text file (zipped) that has edits to CC5216 that will let it run under PHP7.4 or earlier. It also has the critical security fix (you may have already implemented it). I also gave edits for bug fixes present in CC5216 that carried over to, and were fixed in, CC6. Do the edits in order, for the sole reason that as statements get added or deleted, line numbers will change. (And, depending on whether there are any customizations you've made, realize the line numbers are approximate.) CC5216toPHP74.zip
  9. Al or Havenswift might have a more trustworthy answer, but for being in the USA, I *think* not so much. According to: https://cookiefirst.com/ccpa-compliance/ if you do business in the EU, then yes. If you do business in California, then yes. I still have the experiments to do.
  10. Ok, I'll do some experiments to try to reproduce the issue. In the meantime, do you feel the need to have the Cookie Compliance dialog enabled? If not, in admin, Store Settings, Extra tab, uncheck the GDPR Cookie Compliance checkbox. Then clear Cubecart's cache.
  11. For your document identified as the Privacy document, does this document have any redirect setting?
  12. For my information, what program are you using to view this file that caused the text to turn white after the first newline character?
  13. No, that is just a multi-line phrase. There are line ending characters in the string. There is the matching </string> on line 860.
  14. I am fairly confident that the mail subdomain actually pulls up your CubeCart pages. In certain situations, that domain gets cached. Until the subdomains get sorted, please do this: Using a programmer's text editor, create the file ini-custom.inc.php in CubeCart's main folder, and have as its contents: <?php $GLOBALS['storeURL'] = 'https://www.maxsports.ca'; And clear the cache.
  15. Very likely a bug. I believe it is supposed to be: Line 74, from: $cart_order_id['total'] To: $order_summary['total'] I will post an issue to the Github.
  16. Let's confirm a few things: The following code has not changed: /classes/gui.class.php, near lines 956-963: if (Config::getInstance()->get('config', 'cookie_dialogue') && !isset($_COOKIE['accept_cookies'])) { if ($privacy = $GLOBALS['db']->select('CubeCart_documents', 'doc_id', array('doc_privacy' => '1'))) { $dialogue = str_replace(array('%s','%PRIVACY_URL%'), array($GLOBALS['config']->get('config', 'store_name'), $GLOBALS['seo']->buildURL('doc', $privacy[0]['doc_id'])), $GLOBALS['language']->notification['cookie_dialogue']); } else { $dialogue = str_replace('%s', $GLOBALS['config']->get('config', 'store_name'), $GLOBALS['language']->notification['cookie_dialogue']); $dialogue = preg_replace('/<\/?a[^>]*>/', '', $dialogue); } $GLOBALS['smarty']->assign('COOKIE_DIALOGUE_TEXT', $dialogue); ------------------------- Using skin template box.eu_cookie.php which uses {$COOKIE_DIALOGUE_TEXT}. ------------------------- In /language/definitions.xml, in the group 'notification', the key "cookie_dialogue" is: %s uses cookies. For more detailed information about these cookies please see our <a href="%PRIVACY_URL%">privacy policy</a>. Please accept to continue or block all non-essential cookies. ------------------------- The logic error I thought I saw was that if CubeCart has not identified a document as a 'Privacy" document (admin, Documents, Privacy table column), then just the non-link phrase "privacy policy" should appear in the banner message, as there being an attempt to strip the <a> tags. But your banner has a link, so there must be a document so identified. That means, somehow, the str_replace() isn't replacing %PRIVACY_URL% in the language phrase with the name of the identified privacy document.
  17. In the code, I find %PRIVACY_URL% in the template that shows the "We use cookies" message. Looking at that code, initially, I think I see a logic bug. (/classes/gui.class.php, near lines 956-962.) Be back later.
  18. Because it only happens some unknown time after clearing the cache (CubeCart's or Safari's?), I think the problem is not necessarily a coding error in the template - but I am not ruling it out.
  19. This is incredibly interesting. This might only affect the Best Sellers template. Please determine if your domain name registration has any sort of sub-domains that overlap. That is, the www sub-domain and the mail subdomain point to the same server and folder on that server. You might need to get your hosting provider involved. You will also probably need to closely examine web access logs to see what exactly happened when images were started to be requested using the mail subdomain. (I recall that a similar issue was present in CubeCart many versions ago, where if an alternate domain was used, but pointed to the same installation of CubeCart - or if two CubeCarts used the same database - the Categories list somehow acquired that alternate domain name.) (If possible, attach the box.popular.php template to a PM.)
  20. Something didn't get upgraded properly. Or, it could be that the upgrade process left the following situation: In the main directory where CubeCart is installed, there may be more than one folder that begins with 'admin', such as /admin/, and also /admin_rAnDoM/. One will be the version you upgraded from and the other will be the version you upgraded to. The date of the folder will indicate which is the latest version. In the file /includes/global.inc.php, there will be a reference to the administration file and folder that may indicate the older version. They need to indicate the newer version. (The administration PHP script file did not change, but did take on a new filename.)
  21. A blue square with a white question mark? This is Safari's placeholder for an image that was not able to be loaded, or not able to be shown. (Firefox uses a page that is ripped in half icon.) I am not able to tell you how to use Safari's Developer Tools, but once having brought up the tools, the Network page or the Console page will help you discern what the URL of the images are, and what explanation, if any, was the problem with loading them. If you bring up the Context Menu for one of the images and select "Open Image in New Tab", does the actual image show?
  22. I, too, am interested in MultiBuy. I have installed Drupal and the eCommerce solution built for it, which has a MultiBuy feature. It's all basically a logic table -- just need to wrap my head around it. The eBay, Amazon, Etsy, Apple App Store, etc. -- I would say it's all name recognition, coupled with the (very real) expectation that these storefronts/platforms would have listed what you want no matter what it is. So, naturally it seems, that's where you start looking.
  23. "somehow it did not work." Did you start a conversation on the forums regarding this?
×
×
  • Create New...