Jump to content

bsmither

Member
  • Posts

    17,976
  • Joined

  • Last visited

  • Days Won

    603

Everything posted by bsmither

  1. Just a question to verify your needs: If a customer puts ProdA and ProdB and ProdC in the cart, do you intend to allow the customer to choose to ship ProdA as B2C, ProdB as 2nd Class, and ProdC as 1st Class? From the table above, it seems each product has a distinct shipping schedule. Do you use any Rate Request API provided by UK Post for dynamic prices? Or are these schedules predetermined by you and are static?
  2. "What I had in mind was something like google Base that you can set it to update at a certain time of day" This sounds like a timed, repetitive event at pulling data from CubeCart. If so, CubeCart allows for responding with a custom report (CSV or XML) having received a properly formatted page request. It will be up to the requester to have the timed trigger.
  3. As of now, CubeCart is not coded to have anything but a dedicated connection between itself and its database. Thus, a second store using the same database would be really complicated to modify CubeCart code to do. What you might be able to do is have two different domains pointing to the same installation of CubeCart, and minimally code CubeCart to show a specific skin for that other domain. This skin would be coded to show certain selected categories. With other interesting small code changes, only select portions of other aspects of your store would be shown (documents, languages, etc).
  4. This helps. It shows there is a misunderstanding between the purpose of the text entry field for "URL" on the General tab, and the text entry field for "Custom SEO URL Path" on the Search Engines tab. The URL on the General tab is to tell CubeCart that is an actual, factual web page called test.html is located at the main folder of your store. CubeCart will use this actual URL as the link seen in the browser, in the site's list of Site Documents. Therefore, using URL will require there to be a web page at that location - which can be anywhere because you can enter any valid web address. As such, the contents you enter for this document does not matter as the link points somewhere else. The Custom SEO URL Path on the Search Engines tab is what you are actually wanting. Here, enter just test. CubeCart will construct the proper and correctly formatted URL (ending in .html, for example) as seen in the browser, in the list of Site Documents.
  5. Find this really long line, only the beginning of it is shown below. if($user_defined && !CC_IN_ADMIN REPLACE JUST THIS PART of that long line: if($user_defined && !CC_IN_ADMIN WITH THIS: if(!($GLOBALS['config']->get('config', 'disable_estimates')=='1') && $user_defined && !CC_IN_ADMIN Here is the whole complete line: if($user_defined && !CC_IN_ADMIN && $_GET['_a']!=='addressbook' && ((empty($address['state']) && !empty($address['country'])) || ($GLOBALS['db']->select('CubeCart_geo_zone',false, array($state_field => $address['state']))==false) && $GLOBALS['db']->select('CubeCart_geo_zone',false, array('country_id' => $country_id)))) { Here is the whole complete line after adding the new code: if(!($GLOBALS['config']->get('config', 'disable_estimates')=='1') && $user_defined && !CC_IN_ADMIN && $_GET['_a']!=='addressbook' && ((empty($address['state']) && !empty($address['country'])) || ($GLOBALS['db']->select('CubeCart_geo_zone',false, array($state_field => $address['state']))==false) && $GLOBALS['db']->select('CubeCart_geo_zone',false, array('country_id' => $country_id)))) {
  6. I see a problem in the logic where this test is being made. The logic imposes that, if there is a 'country, there must be a 'state'. Until I formulate a better logic solution, try this (haven't tried it myself): /classes/user.class.php, near line 457, Find this really long line, only the beginning is shown: if($user_defined && !CC_IN_ADMIN Add the new code to the existing line as shown: if(!($GLOBALS['config']->get('config', 'disable_estimates')=='1') && $user_defined && !CC_IN_ADMIN Then, in admin, Store Settings, Features tab, for "Disable initial shipping & tax estimates", check that box.
  7. I certainly would want to work with you on this, as this behavior is unacceptable. As a test, create a new category, and on the Search Engines tab, enter a desired SEO URL. Save. But do not reload that category just yet. Instead, hover the mouse over the "edit" icon and observe the URL that the browser will use to fetch the page if clicked on. Note the 'cat_id' value. Then, using an external database utulity, such as phpMyAdmin, look in the table CubeCart_seo_urls. Scroll to the last record in the table. It should be a 'cat' type and an 'item_id' of what was noted earlier. Does the 'path' reflect what was entered for the SEO URL on the Search Engines tab earlier?
  8. I cannot reproduce this. Can you repeat this? Does this always happen? I see that your example is 1000RX. Does the same thing happen if creating a document with a specified SEO URL that does not start with a number - such as, rx1000.
  9. Thank you for this report. I will check the code to verify.
  10. There is this extension: https://www.cubecart.com/extensions/plugins/product-dimensions But, according to its description, it is up to the shipping module to find and use this new info. I have advised those who use UPS and federal shipping services (USPS, CANADAPOST, etc) to enter settings for a size that is average for your product line. check if the package size changes the charges incurred. For example, for UPS, the size of the package does not change the rate quote, but may change the service provided - ground only. So, for Parcel2Go, get a verified quote for a 6kg package in a small box vs a large box. If there is no difference, then we know Parcel2Go generally ships by weight, not volume. If this is the case, then enter the most commonly sized box you use.
  11. Confirm that on the Description tab of Add/Edit Product, you have an actual CKEditor (with toolbars) and not a plain-simple text-entry box. The CKEditor has two modes: WYSIWYG and Source mode. In Source mode, you enter syntactically-correct HTML In WYSIWYG mode, you use the tool buttons to enter tables and links, and apply text styling. What you describe could be that CubeCart is "stripping tags" - assuming nothing in the CSS is interfering with the actual HTML. Do you think it possible that you have an older version of some files in /admin/sources/ folder versus files in the /classes/ folder?
  12. I see three edits for the Foundation skin: 1. content.checkout.confirm.php 2. 3.cubecart.validate.js 3. /classes/cubecart.class.php content.checkout.confirm.php Find: <div class="small-12 large-8 columns"><label for="user_phone" class="show-for-medium-up">{$LANG.address.phone}</label><input type="text" name="user[phone]" id="user_phone" required value="{$USER.phone}" placeholder="{$LANG.address.phone} {$LANG.form.required}" autocomplete="tel"></div> Change to: <div class="small-12 large-8 columns"><label for="user_phone" class="show-for-medium-up">{$LANG.address.phone}</label><input type="text" name="user[phone]" id="user_phone" value="{$USER.phone}" placeholder="{$LANG.address.phone}" autocomplete="tel"></div> Find: <div class="row"> <div class="small-12 large-8 columns"><label for="state-list" class="show-for-medium-up">{$LANG.address.state}</label><input type="text" name="billing[state]" id="state-list" required value="{$BILLING.state}" autocomplete="address-line1"></div> </div> Change to: {* <div class="row"> <div class="small-12 large-8 columns"><label for="state-list" class="show-for-medium-up">{$LANG.address.state}</label><input type="text" name="billing[state]" id="state-list" required value="{$BILLING.state}" autocomplete="address-line1"></div> </div> *} Find: <div class="row"> <div class="small-12 large-8 columns"><label for="delivery_state" class="show-for-medium-up">{$LANG.address.state}</label><input type="text" name="delivery[state]" id="delivery_state" required value="{$DELIVERY.state}" placeholder="{$LANG.address.state} {$LANG.form.required}" autocomplete="address-level1"></div> </div> </address> </div> {/if} <script type="text/javascript"> var county_list = {$STATE_JSON}; </script> Change to: {* <div class="row"> <div class="small-12 large-8 columns"><label for="delivery_state" class="show-for-medium-up">{$LANG.address.state}</label><input type="text" name="delivery[state]" id="delivery_state" required value="{$DELIVERY.state}" placeholder="{$LANG.address.state} {$LANG.form.required}" autocomplete="address-level1"></div> </div> *} </address> </div> {/if} {* <script type="text/javascript"> var county_list = {$STATE_JSON}; </script> *} 3.cubecart.validate.js Find: 'billing[state]': { required: true }, Change to: /* 'billing[state]': { required: true }, */ Find: 'delivery[state]': { required: true }, Change to: /* 'delivery[state]': { required: true }, */ cubecart.class.php, near line 947: From: $required_address_fields = array('first_name','last_name','line1','town','country','state','postcode'); To: $required_address_fields = array('first_name','last_name','line1','town','country',/*'state',*/'postcode'); This is for that case where the customer has not logged in, and is checking out. CubeCart may use the store's address as a temporary billing and delivery address until the customer provides their own. Thus, after entering this info in the "Profile" (Customer Details) section of the checkout screens, the customer may be given this screen again with a note that details have been updated and shipping charges may have changed - if appropriate. These changes may also cover the case where the customer is logged in. I haven't tried that. And there is the situation where the Addressbook may also demand a State/County. We can work on that if you get stuck.
  13. In addition to curl, the latest version also requires Multi-Byte capability (mb_string). This being missing is likely why the storefront is not showing. Also, PHP has a ZIP archive extension. That will need to be enabled for backup, upgrade, and module installation. Please find PHP's error_log - you may need to enable it. Otherwise, CC6 will run on Windows.
  14. According to the plugin's docs tab (https://www.cubecart.com/extensions/payment-gateways/authorize-net-aim-sim), version 1.1.2 may have dealt with that. Please verify the version of Authorize.net you have installed.
  15. Please remind us which skin you are/intend to use. When developing, it is best to have CubeCart not use its internal cache. So, in admin, Store Settings, Advanced tab, disable the Cache. Also, it may help you to have the debug be displayed. So, enable debug mode and enter your IP address in the adjacent field (www.whatismyip.com). If Mican, then: Find: <div id="boxes"> {$SEARCH_FORM} {$LANGUAGE} {$CURRENCY} </div> Change to: <div id="boxes"> {$SEARCH_FORM} {* $LANGUAGE *} {* $CURRENCY *} {* This is a template comment: brace-star-space *} </div> Find: {$MAIL_LIST} Change to: {* $MAIL_LIST *}
  16. With this ini-custom.inc.php, the error_log should be in the root folder. If you found it somewhere else, then maybe the PHP.INI file has a directive to put it in the folder where the error occurred - and not let anything else override that directive. Anyway, I am thinking the file categories.index.php is misspelled, or has permissions issues.
  17. Please check the spelling of the new file. You have ini.custom.inc, it should be ini-custom.inc.php.
  18. We need to add some diagnostic code. We should take this to email. Send me a PM.
  19. Empty, as in no listing of categories, but still have the left-side nav panel and header? Or a completely blank white page? Please create the error log. Logging in twice implies that CubeCart may have had a known session about the last login, and would have given you that same session, but the cookie didn't match. Are you properly logging out?
  20. The third one belongs to some other function. In admin, Manage Hooks, Code Snippets tab, take note of all the enabled snippets. It could be that the third one did not get encoded properly. Click the edit icon and determine what this is suppose to do.
  21. Yes, you will need to manually change the customer_id in the table CubeCart_downloads from the previous value to the new customer_id. Or, you can edit the email address of that customer in the admin Customer List, Edit Customer, General tab. The problem here is that the customer will already have an account with the correct email address and CubeCart will not allow a duplicate. You will need to note the correct email address on the newer account, delete that account, then fix the prior account.
  22. Let's be clear: is the situation you are describing on the storefront - the customer's Downloads page - or in admin, on that order's Order Summary, Overview tab?
  23. "wiped out"? Earlier you said the links didn't work - implying they are listed. But if the customer_id actually changes, then the listing of purchased downloadable products will not be there because the customer_id no longer matches.
  24. What does a download link actually look like when in the list of downloads in the customer's Downloads account page? ('x'-out the accesskey). When clicking a download link, what actually happens? The browser does not make a new page request? A new page request is made, but what comes back? In the database table CubeCart_downloads, there is a 'customer_id' column, but this is not used when validating the request for a digital product download.
  25. Havenswift and cPanel people are working on it. Probably IBM's cloud has nothing to do with this.
×
×
  • Create New...