Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


bsmither last won the day on April 11

bsmither had the most liked content!

Community Reputation

1,481 Excellent

Profile Information

  • Gender
  • Location
    Pacific Coast

Recent Profile Visitors

91,123 profile views
  1. That will require an Export module be written. What would you like the module to report? The records in CubeCart_order_inventory will have to be scanned, summing up the quantity column of the various items.
  2. This is, unfortunately, how CubeCart is currently coded. I thought there might be an issue about this posted in the GitHub, but I can't find it.
  3. So, if a logged-in customer has a delivery address with a postal code that starts with P0S, the rates that should be shown to the customer is all rate rows of that zone that satisfy each of the rows' conditions. What are the rates in the "Local Area" zone?
  4. CubeCart takes a shortcut. Let's look at the private function _product() in the cubecart.class.php file. About twelve lines in, the entirety of the $_POST['review'] array is passed to $record (after encoding all the special characters). The $_POST['review'] array includes: 'anon' or 'name' and 'email', 'title', 'review'. Now, $record has those array elements. The code that actually does the database insertion checks to make sure that there is a table column having the same name as the array element key. Thus, the value in $record['title'] will end up in the 'title' column of the
  5. So, Chrome is being difficult. There is an issue (https://github.com/cubecart/v6/issues/2083) that mentions this. CubeCart HQ has put this at the bottom of the pile to be looked into. You may need to take these steps: 1. Configure the Synology to use Virtual Hosts, with a host that responds to 'www.nelly.home'. 2. On your computer, find the 'hosts' file and add an entry that points www.nelly.home to
  6. Let's review: $record['bijkomend'] = (isset($_POST['bijkomend'])); The form element with the input name "bijkomend" will get POSTed if the input tag is within the appropriate <form> block. The statement above tests if the form element exists in the POSTed data. But, so far, the answer is either a 'true' or a 'false' logical value. This is the start of a typical test structure called a Tertiary Operator. We can see that with the $_POST['rating']. To finish that statement: $record['bijkomend'] = (isset($_POST['bijkomend'])) ? $_POST['bijkomend'] : ''; The $
  7. See what happens when you click once on the second _g=login page request. This should highlight that line item and possibly show additional information - including all that what was requested and most of what was returned, including cookies. The same place where you found the session data, there will a table of SERVER variables. One of those should mention the name and version of the web server.
  8. During installation, CubeCart copies the contents of /language/email_en-GB.xml into the database. For each additional language pack installed, the contents of email_xx-XX.xml are copied into the database. To change the contents of any specific email content, in admin, Email Templates, Email Contents tab, click the flag of the template you wish to edit.
  9. Can we assume you chose the Apache as the back-end web server for the NAS? My initial research on the Synology suggests this is a choice. Using nginx will require other measures to enact URL rewriting.
  10. Using your browser's Developer Tools, when requesting any page from your site, examine the Network page of the tools to discern what cookie(s), if any, are being received from your site, and, more importantly, what is being sent back with the page request.
  11. Defined? What specifically? The code can be found in /classes/order.class.php, public function orderStatus(). The self::ORDER_FAILED, etc, is defined at the beginning of the class file.
  12. I think this is a work-around for their SystemPay module -- and perhaps some kind of issue with the payment processor calling CubeCart more than once. This has not yet been proven to be a systemic problem with CubeCart code. So, I vote no.
  13. The next step is to see if there are any errors in the error log. You will probably need to allow PHP to create it: https://forums.cubecart.com/topic/51550-how-to-create-the-error-log/
  14. If you are putting all of the above code in the module's skin code verbatim, then that is not a correct approach. If you are just adding: {if $product.stock_level lt 1}{continue}{/if} into the module's skin code, then the name of the variable needs to be adjusted: {if $homepage_random_product.stock_level lt 1}{continue}{/if} This is how I see it. (I haven't tested.)
  15. For not being able to keep anything in the basket, the key reason is that PHP is not using, or can't get at, these session files. If the /setup/ folder is still present, within it is "info.php". Executing that file will show where and what session data is kept. If that isn't available, then looking directly at PHP's configuration file, PHP.INI, will also show this info.
  • Create New...