Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 10/20/2017 in all areas

  1. 2 points
    Works fine,it's pretty simple and could do with some refinement in the future to make the UI a little nicer and add additional features such as an API so those of us with a larger catalogue can setup automated order processing (for licenses etc). PayPal do also take a fee on top of the CubeCart fee.
  2. 2 points
    Your database and dB user names and passwords will almost certainly be different on your new hosting and you need to update the /includes/global.ini.php file with the new values Ian
  3. 2 points
    Seems to have levelled off the cache at around 35,000 objects at the moment, will keep an eye and report back later.
  4. 2 points
    Try this: In includes/ckeditor/config.js, at the bottom, find: config.allowedContent = true; }; Change to: config.allowedContent = true; config.coreStyles_italic = {element : 'em'}; config.extraAllowedContent = 'i[*]{*}(*)'; }; CKEDITOR.dtd.$removeEmpty = '{i: 0}'; The same added statements can be used for other HTML tags used in unorthodox ways.
  5. 1 point
    Welcome Claud! Glad to see you made it to the forums. We would ask that you create the error log. There may be an issue with maintaining session state.
  6. 1 point
    A scenario has been known to happen whenever one mouse-swipes some text to select it, then copies it to the clipboard, and then pastes the clipboard to a text entry field -- that the mouse-swipe inadvertently also includes hidden white-space: a tab character, a space character, a newline character. So, in this scenario, which can and does happen everywhere, extra illegal (invisible) characters was part of the token sent to the Marketplace.
  7. 1 point
    Thanks Al. It's working great now.
  8. 1 point
    Earlier, I said: The line numbers shown indicates that CubeCart is using the 'X-Forwarded-For' header. This then suggests that the web server is mis-reporting or mis-interpreting the IP address in that X-Forwarded-For header. So, we have verified that the SERVER_ADDR and REMOTE_ADDR is correct. It is the PHP function apache_request_headers() - line 523 - is where Cubecart is getting the value of the server address. Conclusion: There is an appliance just ahead of the web server that is adding/mangling the X-Forwarded-For entry in the Request Headers HTTP stream with an erroneous value. It is possible that this appliance (a reverse proxy server?) uses in a correct fashion the newer Forward header. See if Forward is in the two PHP Info tables discussed earlier. Until the above gets sorted, you can implement a work-around: In the function get_ip_address(), find: // Remove port if it exists $parts = explode(':',$address); $address = (empty($parts[0])) ? $address : $parts[0]; Change to: $address = $_SERVER['REMOTE_ADDR']; // Remove port if it exists $parts = explode(':',$address); $address = (empty($parts[0])) ? $address : $parts[0]; We will use the REMOTE_ADDR because we have verified in PHP Info that it is correct -- FOR YOU!
  9. 1 point
    The scenario is that there is some part of a document where the HTML for that part must not be present when the document is being displayed on a mobile device. The version of CubeCart must support parsing Smarty tags in the document (apparently, all versions of CC6). The mobile device must send a User Agent (UA) string that CubeCart will recognize as being a mobile device. When editing the Content of a document (the HomePage's BXSlider, for example), use the following: {if !GUI::getInstance()->mobile} <ul class="bxslider"> <li><img src="skins/foundation/images/examples/slide1.jpg" title="Message Foo" /></li> <li><img src="skins/foundation/images/examples/slide2.jpg" title="Message Bar" /></li> <li><img src="skins/foundation/images/examples/slide3.jpg" title="Message Baz" /></li> </ul> {/if} Be sure to have "Parse Smarty Tags" setting enabled. Then, create a snippet. In admin, Manage Hooks, Code Snippets tab, click Add Snippet. In the form that appears, fill in fields as follows: Enabled: Checked Unique ID: [email protected]+ Execution Order: 1 Description: Forces CubeCart to detect if a mobile device Trigger: class.gui.css Version: 1.0 Author: https://forums.cubecart.com/topic/54744-how-to-turn-bxslider-off-on-mobile-homepage PHP Code: <?php $current_disable_mobile_skin_setting = $GLOBALS['config']->get('config', 'disable_mobile_skin'); $GLOBALS['config']->set('config', 'disable_mobile_skin', false); $this->_detectMobile(); $GLOBALS['config']->set('config', 'disable_mobile_skin', $current_disable_mobile_skin_setting); The reason we use the "class.gui.css" hook is because CubeCart processes this hook early - before processing the action of getting a document ready for display. It also has to be a hook in the GUI class because that is where the private code is located that determines if the UA string is mobile. Let me know if I left anything out.
  10. 1 point
    Yes the reply to address is wrong. Well get this fixed first thing tomorrow we will also let you know the correct email address to reply to.
  11. 1 point
    I have yet to confirm CC6011 contributes to this problem. I will check on this shortly.
  12. 1 point
    I think the key thing to fix is to have your hosting provider assist you with having sub-domains (mail, hostmaster, etc) resolve to alternate services - not to your site. Also, your domain name registrar should also assist you in making sure non-existent sub-domains (ww) return a "Server Not Found" error.
  13. 1 point
    I'm confused. The first sentence says you want to manually apply an image (and presumably show it). The second sentence you want to suppress displaying it. Can you clear this up?
  14. 1 point
    After several hours, posts and attempts to figure out a way around this problem I finally had to give up and try another self hosted cart script. I spent a lot of time in CubeCart and there are a lot of things I love about it but I simply cannot hand off a store to my client with this behavior, bug or whatever it is. I would suggest a fix for this problem ASAP and after that a PayPal donation link for the developer. In my opinion, technical support cost might be too high or not needed for most folks but I for one would certainly consider a donation for this great free script. Just a thought.
  15. 1 point
    You need to clear the cache in your store. Top right of admin control panel.
  16. 1 point
    Hi @NiteFox This is correct. It's a legal obligation for us to collect taxes on your behalf as a marketplace. Say you sell a £100 skin to an Italian customer (22% VAT rate). You will receive £70, we will take £30 and the tax man will get £22. Please note that PayPal may take a transaction fee from the £70 but I'm not entirely sure.
  17. 1 point
    Out of the box, as a Trexle product, here is our Cubecart NAB Transact Integration.
  18. 1 point
    Our PayPal Express Checkout integration now has smart button support. With Smart Payment Buttons, consumers can choose which payment method they want to use. The checkout dynamically shows the most relevant payment methods at checkout, including PayPal, Credit/Debit Cards, Venmo, ELV/SEPA (Germany only) and PayPal Credit (US only). Merchants can also control the size, shape and colour. In order to use Smart Buttons merchants will need to upgrade their extension to 1.2.0, change their "Checkout Mode" and obtain a Client ID. Further instructions can be found on the extension configuration screen.
  19. 1 point
    The PRODUCT_TABS_TITLES and PRODUCT_TABS_CONTENTS are arrays that are populated by hooks, usually the hook in the Catalogue->displayProduct method. When viewing a product of the storefront, there are three established tabs: Product Information, Specification, and Quantity Discounts. Each TAB has a corresponding CONTENT panel. Other hooks in admin will add tabs and content panels to collect whatever additional data would be related to the product.
  20. 1 point
    The Login/Register is two separate links. That would be done in the template box.session.php: From: {else} <a href="{$STORE_URL}/login.html" class="button white small nopad-sides">{$LANG.account.login}</a> / <a href="{$STORE_URL}/register.html" class="button white small nopad-sides">{$LANG.account.register}</a> {/if} To: {else} <a href="{$STORE_URL}/login.html" class="button white small nopad-sides">{$LANG.account.login}</a>{* / <a href="{$STORE_URL}/register.html" class="button white small nopad-sides">{$LANG.account.register}</a> *} {/if} Have CubeCart clear its cache. Then there is the option to register at checkout.
  21. 1 point
    There's the problem... mb_strtolower your server doesn't have the MB string functions enabled in PHP enable multibyte and it'll fix the issue. also.. eeewwww. PHP 5.5! you should upgrade that to at least PHP 7.1. It's often overlooked. http://php.net/supported-versions.php
  22. 1 point
  23. 1 point
    There is this: https://github.com/cubecart/v6/issues/1427 which could be enhanced to include the case where there is just one product in the listing of a category and there are no child categories. (I'll add this to my to-do list.)
  24. 1 point
    Interestingly, we have just had a report from a client of this exact same behaviour and they have been running 6.2.0 (just recently upgraded to 6.2.1) so it looks like it could be a problem introduced with the new caching in 6.2.0 - unfortunately our client has reported this and then closed their store for their Summer holiday Reported as possible issue : https://github.com/cubecart/v6/issues/2116
  25. 1 point
    I've been recommended this https://www.taxjar.com/ What do you think?
  26. 1 point
    Ah THAT's why you haven't paid your bill! Too busy with your new toy, which wasn't cheap I imagine.
  27. 1 point
    Thank's Al. I reinstalled and it seems to be fine now. Thanks for your help too Noodleman!
  28. 1 point
    While it is faster to upload the zip file and then extract after it has completed, you then need to add the additional steps of ensuring that (if you already have a renamed /admin_xxxxxx directory and admin_yyyyyy.php file), these need to be renamed as you will have a /admin directory and admin.php file from the zip extract and you will end up with multiple copies of both and mixed versions of files as so many on here have done. You also of course still need to run the /setup AFTER completing the rename Ian
  29. 1 point
    I'd chose CloudLinux with cPanel. Or CentOS with cPanel to save cash. @bsmither would say Windows. Either is ok really but CubeCart is more geared to Linux and I hate Windows personally.
  30. 1 point
    CC620 has adopted the attitude that clearing the cache as often as all prior versions of CC5/6 was doing was incredibly aggressive. Now, the admin is to make all changes - adding inventory, creating categories, editing documents, etc, etc - then click the "Clear Cache" button (should now be lit) seen at the upper-right corner of the admin page. The cache holds SQL queries and their results to lessen the load on shared database servers. If you are not concerned about the load on the database while setting up your store, then in admin, Store Settings, Advanced tab, switch off Caching.
  31. 1 point
    Hey Claudia - you probably want to edit your post to get your actual admin_XXXX.php name out of public view. As for the database warning you're getting, it's being discussed in GitHub.
  32. 1 point
    It's inclusive of the managed support plans. https://www.cubecart.com/technical-support
  33. 1 point
    Yes we can do that for you and make sure the PHP configuration is compatible (ZipArchive, mbstring etc)... Done this many, many, many times. Look forward to working with you soon.
  34. 1 point
    ok will give it a try thanks yes it is working thanks a lot uploaded the files as in the other discussion Grts Rob
  35. 1 point
    For now, I will say no, what you want to show is still not available with CC6114. Additionally to the above, part of this is because the currency that being shown during checkout is not databased as part of the Order Summary.
  36. 1 point
    I see extra lines in 2.cubecart.js: Lines 542-545: if(Foundation.utils.is_medium_up()) { $('.product_list').removeClass('small-block-grid-1'); $('.product_list').addClass('small-block-grid-3'); } Change to: if(Foundation.utils.is_medium_up()) { $('.product_list').addClass('medium-block-grid-3'); } Near lines 567-568: $('.product_list').removeClass('small-block-grid-3'); $('.product_list').addClass('small-block-grid-1'); Change to: $('.product_list').removeClass('medium-block-grid-3');
  37. 1 point
    Ok, I see that you have the friendly names of the database columns as the CSV headers. I hope you can change those headers. I suggest using the database table actual column names: 'available','status','name','image','product_code','cat_id','description', 'description_short','manufacturer','price','sale_price','cost_price', etc You can see the complete list of table column names in the admin /sources/products.import.inc.php file, lines 299-333. If you cannot change the CSV headers, then try using this: In the admin skin template products.import.php Find near line 68: {foreach from=$COLUMNS item=column}<option value="{$column.column}">{$column.title}</option>{/foreach} Change to: {foreach from=$COLUMNS item=column}<option value="{$column.column}"{if $map.example eq $column.title} selected="selected"{/if}>{$column.title}</option>{/foreach} Note we are looking now to compare example with title.
  38. 1 point
    Working as expected. I also applied the same to my versions of Mican and Foundation
  39. 1 point
    When a customer registers for an account, that registrant could instantly be assigned to a customer group. The group would have been created before-hand, and some or all products would have had a price schedule created for them. There is no percentage difference between one group and any other group (yet). Each group has a distinct and independent price schedule. Still, I reiterate, once a customer registers, even at checkout, but then resumes shopping, the group's price schedule is shown everywhere to that customer. Is this acceptable according to the contract you have with the product supplier? However, I know that someone (Noodleman?) is or has been working on something related. There is a new parameter in the function that gets an item's price, that when true, will return the full retail price regardless of any other consideration. If it was Noodleman who asked for this to be added to the core code, you should drop him a note to ask if he has anything on the shelf ready to install.
  40. 1 point
    Please note that the template rendering engine (Smarty) builds the page before the web browser gets it. Putting HTML comment tags around the Smarty commands does not stop Smarty from replacing those {commands-in-braces} with the intended content. That intended content could also have HTML comment tags. That results in nested comment tags. Look for those statements in the template as mentioned earlier, but change them to look like this: {* include file='templates/box.newsletter.php' *} and {* include file='templates/box.popular.php' *} The brace-asterisk-space sequence is Smarty's comment tag. Thus, the content will not appear in the rendered page sent out to the browser.
  41. 1 point
    I've added another version of this skin, which uses the same layout but a different look. You never know: someone may be interested one day!
  42. 1 point
    Welcome Harvey Forman! Glad to see you made it to the forums. I see that you have chosen a hosting provider that has installed some sort of anti-scrape feature on the web server. The hosting provider may have also installed an overly-aggressive server-level caching mechanism, and maybe a URL rewrite directive in the web server's config file (as opposed to a specific rewrite directive in the .htaccess file that should appear in CubeCart's main folder). When asking for your main site, the reason you get the directory listing is because there are no documents that the web server has been told to look for in the absence of any specifically-named document (index.php, index.html, default.asp, etc). Additionally, the web server has not been given the directive IndexIgnore * (or whatever it would be for the web server in use). I would encourage you to discuss with your hosting provider these possible issues.
  43. 1 point
    Nice functionality and something we can use. Does it automatically calculate the shipping costs based on the combined product weights and call the store shipping module to provide us the UPS Ground or Expedited for Intl rates? Also another feature that we were looking at is a line for providing store credit from a previous order or apply a credit balance to a current order.
  44. 1 point
    We need to keep looking at where the code finds certain data objectionable. You have an address_id of "1". I would like for you to use an external database manager. If you are being hosted, you probably have a hosted account control panel (Cpanel, maybe?). One of the tools provided in your control panel is phpMyAdmin. Using this, you can look at the database directly. Once you have phpMyAdmin showing you your database follow my instructions earlier.
  45. 1 point
    Hover your mouse over the Edit button. Your browser will show the URL that will be sent when clicked. Note the address_id value. Back at the admin list of Zones, hover your mouse cursor over the Delete icon for 'Greater London'. Note the id value (maybe 469?). Using an external database utility, look in CubeCart_addressbook. Find the record that has that value as the address_id. Compare the database addressbook record 'state' column value with the 'Greater London' id value. They should match. One one point long ago in time, the 'state' column held the actual name of the state/county/province. That column still can hold actual names, but CubeCart now uses ID numbers.
  46. 1 point
    Welcome Michal Kubacki! Glad to see you made it to the forums. When you received that error banner, you should have been taken to a screen for the customer to edit their address: ?_a=addressbook&action=edit&address_id=9 (or some number) CubeCart wants to create an array of all possible state/county and country terms that will be used by other processes (shipping, payment, etc). This happens at User->formatAddress(). This error is triggered when the state/county cannot be found in the CubeCart_geo_zone database table. In CubeCart's admin, Countries/Zones, Zones tab, page down to the country section where the suspect address is located, then look for the correct spelling of the County.
  47. 1 point
    This plugin does everything that you are looking to do (and a lot more !). The ability for the customer to complete payment after the admin has entered the order was added in the latest release (this is not a trivial piece of functionality !). As with all of our plugins, you can install a fully working 7 day trial to check it does everything that you need Ian
  48. 1 point
    This is a common mistake (caused 100% by the fact there is no documentation on how to set this up). What you have is a USPS Merchant Account. Nothing wrong with having one of those. But what you actually need is an account for the USPS Webtools. Go here: https://www.usps.com/business/web-tools-apis/welcome.htm Step 1 is a sign up. Once you sign up, USPS will email to you your USPS Webtools Username. This username is something USPS creates for you. You do not create it yourself. Once you make a few tests requesting rates, you then email them back asking to put this username onto their "production server". This is explained in the email they send you.
  49. 1 point
    This may be the solution you are looking for: https://github.com/cubecart/v6/issues/1771
  50. 1 point
    There may be an issue with the database. I hear you say that you can verify that an assigned image will still be selected when returning to edit that category. So, the database should be structured correctly and hold valid data. That leaves the possibility that 'subcategory' images are not being created. In the folder /images/cache/, look for a filename that starts with the name of the master image of a category, and has a .105.jpg ending.


  • Newsletter

    Want to keep up to date with all our latest news and information?
    Sign Up
×
×
  • Create New...