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,156 profile views
  1. Let's review: On the General tab, click "Show advanced settings" link. This slides open a series of checkboxes. Have "Per item component" checked. Click "Save all changes". Now, view a shipping zone. For each rate row, you should now see in the Shipping Price column, something like: 100.00 + 0.00 per item. Click on the Edit icon for a row you wish to add charges per item. Change the 0.00 to something else. Click "Save all changes". (You might also need to have CubeCart clear its internal cache.) Be sure the delivery address satisfies the zone's area, and the shopping b
  2. Could be that if your entire Cubecart_order_summary table has a value in the 'custom_oid' column, then it could have carried over from CC3, or maybe the option to "Apply format to all past orders" was checked. But, start with an early CC6 install, make some sales, then upgrade and switch to using a custom order code, and make more sales. The database will have in the CubeCart_order_summary table, 'custom_oid' column, either the custom order code or possibly null - depending. When viewing the list of orders in admin, the code does not cause a fallback to displaying the traditional ord
  3. When it says "(using password: NO)", that means that of all the things that PHP is sending over to the database server in the connection string, the password isn't one of them. So, in /includes/global.inc.php, make sure there is a statement: $glob['dbpassword'] = "something"; Check to see if there have been any edits made to the files in the /classes/db/ folder.
  4. 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.
  5. 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.
  6. 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?
  7. 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
  8. 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
  9. 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 $
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  • Create New...