Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 12/17/2013 in Posts

  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. 2 points
    Email routing will automatically be set to "Automatic" or sometimes "Local Mail Exchanger" which in 99.99% of cases will be the same thing. You only need to set it to Remote if you are using external MX records pointing away from your hosting company which is effectively what Godaddy are forcing you to do by closing email ports. Some people choose to use gmail or other email service providers, but why should you have to ? Disabling php mail() is standard practice now for security reasons (WHM built in security advisor flags this as a high security risk if it is enabled !) and SMTP should always be used and configured to use SSL / TLS. Email sent via SMTP is much more secure, more likely to be delivered and not rejected or put into spam and isnt complicated to use. So much so, I would recommend that php mail() is removed as an option in CubeCart as it is very likely to disappear as an option in the near future Ian
  6. 2 points
    For anyone that uses git with CubeCart (or any other packages for that matter), cPanel have been adding a huge amount of functionality which will be included in V68 - see https://features.cpanel.net/topic/allow-users-to-install-websites-from-version-control V68 is already in Edge release status so most people will not have access to it yet, but V68 should be into general release in a few months (V66 has just been released in the last week) Ian
  7. 2 points
    This is the first time using this cart. Like it a lot, easy to work with and the CMS feature is excellent, my previous cart didn't have that. Didn't customize too much but happy with the way it came out. Don's Vintage Audio Feedback welcome!
  8. 2 points
    The 'top menu' is the "Navigation" bar (or sometimes "Shop by Category" box). The menu is built from all the categories (enabled and unhidden) there are. There are also three special items: Home, Sale Items, and Gift Certificates. To add any other links to this group would require editing the skin template "box.navigation.php".
  9. 2 points
    Welcome garitoml! Glad to see you made it to the forums. In the Foundation skin file content.product.php, find these two statements near lines 140 and 149: 140: <dl class="tabs" data-tab data-options="deep_linking:true; scroll_to_content:false"> 149: <div class="tabs-content"> What we will do is apply a CSS style to make them disappear: style="display:none;" 140: <dl class="tabs" data-tab data-options="deep_linking:true; scroll_to_content:false" style="display:none;"> 149: <div class="tabs-content" style="display:none;"> You may need to clear the skin cache after having edits to the skin file: admin, Maintenance, Rebuild tab, Clear Cache. As an aside, I ran a CC3 store that sold conference registrations. I know what you're involved with in getting CubeCart to do this.
  10. 1 point
    A problem with the AIOS module is that adding, editing, deleting rates will submit all the rates on the tabs, regardless even if they have not changed. This could lead to submitting a very large number of data points (key/value pairs). (This is because browsers submit arrayed keys even with empty values.) PHP has a default limit of 1000 key/value pairs of data input. Exceeding this limit will cause PHP to truncate the collection of data, including the security token that had been added at the end. No security token, nothing gets updated. This hack makes each tab of the administrative screen of AIOS to function as an independent form. This then drastically cuts down the number of key/value pairs. There is a consequence to doing this --- Each separate zone tab is a complete and distinct "form". This is different than any other admin settings area. That is, (as of CC611 and earlier) when editing a Product, all the various tabs and the content displayed for each tab is considered to be all on one single form -- the data from ALL tabs' contents are submitted all at once. Thus, you can progress through the various tabs making ALL the settings and properties for that one product. Clicking Save will save ALL the data from all the tab contents. If you are experienced with using your browser's waterfall diagnostics, you can verify what data gets sent out by the browser. NOT SO with this alternate template for the AIOS module. That is, making changes on the first zone tab (USA for example), then making changes on a second zone tab (Canada for example), then clicking the Save button while still viewing that second zone (Canada), will ONLY send the data on the second zone (Canada). The changes on the first zone tab (USA), not being visible, was NOT submitted. So please keep this in mind -- each zone tab is a separate form and only the data for the form being viewed will get submitted. Copy the existing file: /modules/shipping/All_In_One_Shipping/skin/admin/index.tpl to some other name, and using a programmer's text editor, make the following edits. The edits are made from the bottom up so as to not disturb line numbers. Line 314: From: </form> To: </form> *} Line 301 - 304: From: </fieldset> </div> {/if} <div class="form_control"> To: </fieldset> {* NEW *} <div class="form_control"> <input type="hidden" name="save" value="{$FORM_HASH}" /> <input type="hidden" name="previous-tab" id="previous-tab" value="" /> <input type="submit" value="{$LANG.allinoneshipping.save_this_tab}" /> </div> <input type="hidden" name="token" value="{$SESSION_TOKEN}" /> </div> </form> {* /NEW *} {/if} {* <div class="form_control"> Line 149 - 155: From: {include file='admin/shipping_rates.tpl'} </div> {/foreach} {/if} {/if} {if isset($DISPLAY_FORM)} <div id="All_In_One_Shipping" class="tab_content"> To: {include file='admin/shipping_rates.tpl'} {* NEW *} <div class="form_control"> <input type="hidden" name="save" value="{$FORM_HASH}" /> <input type="hidden" name="previous-tab" id="previous-tab" value="" /> <input type="submit" value="{$LANG.allinoneshipping.save_this_tab}" /> </div> <input type="hidden" name="token" value="{$SESSION_TOKEN}" /> </div> </form> {* /NEW *} {/foreach} {/if} {/if} {if isset($DISPLAY_FORM)} {* NEW *}<form action="{$VAL_SELF}" method="post" enctype="multipart/form-data"> <div id="All_In_One_Shipping" class="tab_content"> Line 140 - 145: From: </table> </div> {if $MULTIPLE_ZONES} {foreach from=$ZONES item=zone} <!-- TAB --> <div id="zone_{$zone.id}" class="tab_content"> To: </table> {* NEW *} <div class="form_control"> <input type="hidden" name="save" value="{$FORM_HASH}" /> <input type="hidden" name="previous-tab" id="previous-tab" value="" /> <input type="submit" value="{$LANG.allinoneshipping.save_this_tab}" /> </div> <input type="hidden" name="token" value="{$SESSION_TOKEN}" /> </div> </form> {* /NEW *} {if $MULTIPLE_ZONES} {foreach from=$ZONES item=zone} <!-- TAB --> {* NEW *}<form action="{$VAL_SELF}" method="post" enctype="multipart/form-data"> <div id="zone_{$zone.id}" class="tab_content"> Line 91 - 94: From: {/if} </div> <!-- TAB --> <div id="shipping_zones" class="tab_content"> To: {/if} {* NEW *} <div class="form_control"> <input type="hidden" name="save" value="{$FORM_HASH}" /> <input type="hidden" name="previous-tab" id="previous-tab" value="" /> <input type="submit" value="{$LANG.allinoneshipping.save_this_tab}" /> </div> <input type="hidden" name="token" value="{$SESSION_TOKEN}" /> </div> </form> {* /NEW *} <!-- TAB --> {* NEW *}<form action="{$VAL_SELF}" method="post" enctype="multipart/form-data"> <div id="shipping_zones" class="tab_content"> Line 4 - 8: From: </style> <form action="{$VAL_SELF}" method="post" enctype="multipart/form-data"> {if isset($DISPLAY_RATES)} <!-- TAB --> <div id="All_In_One_Shipping" class="tab_content"> To: </style> {* <form action="{$VAL_SELF}" method="post" enctype="multipart/form-data"> *} {if isset($DISPLAY_RATES)} <!-- TAB --> {* NEW *}<form action="{$VAL_SELF}" method="post" enctype="multipart/form-data"> <div id="All_In_One_Shipping" class="tab_content"> In the AIOS module's language file: Find: <string name="save_all_changes"><![CDATA[Save all changes]]></string> Add After: <string name="save_this_tab"><![CDATA[Save this tab's settings]]></string> This is a change in a Smarty-powered template, so clear the skin cache. You can verify the reduction in the amount of data sent out by re-examining the waterfall.
  11. 1 point
    Thank you,I changed this part of code.I decided to move to other host,so I hope it will be than solved.But your work-arround code works,so at least for now it is some solution to solve this issue for a moment.Thank you.I always appreciate your quick and helpful advices.David
  12. 1 point
    Yes, CC622 will work with PHP 7.2. Be aware, however, plugins provided by some third-parties will need to have new versions replace older versions. These plugins require the ionCube loader, and ionCube is such that there are specific versions of the loader for respective versions of PHP, and also that PHP code that requires the loader be "compiled" against that specific version of the loader being used. That is, if upgrade PHP, then also upgrade the ionCube loader to match, then the plugin author will need to recompile their PHP scripts against that new loader version, and the plugin user replaces the previous version of the plugin with the new version. Also, there are PHP extensions that CubeCart 622 needs that have, on the rare occasion, not been enabled with PHP 7: ZIPArchive and MBString. So, in admin, PHP Info, scroll through the tables verifying the presence of these extensions.
  13. 1 point
    Welcome perrow! Glad to see you made it to the forums. Essentially, you just need to remove (or hide) three form elements: Registration, Addressbook, and Checkout Confirm. If the data is not entered, it will not show. Look in the skin's templates content.register.php, content.addressbook.php, and content.checkout.confirm.php for the following code (or very similar to it): <input type="text" name="title" id="title" value="{$DATA.title}" placeholder="{$LANG.user.title}"> This form element will be inside other code. If the skin is Foundation, then the entire set of statements you are interested in will be very similar to: <div class="row"> <div class="small-4 columns"><label for="title" class="show-for-medium-up">{$LANG.user.title}</label><input type="text" name="title" id="title" value="{$DATA.title}" placeholder="{$LANG.user.title}"></div> </div> To "hide" this code, make the following edit each to the three templates: {* <div class="row"> <div class="small-4 columns"><label for="title" class="show-for-medium-up">{$LANG.user.title}</label><input type="text" name="title" id="title" value="{$DATA.title}" placeholder="{$LANG.user.title}"></div> </div> *} All that was done is to have made the template rendering engine (Smarty) ignore these template "comments".
  14. 1 point
    SCRIPT_URI? Is there also a REQUEST_URI? These keys to the _SERVER[ ] array come from the web server.
  15. 1 point
    Name: Ebay Sales Price: £104.95 Category: Plugins Homepage: https://www.cubecart.com/extensions/plugins/ebay-sales
  16. 1 point
    Thank you guys. For the reason that this platform was made available for free, It would be a great idea for me to keep it too as a thank you.
  17. 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
  18. 1 point
    Congratulations Al
  19. 1 point
    OH!!! Congratulations to both of you!! I was hoping you were offline because your baby had come!
  20. 1 point
    Hi Coders! I am in the need of a couple of modifications. The website concerned is http://www.firstchoicemobility.com I currently have a large dropdown menu that works fine apart from when the web browser is resized. the text then gathers up on the left hand side. Apparently this is because the coding used (Isotope) for the menu should not be used like that so there is no fix. So I would like a new menu created the same without the browser resizing issue. The ability to print off or save a PDF of a product page (I have a sample of what i would like the layout to look like) The ability to re-order images to display on the product page in the order i wish. Please contact me if you are able to carry one or all of the modifications. Thank You Gary
  21. 1 point
    Please delete the unique key 'custom_oid' on the CubeCart_order_summary table. And replace it with a standard key or normal index. This was a bug in the beta.
  22. 1 point
    An easy way is to add the style attribute to the link itself: <a itemprop="url" href="/my_special_link.html" title="My Special Link" style="background:red;">My Special Link</a>
  23. 1 point
    There is no need to do this but it should be covered in your Privacy Policy. Having any consent pre-selected will not be allowed under GDPR. You were part of a previous discussion where I summarised the basic points - see It will from technical point of view but the main area of work is down to each customer to update their Privacy Policy and Terms and Conditions based on the decisions taken as to data use and retention.
  24. 1 point
    In Foundation.css .thickpad-top { padding-top: 1.25em; } make it 0em or padding: 0; I'm not sure if it's used in other pages though, so maybe be careful with that, I haven't really come across it in my rebuild yet, but then again, I am on part 5 of 9billion.
  25. 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.
  26. 1 point
    Try this. Line numbers refer to CC6114: In the admin skin template dashboard.index.php, near line 162: <td align="right"> {if isset($order.notes)} <a href="?_g=orders&action=edit&order_id={$order.cart_order_id}&source=dashboard#order_notes" title="{foreach $order.notes as $note}{$note.time} {$note.content}{"\r\n"}{/foreach}"><i class="fa fa-sticky-note" title="{$LANG.common.notes}" aria-hidden="true"></i></a> {/if} <a href="{$order.link_print}" class="print" target="_blank" title="{$LANG.common.print}"><i class="fa fa-print" title="{$LANG.common.print}"></i></a> Change to: <td align="right" NOWRAP> {if isset($order.notes)} <a href="?_g=orders&action=edit&order_id={$order.cart_order_id}&source=dashboard#order_notes" title="{foreach $order.notes as $note}{$note.time} {$note.content}{"\r\n"}{/foreach}"><i class="fa fa-sticky-note" title="{$LANG.common.notes}" aria-hidden="true"></i></a> {/if} <!-- --> {if isset($order.items)} <a href="?_g=orders&action=edit&order_id={$order.cart_order_id}&source=dashboard#order_inventory" title="{foreach $order.items as $item}{$item.quantity}{" x "}{$item.product_code}{"\r\n"}{/foreach}"><i class="fa fa-shopping-cart" alt="{$LANG.common.items}"></i></a> {/if} <!-- --> <a href="{$order.link_print}" class="print" target="_blank" title="{$LANG.common.print}"><i class="fa fa-print" title="{$LANG.common.print}"></i></a> In the admin source file dashboard.index.inc.php, near line 299, find: foreach ($GLOBALS['hooks']->load('admin.dashboard.unsettled_orders') as $hook) include $hook; We can use this hook. But to complete this experiment, on a new blank line after this, add: /**/ if (($order_inventory = $GLOBALS['db']->select('CubeCart_order_inventory', '`cart_order_id`,`product_code`,`quantity`', array('cart_order_id' => $cart_order_ids))) !== false) { foreach ($order_inventory as $inventory) { $order_items[$inventory['cart_order_id']]['items'][] = $inventory; } $orders = merge_array($orders, $order_items); } /**/ In admin, Dashboard, Unsettled Orders tab, this gives an icon (shopping basket - available in latest versions of CubeCart having a recent version of the Font Awesome files) that, when hovering the mouse over it, will show a 'tooltip' listing the products of that order.
  27. 1 point
    I lied, I figured it out. In /foundation/templates/main.php <div class="row"> <div class="small-12 columns small-collapse"> {include file='templates/box.navigation.php'} <div class="hide" id="val_lang_back">{$LANG.common.back}</div> </div> </div> Make it <div class="row row-mod"> <div class="small-12 columns small-collapse"> {include file='templates/box.navigation.php'} <div class="hide" id="val_lang_back">{$LANG.common.back}</div> </div> </div> then go to foundation/css/foundation.css and add .row-mod { max-width: none !important; }
  28. 1 point
    To be clear, by "Windows Server", there is the IIS webserver running on the Windows Server operating system. Neither is supported by CubeCart Ltd. That is, getting the Rewrite URL configured on IIS (or any other webserver other than Apache), nor the peculiarities of PHP and dealing with the backslash of Windows OS directory separator.
  29. 1 point
    The module allows for a "handling cost". This is understood to be what it costs you in your manpower costs for the price of the box and the time it takes to pack the box and get it to the UPS store.
  30. 1 point
    So, for a category record in CubeCart_category table, the 'cat_image' value could be an integer other than zero. Take note of an integer value, such as 36 for example. Then, in CubeCart_filemanager, find the record with file_id of the integer value noted earlier (36, for example). The 'filepath' column must be null or have the name of an actual folder. Does this record exist?
  31. 1 point
    Smarty would not have caused that extent of slowness - it was stupidly slow. Disabling the related product plugin fixed the issue and proved it was something to do with that - probably missing indexes, especially if you have lots of products. The search not working can often be caused by a missing index on the inventory table so do a table by table comparison of the indexes
  32. 1 point
    Sooo...., if the site administrator has implemented this anti-scrape mechanism, then AJAX exchanges of data may fail if the AJAX package does not send the correct cookie - or may actually fail even with all the correct cookies. I have no experience in this scenario. The template parser (Smarty) does not execute any code other than its own Smarty code. Having PHP code in a template is exactly the same as having any other text. It is just plain text and that plain text will be in the final output that Smarty creates. Also, any code that looks like Smarty code but is not Smarty code in a template could cause PHP to crash. For example: <?php echo "Hello {smiley} World" ?> will cause Smarty to quit parsing the template and stop PHP with a Fatal Error. Please know that you must not think the templates are PHP code scripts just because the filenames end in .php. (The templates can be named anything, and I do not know why the programmers chose '.php' as the filename suffix for the skin templates.)
  33. 1 point
    It is best to make sure the data going into the table is correct in the first place so bsmithers solution will do that. If you have a lot of data already in there you can change existing post codes by running queries on the tables with post codes in e.g In the order summary table you can update post codes by using the following queries UPDATE `cc_CubeCart_order_summary` SET `postcode` = UPPER( `postcode` ) UPDATE `cc_CubeCart_order_summary` SET `postcode_d` = UPPER( `postcode_d` )
  34. 1 point
    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.
  35. 1 point
    (I do not have a copy of GalaxyX, but) The Smarty code in probably all skins will be nearly the same. So, let's look at Foundation. content.category.php <h2>{$category.cat_name}</h2> {if isset($category.image)} <div class="row"> <div class="small-12 columns"><img src="{$category.image}" alt="{$category.cat_name}" class="marg-bottom"></div> </div> {/if} {if !empty($category.cat_desc)} <div class="row"> <div class="small-12 columns">{$category.cat_desc}</div> </div> {/if} {if isset($SUBCATS) && $SUBCATS} There is the category name, followed by a test for the presence of the category image. If there is an image (regardless of size), then show include the HTML to show it. Otherwise, do not include this HTML to show the image. This is followed by a similar test for the presence of the category's descriptive text. Then followed by a similar test to show the subcats. To absolutely not show the category image regardless whether there is one or not: From: {if isset($category.image)} To: {if false && isset($category.image)} Since a template has been modified, be sure to have CubeCart clear its internal cache.
  36. 1 point
  37. 1 point
    There are no security patches so upgrade isn't vital.
  38. 1 point
    You could add a google search engine quite easily https://cse.google.com/cse/
  39. 1 point
    I've had trouble with Baidu before and had already added the Disallows. I was not using Ian's hosting at that time and had to figure it out for myself. It's situations like this that make Havenswift Hosting my preference.
  40. 1 point
    I was watching the news with a nice single malt.
  41. 1 point
    It does create a new one for you, as long as the new directory has the correct permissions. If you have made any modifications to your .htaccess file you should take a backup of it first so you can re-apply those changes to the newly generated file.
  42. 1 point
    Welcome to the forums @twistedsymphony! Do you have Store Settings>Stock set to Reduce stock levels on Processing? Is Store Settings>Misc>Features set to Order Status send on Processing? Have you run the email TEST after saving all correct settings for Store Settings>Advanced>Email?
  43. 1 point
    There is an open bug report on GitHub about this. For now, do not use traditional pagination.
  44. 1 point
    Just order status change automatically from payment status responses.
  45. 1 point
    Perhaps this will be helpful: https://support.cubecart.com/Knowledgebase/Article/View/227/41/how-can-i-install-cubecart-v6
  46. 1 point
    I also dont believe this is a PayPal issue - there are lots of reports of different and odd behaviour from upgraded sites that are intermittent even on the same site.
  47. 1 point
    The ability to set default options was added in 6.1.6.
  48. 1 point
    Yes this is coming with 6.1.6 but skin edits will be required.
  49. 1 point
    The Invisible Recaptcha is one of the new features coming out in 6.1.6. If you can't wait you could find the beta code in GitHub and implement it now. https://github.com/cubecart/v6/issues/1483 A word of caution, however. I have some plugins on our plush catalog that will need edits before they will work with the invisible one. I have it in operation on our estates site, if you want to see it working.
  50. 1 point
    As the ordering system is being over hauled I was hoping to get some feedback concerning the different order status's. Currently CubeCart 3.0.15 has the following status's: Pending Processing Completed Declined Fraudulent Cancelled Uncleared As I am sure you will agree some of these are ambiguous. e.g. is Uncleared the same as processing?! I've looked at some of the biggest retailers for inspiration and of course competitor analysis but to be honest I can't see any that look that simple. I think the reason for this is that there is a difference between payment status & order status which leads to confusion. Currently I am considering the following for the next major release: Order Placed (Payment Pending) Payment Uncleared Payment Cleared Order Complete & Dispatched Order Cancelled Order Problem (More info in order notes) Awaiting Stock What do you think of this? There could be 101 others added but I think we need to try to keep it simple.


  • Newsletter

    Want to keep up to date with all our latest news and information?

    Sign Up
×
×
  • Create New...