Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 04/29/2015 in Posts

  1. Can you believe that CubeCart has been around since 2003? What started out as a small project has snowballed powering thousands of stores globally. If you have a success story you would allow us to publish we would be truly very grateful if you could share it with us. We need new merchants to realise the potential they have using CubeCart. This will help contribute to further growth, new features and an all round brighter future for everyone. Please feel free to email me personally at [email protected] with your company name, store URL and short success story of upto say 300 words. Many thanks to you all for your support.
    4 points
  2. Dear Customers / CubeCart Community, It is with regret that after 3 years of providing content for CubeCart i intend to discontinue my skins and support. As per agreement i am issuing a 30 Day Notice period which will expire on 07/02/2022 (Existing customers have also been notified via email). After this date support/updates for my skins will no longer be provided by myself. I have spoken with Al and decided to donate the skins to CubeCart for free so that they don't go to waste (for which i am greatful to Al for accepting). It is my understanding that the skins will be released for free under CubeCart who will be the new owner/maintainer of the skins. This isn't the news i wanted to start the new year on and understand this may cause some concern and disappointment but i need to ultilize my time for work and my personal life and web development no longer fits in with this. What does this mean for your site? Your site will remain to function as normal and you are free to continue to use any skin you have purchased from me for as long as you require. In the event your purchased skin becomes incompatible with CubeCart in the future it will be your responsibility to make any changes or seek a 3rd party to assist. Alternatively, switch to the re-release version once released by the CubeCart team. Where can i download the latest version of my skin before the deadline? To avoid new customers from purchasing any skins i have had to unpublish them from the marketplace, please send me a PM or Email and i'll provide details how to obtain the last version released. (Please note - Only default versions of skins will be issued, please allow upto 24 hours for any requests to fulfilled .) Any questions or concerns please feel free to reply below, send me a PM or email, Best regards,
    3 points
  3. Thanks for all the help with me developing and changing my skin, your help was always friendly and responsive. I've also downloaded the manual updates and would suggest anyone else to do so if you have a Nitefox's default skin but then gone on to modify it. (Just incase you ever need to reinstall at a later date). Wishing you well in all you do.
    2 points
  4. Feeling very humble. Thank you on multiple levels. Other skins and extensions have just vanished so I'm hugely grateful firstly for dealing with this so professionally and responsibly. Secondly thanks for such a wonderful contribution to the open source community. I know for sure I can pass on my utmost respect and gratefulness from a significant proportion of CubeCart merchants that may not outwardly share it. I'd personally like to wish you all the very best with you new career move in the charity sector. I hope we can keep in touch.
    2 points
  5. Using a text viewer, examine the contents of /includes/global.inc.php. The file will indicate the name of the administrative PHP script and the administrative folder name that CubeCart expects to use. Be sure those names appear in CubeCart's main folder.
    2 points
  6. I am currently working on my website powered by cubecart when i get time after the day job. https://www.bobityboogemcrafts.co.uk/index.php Really please with this great template available from Amzin (Bootstrap Responsive Skin) by Nitefox designs https://www.cubecart.com/extensions/developer/nitefox-designs
    2 points
  7. Thanks for the feedback. I'm keen to add more features. Helpful. I think we need to make it more attractive with a good default skin and work form there.
    2 points
  8. In the skin's config.xml, find the <image reference="category">. It is set for 800 pixels on the longest dimension. Change this to 900. It will auto-scale down to fit the container (which is 848 px wide). Next, you will need to find the CSS rule (I do not know where it would be.): .cat-hdr-img img { margin: 0px auto 5px; } Change to: .cat-hdr-img img { margin: 0 0 5px; } This CSS change will remove the margin that the browser adds to either side of the image, in equal part, to center the image in the slightly wider container. Be sure to clear Cubecart's cache.
    2 points
  9. In order to add custom condition words, we need to make a few core code edits, then we can use a Code Snippet to actually add the custom words. I will have instructions soon.
    2 points
  10. The developer will probably / should be releasing a new version of the skin to take account of all of the skin changes included in this recent version. However, if you are using a modified version, then that update will not automatically apply to your store and you should chat to the developer about this. If you dont make all the front end skin changes then you wont be able to take advantage of any fixes / new functionality that has been added - you may say that you dont need this functionality but it is always best to stay fully up to date because the situation simply gets worse and worse with each upgrade that is released - this is the problem with having custom changes
    2 points
  11. 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.
    2 points
  12. 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
    2 points
  13. 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
    2 points
  14. 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!
    2 points
  15. 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".
    2 points
  16. This appears to be the summary view of the order in admin, correct? If so, I agree that the summary should indicate both what the shipping would otherwise have been, but that has been reduced because of some other function. (That function should be mentioned in the Notes tab.) I think this is not directly related: https://github.com/cubecart/v6/issues/2998 Let me see what I can find.
    1 point
  17. Please create the error log: https://forums.cubecart.com/topic/51550-how-to-create-the-error-log/ There may be clues to what is happening.
    1 point
  18. As per Al's comments on the github issue you raised, this is almost certainly down to a faulty or partially completed upgrade
    1 point
  19. 1 point
  20. If you have CubeCart's debug mode enabled, turn it off. I *believe* that switching off Debug mode will quiet the PHP8 Warnings (used to be Notices in PHP7). As for Google, please see: https://github.com/cubecart/v6/issues/3047
    1 point
  21. I think nearly all of the log entries matching the examples shown in the document provided, relate to the parts of the skin template system you have stripped out (Language chooser, Featured box, Sale Items box, Newsletter box, Live Help, Debug, and Skin chooser). Looking at the source HTML delivered to my browser, I see that there is a removed text entry field for the person's phone number. This will cause the form to not even be submitted if the form validation fails. In the file /skins/ho/js/3.cubecart.validate.js, at lines 66-97, there are the rules for the contact form. Remove 92-94: }, 'contact[phone]': { phone: $('#validate_phone').text() Remove 83-85: }, 'contact[phone]': { phone: true What I do not know is this: How smart is the Validator? If the Validator does not find a text entry input field having the name contact['phone'], even with a rule referencing it, will the validator still submit the form? According to this, the Validator does not check non-existing fields (from five years ago): https://forum.jquery.com/topic/jquery-validate-check-that-a-field-exists-before-validating In other words, I do not know if this edit will fix things. FYI: The core code in cubecart.class.php, says only that 'email', 'name', 'subject', 'enquiry' are the only required fields. So maybe an issue will get posted in the Github that compares the Validator rule for the phone being required, but the core code does not.
    1 point
  22. Sorry to hear this Rosemary. Best of luck achieving what you want. I'm not sure I have any valuable input.
    1 point
  23. Hi, I just tried this again with with PayPal Commerce 1.6.2 and still no joy, therefore I downloaded the 1.6.2 code to get a better look .. And this is what I found - /** * CubeCart v6 * ======================================== * CubeCart is a registered trade mark of CubeCart Limited * Copyright CubeCart Limited 2019. All rights reserved. * UK Private Limited Company No. 5323904 * ======================================== * Web: http://www.cubecart.com * Email: [email protected] * License: GPL-3.0 http://opensource.org/licenses/GPL-3.0 */ function ppcp_body_js($tpl_output, Smarty_Internal_Template $template) { $skins = $GLOBALS['gui']->getSkinData()['info']; // $skin = $GLOBALS['gui']->getSkinData(); if (($pp_config = $GLOBALS['cache']->read('pp_config.'.$skins['name'])) === false) { if(file_exists('modules/plugins/paypal_commerce/config.custom.json')) { $pp_config = file_get_contents('modules/plugins/paypal_commerce/config.custom.json'); } else if(file_exists('modules/plugins/paypal_commerce/config.'.$skins['name'].'.json')) { $pp_config = file_get_contents('modules/plugins/paypal_commerce/config.'.$skins['name'].'.json'); } else { $pp_config = file_get_contents('modules/plugins/paypal_commerce/config.foundation.json'); } $GLOBALS['cache']->write($pp_config, 'pp_config.'.$skins['name']); } if(isset($GLOBALS['cart']->basket['total']) && $GLOBALS['cart']->basket['total'] > 0) { $pp_amount = $GLOBALS['cart']->basket['total']; } else { $pp_amount = "null"; } return preg_replace('/\<\/body\>/i','<script id="pp_config" type="application/json">'.$pp_config.'</script><script> var pp_config = JSON.parse(document.getElementById(\'pp_config\').textContent) var pp_amount = '.$pp_amount.';</script></body>', $tpl_output); return $tpl_output; } $GLOBALS['smarty']->registerFilter("output","ppcp_body_js"); On about the third line of code you can see I have replaced a line. Now the thing is that this was never going to work the variable '$skin' is never referenced in the code so its clearly in error. The question is why did nobody else experience the same ? Its probably because, and this is just a guess, many other skins are strongly based upon the foundation skin, but as I say that's only a guess .. Anyway it seems to be working now but no production test yet.. Chris.
    1 point
  24. So I think in conclusion the rich snippets work but took a little while to show in the search engine.
    1 point
  25. You should also take a look at our Retail Therapy skin which is a modern design and obviously responsive but has a big advantage in that it comes with a free skin configuration plug-in which allows you to configure a huge amount of things for the skin in an easy and intuitive way including colours
    1 point
  26. This is commented in the AIOS class: $this->_value = (float)$this->_basket['subtotal']; // XXX May want to remove coupon discount, i.e. // $this->_value -= $this->_basket['discount']; Could it really be as easy as uncommenting that line of code?
    1 point
  27. Thanks so much for getting this development going! I was just looking into this aspect of setting up my business again using CC and thought I was going to have to switch carts! But I've used CC for well over 10 years so was very reluctant to do so. So this is very encouraging!
    1 point
  28. Oh my... Be back soon.
    1 point
  29. Hi @radman420 That slider is just a basic bxslider banner slider set in the document content for the homepage which you modify via your admin panel. Firstly create your banners and upload them to your site, for example (images > source > slide_001.png) Banners should be of equal size Then, go to your admin panel and in the left-hand menu go to File Manager > Documents Then, select the document for the homepage OR create a new document On the document content section click the "source" button in the left corner and create a slider box by adding : <ul class="bxslider"> </ul> If you want your banner to link to a page or product, then use the following structure within the ul element above : <li> <a href="#LINK HERE#"> <img src="#IMAGE SRC HERE#" /> </a> </li> Replace the following: #LINK HERE# -- with the url you want it to goto #IMAGE SRC HERE# -- with the image source which for the example would be something like --> images/source/slide_001.png Then, repeat for each slide. If you just want your banner to displayed with no link, then use the following structure within the ul element above : <li> <img src="#IMAGE SRC HERE#" /> </li> So, your final content will look something like the following for a slider with linked images: <ul class="bxslider"> <li><a href="http://www.google.com"> <img src="images/source/slide_001.png" /> </a></li> <li><a href="http://www.google.com"> <img src="images/source/slide_002.png" /> </a></li> <li><a href="http://www.google.com"> <img src="images/source/slide_003.png" /> </a></li> <li><a href="http://www.google.com"> <img src="images/source/slide_004.png" /> </a></li> </ul> Then click save, make sure the document is set for Homepage and that the status option is checked. Might need to clear your sites cache. And that should be it.
    1 point
  30. So, the browser did not find ORDER BY popularity DESC. The next step I would like for you to do is edit the skin template box.popular.php and at the very end of the file, add {debug}. Save the edited file. When you next ask for the Homepage, your browser will want to popup a window. Let it. (You may need to request the Homepage a second time if you need to give permission for the popup.) The popup contains all the variables assigned to the template. Scroll down to near the bottom and find $POPULAR in the left pane. If it is there, is there a value for it as shown in the right pane? It might be an array with 20 elements. (Do not post the array here. Just indicate if it is an array with 20 elements, or if the value is something else.)
    1 point
  31. Hi Rich, There will be an update for my skins at the weekend to cover changes in the latest version of CubeCart. As you have a modified version of the skin you can make use of the manual update guide to apply any front end updates you wish to add your site. As @havenswift-hosting says its best to keep upto date, especially with the cubecarts core script. However, ultimately that is your decision
    1 point
  32. In the template main.php: Find: <body> Change to: <body background="https://mybikerleather.com/Banner.jpg"> or <body style="background-image:url('https://mybikerleather.com/Banner.jpg');background-repeat:no-repeat;"> Do the same for the template main.checkout.php.
    1 point
  33. Two ways: FTP the folder that was extracted from the ZIP file to CubeCart's /modules/gateways/ folder, or obtain the lightning bolt token and enter it in CubeCart's admin, Manage Extensions page. It will automagically appear in the Extensions list.
    1 point
  34. All fixed now. We had a GeoIP database fault which is now resolved.
    1 point
  35. extract the admin directory from the installer (6.2 zip file) and upload it to your site, replacing your existing admin directory
    1 point
  36. 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.
    1 point
  37. Create this snippet: Enabled: checked Unique ID: ordersumcustgroups@cubecart600+ Execution Order: 99 Description: Adds Customer Group Name(s) to Admin Order Summary Trigger: admin.order.index.display Version: 1.0 Author: forums.cubecart.com/topic/53037-orders-to-show-customer-group/ PHP Code: <?php $snippet_ordersumcustgroups = $GLOBALS['db']->misc('SELECT `group_name` FROM `'.$GLOBALS['config']->get('config', 'dbprefix').'CubeCart_customer_membership` AS M INNER JOIN `'.$GLOBALS['config']->get('config', 'dbprefix').'CubeCart_customer_group` AS G WHERE G.`group_id` = M.`group_id` AND M.`customer_id` = '.$summary[0]['customer_id'].';'); if (is_array($snippet_ordersumcustgroups)) { foreach ($snippet_ordersumcustgroups as $membership) {$member_groups[] = $membership['group_name'];} } $snippet_ordersumcustgroups_order['cust_groups'] = isset($member_groups) ? implode(',', $member_groups) : ''; unset($member_groups); $GLOBALS['smarty']->assign('CUST_GROUPS', $snippet_ordersumcustgroups_order['cust_groups']); Make this edit in the admin skin template: orders.index.php, near line 197, find: <div><label>{$LANG.common.email}</label><span><a href="mailto:{$OVERVIEW_SUMMARY.email}">{$OVERVIEW_SUMMARY.email}</a></span></div> On a new blank line after that, add: <div><label>{$LANG.customer.title_groups_membership}</label><span>{if $CUST_GROUPS}{$CUST_GROUPS}{else}{$LANG.common.unknown}{/if}</span></div>
    1 point
  38. This may be the solution you are looking for: https://github.com/cubecart/v6/issues/1771
    1 point
  39. (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.
    1 point
  40. I found the issue... whilst I had enabled the php-gd extension in my php.ini file, I did not actually have the php-gd package installed. As an Arch Linux user, this is fixed with.. #pacman -S php-gd #systemctl restart httpd All Done! I've reported two issues in this one thread, which is rather silly. I'll [Resolve] this one and open a fresh one for the other issue.
    1 point
  41. This message indicates that CubeCart (actually, PHP) lost communication with the database very soon after having established a channel. That could be because the database server is overloaded, or there are other sites on the same computer where your site is located that are consuming all the connections - 'max_connections_per_ip` was exceeded. Your hosting provider will be able to find the exact cause of why PHP could no longer communicate with the database.
    1 point
  42. I'm pretty sure BSmither gave me a fix to make the field so it had to be selected. Customer being unable to continue without making a selection. See my post below. About half way down the page where I state that Mr Smither is a god.
    1 point
  43. This is a known issue, possibly caused by a cache problem or customers changing their minds and using the back button. I'll try to find some of the threads so you can read what others have said. No one has yet, as far as I can remember, been able to reproduce it so it can be resolved. Here's the most recent one:
    1 point
  44. after reading this thread i can confirm its the same for me, tested on ff as a guest when i select secure payment it doesn't proceed, if i log in its fine. i am using/testing the invisible recaptcha recommended with site & secret key
    1 point
  45. PHEW!!! Just call me DB There were a LOT of database table changes in 6.1.5 upgrade. So there were calls to the database tables that couldn't find the right fields when you were still working from the old cached files.
    1 point
  46. Put this wherever you want it in your print invoice: {if !empty($order.note_to_customer)} <p align="left"> <div id=" "> {$order.note_to_customer|nl2br}</div></p> <br> {/if} My orders.print.php is totally non-stock, but it fits our product and customer needs.
    1 point
  47. Works for me. But as I said, the pagination urls are different now - so may not be necessary any more. I still have the Disallow in my robots.txt file, though.
    1 point
  48. Seems like I got this working now! This is how I made my filemanager.class.php file to look like: class FileManager { private $_directories; private $_mode; private $_manage_cache; private $_manage_dir; private $_manage_root; private $_recently_uploaded = array(); private $_sub_dir; private $_sendfile = false; //private $_max_upload_image_size = 350000; private $_max_upload_image_size = 6291456; // 6MB public $form_fields = false; Thanks!
    1 point
  49. We occasionally have ebay sellers who link back from ebay to our web site images. I do have a bit of fun with this by renaming the original image and then uploading our company logo to the image name that they've linked back to. Or changing it to something entirely random, like a picture of a blob fish.
    1 point
×
×
  • Create New...