Jump to content

bsmither

Member
  • Posts

    17,980
  • Joined

  • Last visited

  • Days Won

    603

Everything posted by bsmither

  1. Customers do not get an email when the order goes to Pending (exception: the POS gateway could send a reminder email). The config setting is for when the Administrators get an email. If the customer does not get an email when the order goes to Processing, that will be the issue to solve. Upgrading to 6.1.1, or 6.1.10?
  2. The emails are in CubeCart's admin, Email Templates. Click the flag of the email translation you want to edit: probably Admin: Order Received. On the next screen, view the HTML Content and Plain Text Content tabs. You should see lines for Subtotal, Discount, Shipping, Taxes, and Order Total.
  3. For the 505 issue, I think a web server error log (as opposed to a PHP error log) should show the error. For the blank page, try creating the error log file.
  4. The 2.0.3 part of EBS 2.0.3 is CubeCart's versioning and does not necessarily reflect the EBS API version. That said, comparing the EBS documentation against what CubeCart's module sends has a few differences. Do you have the ability to examine web access logs from your hosting accounts control panel (Cpanel, perhaps)?
  5. Welcome The Home Depo! Glad to see you made it to the forums. According to the EBS Integration Guide, the choice of the Merchant Name or Merchant Domain Name is made on the Merchant Payment Page Preferences (at EBS - not configurable at the CubeCart integration). The docs say the Merchant can have up to five payment pages, each with distinct design and content, and the page to use (page_id) can be specified in the data sent to EBS for making payment.
  6. Welcome DeanDM! Glad to see you made it to the forums. Depending on the version installed, CubeCart will require two PHP extensions that are not always enabled: Multi-Byte Strings, and ZipArchive. You may be able to enable them in the CPanel option of configuring your PHP installation. Please see this post about how to create an error log file.
  7. That's bizarre. An HTTP response of 505 is "HTTP Version not supported". That would probably be a case of the browser wanting to make a page request using a weird HTTP protocol version. The only thing I can think of is that CC606's admin.js javascript file has some sort of ajax request to start a backup, and the ajax request is configured badly. But that is such a long shot. (I haven't looked at CC606's javascript to confirm.)
  8. Yes, it would be nice to know. I could probably find out, but would need access to the admin side of the store - in order to view the HTML and discern what the faulty HTML happens to be that causes the button to be mis-located.
  9. The Save button is definitely in the wrong place. That tells me there is a rogue </div> tag somewhere in the admin skin templates. Or "possibly" the contents of the Offline Message or Copyright content has something that is confusing the browser in how to render the HTML. You can certainly re-upload the admin skin, then manually delete all files in the /cache/skins/ directory. A storefront skin (theme) cannot affect the admin skin, or v.v.
  10. I do not have an answer for the Chrome vs Edge difference. I do not have an answer for this site versus your other site difference, other than the version of CubeCart may be different? The latest version of CubeCart is really wanting to pass back and forth a security token. So much so that I think it is a bug. Please try this: in the CleanSkin config.xml file, make this edit: Find: </info> Add ABOVE: <csrf>true</csrf> In CubeCart's admin, Maintenance, Rebuild tab, clear the cache. This will have CubeCart re-fetch the skin configuration. Now, CubeCart will add the code necessary to pass back to CubeCart the Security Token when submitting a form, such as Add to Basket, Login, and Register.
  11. We may want to look at any and all error logs that may be available. So, create the error log, and also look in CubeCart's admin Error Log pages. You are wanting to look for any errors that be happening at the same time the order is being made (plus or minus the timezone shift if the error log says UTC). Please see: https://forums.cubecart.com/topic/51457-resolved-order-stuck-on-pending-smarty-syntex-error-in-error-log/
  12. That suggests to me that there is some (otherwise invisible) part of the web page that is laying on top of the submit button. A visible effect of this is when the mouse cursor hovers over the Save button, the button is suppose to take on a slightly different shading effect. Confirm this change in appearance on a page where the submit button does POST the form data. Now, if the appearance of the Submit button does actually change, then this might not be the problem. Another possibility is that the javascript for this page has crashed. Determining if that has happened may be tricky.
  13. When you say the Save at the bottom of the Store Settings seems to have no effect, are you saying that the Save button appears to be dead, as in the page does not submit, or that the page does submit, but the data returned is the same (and there is no banner saying the settings were saved)? If the first, it may be a case where the CSS and/or javascript no longer matches the CC6110 version - that is, if having upgraded from an earlier version, the web browser is still using copies of that earlier version from the browser's internal cache. If so, force the browser to re-fetch fresh copies of the page's resources. This is usually done with CTRL-F5.
  14. That is a "signature block", or 'sig'. You can create your own. The personal sig appears with every post a forum user makes. Do not take it personally.
  15. I mentioned there are several extensions to do this. However, any extension (including one I wrote) creates keys that are available for every product. Which is to say, a phrase key for "Suitable for ages:" is available for all products to have appropriate values, such as "8+". If a product is not using this phrase, it won't appear in the output. But it is available when adding/editing a product in admin.
  16. Welcome Sandeep Kesarwani! Glad to see you made it to the forums. I think no one has figured out how to fix that.
  17. This is what I have come up with so far: CubeCart admin, Manage Hooks, Code Snippets tab, click Add Snippet: Enabled: checked Unique ID: smarty_parse_prod_desc@cc6110 Execution Order: 10 Description: Send product description through Smarty parser Trigger: calss.cubecart.display_product Version: 1.0 Author: https://forums.cubecart.com/topic/52901-product-specifications/ PHP Code: <?php /********************************************************* * Hook: class.catalogue.display_product * * Fetches the product's description and * short description. If "Parse Content" * is enabled: * * Smarty will parse the description * * Smarty will parse the short description * * If needed, a new short description is derived * * Be careful! The parsed code must reference * data already assigned to targeted Smarty variables ********************************************************/ $parse_content = true; // set this until an admin interface is created if($parse_content){ $smartyTemplateVar_PRODUCT = $GLOBALS['smarty']->getTemplateVars('PRODUCT'); $snippet_smartyparseprod_result = $GLOBALS['db']->select('CubeCart_inventory', false, array('product_id' => $smartyTemplateVar_PRODUCT['product_id'])); $snippet_smartyparseprod = array('description' => $snippet_smartyparseprod_result[0]['description'], 'description_short' => $snippet_smartyparseprod_result[0]['description_short']); $snippet_smartyparseprod['description'] = $GLOBALS['smarty']->fetch('eval:'.$snippet_smartyparseprod['description']); // Compiles for every instance called $snippet_smartyparseprod['description_short'] = $GLOBALS['smarty']->fetch('eval:'.$snippet_smartyparseprod['description_short']); // Compiles for every instance called $use_this_to_get_short_description = array('description' => $snippet_smartyparseprod['description'], 'description_short' => ($snippet_smartyparseprod['description_short']?:'')); $smartyTemplateVar_PRODUCT['description'] = $snippet_smartyparseprod['description']; $smartyTemplateVar_PRODUCT['description_short'] = $this->descriptionShort($use_this_to_get_short_description); $GLOBALS['smarty']->assign('PRODUCT',$smartyTemplateVar_PRODUCT); } Save the snippet. To test, edit a product description with this example: In the description editor - SOURCE mode: <p>This is the main copy for the product.{if $PRODUCT.product_weight gte 2} HEAVY!!!{else} Easy to carry!{/if}</p> The editor needs to be SOURCE mode as I do not find a toolbutton that can add "protected" content. Save. View the product description on the storefront. Then set the product's weight to either higher or lower than 2 (other than what it was). View the description again. A few things to keep in mind: The CubeCart programmers has CubeCart processing the data and assigning it to the Smarty variables, then are having Smarty compile the appropriate template. Once compiled, getting different data onto the template is an order of magnitude harder. The main action of the page requested (product, category, document, login, etc) is finalized first, followed by all the extra stuff (header, footer, sidebars, etc). So, to determine what variables may be available, add {debug} to the end of the particular template. (I have a suggestion in for CC7 to assign all the data to Smarty, waiting until the last possible moment to render all templates.)
  18. " I don't see "condition" in the drop-down " Interesting. Please take a look at CubeCart's admin, Store Settings, Layout tab, "Product List Sorting". There is a conversation on these forums (I think) that discusses this. The order will go to Processing regardless if it was paid, or not. (Processing status implies it was paid.) Assuming the custom phrase was not a case of having edited an actual template to say that, changes to the language phrases is done at CubeCart's admin, Languages, and click the Edit icon of the language you wish to change. On the drop-down presented to you, choose the Confirm phrase group. A few seconds later, a list will show up. The phrase you want will probably be one these. Changes to a language in this way will be databased and will survive an upgrade.
  19. I was working on a "parse Smarty tags" in the Product Description -- but I knew this would happen: A Smarty tag would be something like {$PRODUCT.condition}. In order to parse that, the PRODUCT variable would need to have the data assigned to it already. But that hasn't happened yet. CubeCart is still collecting and processing the product's data in order to assign it to PRODUCT. So, I need to find a hook that happens later in the process of building the final page.
  20. The setting image above is for notices sent to the admin - which you say you have no trouble with. If you were to manually move an order to Processing (or the customer successfully paid for it), then we need to determine if CubeCart sends an email to the customer. Please let us know by what means you have added "Condition" as a choice in the Advanced Search page Sort By drop-down selector. As soon as we work through the code, we should have some edits to be made.
  21. The query includes this bit: ORDER BY condition ASC First, 'Condition' is not a stock choice to sort by on the Advanced Search page. This must have been added after-market. Second, 'Condition' is a reserved keyword in MySQL. See: https://github.com/cubecart/v6/issues/1747 Third, a failed search of the catalogue should not prohibit the Mailer from sending emails to customers on successfully concluded orders. You say eight orders have been placed. Have any of those orders progressed to the Processing or Complete status? The stock behavior is that customers do not get an email when an order remains at Pending. The Print Order Form gateway module is only one that actually sends an email from CubeCart at Pending.
  22. The CubeCart_ccss_ip_addresses table error messages seem to suggest that the CubeCart Security Suite plugin wants to run, but wasn't initialized properly, or, for the plugin's benefit, the database user was not given permission to create a table in the database. Thus, the 'does't exist' messages. I'm not sure about the Stripe module. Is the screen grab from Stripe's web site, or CubeCart's?
  23. Any upgrade from a recent version would not have "switched off" or changed whether or not a customer gets an email. They should always get an email, unless that particular email for that order was already sent. According to the log, a customer's email failed to send (Sent column has an X). Any pertinent log entries in CubeCart's admin, Error Log, System Error Log tab? Will the email send if you click the Resend icon?
  24. If we go with being able to parse Smarty tags in the Product Description, then we can use whatever data has been given to Smarty prior to the parsing. So, whatever can now be displayed (price, quantity, name, prod_code, etc) we can (probably) use in the description. Anything additional will need to be derived from that existing data, or retrieved from the database. For example: if the prod_code needs amending for display purposes only, meaning CubeCart would not care that it changed, the Smarty syntax might be: {$PRODUCT.product_code}{if $PRODUCT.stock_level lt 1}_oos{/if} This makes the Product Code look like FuzzWuzz_oos if it is out of stock. Again, this is only for display purposes. For custom specifications, like "Suitable for ages:" as the spec name, and "8+" as the value for this spec, you will need a plugin. There are a few extensions available to do this. Once the plugin gives these new specs to Smarty, the product description (probably) can show it. I say 'probably' because it depends when CubeCart would parse the description content versus when the plugin hook is fired. Which happens first could be managed.
  25. Disabled? Or just isn't getting sent for no apparent reason? In CubeCart's admin, Email Log, see if the attempt is listed.
×
×
  • Create New...