Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 05/29/2021 in all areas

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. Chaps.. This situation is embarrasing, I'm getting female members of my team telling me that they are receiving explicit messages from one of our contact forms. Can anyone suggest how I get invisible working, failing that I'll have to employ the services of a dev to write something which works.
    1 point
  9. Attached is a report that covers the edits needed to make CC645 run under PHP 8.1. Of course, without a comprehensive testing procedure plan - preferably automated - hitting every feature and function that CubeCart can do is impractical. As such, I advise against running this in a production environment, for now. However, I believe I've found and fixed the Fatal Errors, Warnings, Deprecated Notices, as well as a number of general notices that became visible under PHP 8.1, and made a number of code optimizations, but only in the core code. I have chosen to not make a fork of CC645. For those who want to slog through the edits, I hope they will be able to discern the reasons for each change. Any module encoded with ionCube will need a new version from the publisher. The publisher should also take it upon themselves to test their modules under PHP 8.1. Some additional insights can be found reading the latest Github issues. PHP8.1_Changes.txt.zip
    1 point
  10. 1 point
  11. 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
  12. Hi Al. Any update on this?
    1 point
  13. Your version of PHP may have been recently updated. An issue will be posted in the Github. In the meantime, using a programmer's text editor, make these changes to the file /classes/db/database.class.php: Line 175, from: public function column_sort($column_name, $display_text, $order_by = 'sort', $current_page, $current_sort = false, $anchor = false) Change to: public function column_sort($column_name, $display_text, $order_by = 'sort', $current_page = '', $current_sort = false, $anchor = false) Line 267, from: public function doSQLBackup($dropTables = false, $incStructure = true, $incRows = true, $file_name, $compress = false, $all_tables = false) Change to: public function doSQLBackup($dropTables = false, $incStructure = true, $incRows = true, $file_name = 'dummy.sql', $compress = false, $all_tables = false)
    1 point
  14. It should, however it hasen't been updated since 2017. Which only means that, since it is encoded with ionCube, the encoded files must have been built with a matching version of the encoder for the version of PHP it is running under. Even though the current encoded files are built for "PHP 5.6 and above", this does not mean they will work on any version of PHP7 - which your hosting provider has likely configured your hosted account to use. The publisher, @Noodleman, will need to build encoded files for PHP 7.
    1 point
  15. In a stock install of CC6, the list of images to play in the slider is part of the HomePage document. In admin, Documents, click the Edit icon of the document shown as having the HomePage button selected. You may have an easier time of it by using the editor's Source mode. The slider is optimized to show 1000x300 pixel images.
    1 point
  16. That would be in the AIOS module's control panel. On the admin Navigation pane, click the Manage Extensions. From the list of extensions shown, click the Edit icon for All in One Shipping. On the module's administration control panel, General tab, Debugging, select "Debug Enabled (Verbose)".
    1 point
  17. So I think in conclusion the rich snippets work but took a little while to show in the search engine.
    1 point
  18. The PayPal extension has no ability to rename files and folders. Only the setup process on upgrade can do that when upgrading from a much earlier version.
    1 point
  19. 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
  20. Honestly it's a breeze if you have intermediate HTML & CSS experience. Please have a look at this https://support.cubecart.com/hc/en-gb/articles/360003793978-How-do-I-create-a-custom-skin-or-template-
    1 point
  21. Welcome Ahmed! Glad to see you made it to the forums. In admin, Taxes, there may already be a few Tax Classes. If not, enter a name in the Add Tax Class text entry field. The name can be something like "Standard Tax". Save the form. Now, on the Tax Details tab, enter values in the Add Tax Detail text entry fields. Save the form. Now, on the Tax Rules tab, to Add a Tax Rule, choose a Class and a Detail. Fill in the rest of the form fields and Save. When editing a product, on the Pricing tab, choose the Tax Class required and Save. (If your taxing authority requires that the displayed prices to include the tax, check the box.) Clear CubeCart's cache and you should be good to go.
    1 point
  22. I'm working on a solution. Lots of aspects to work out on how to implement this.
    1 point
  23. My solution involves more than one copy, uniquely named. Such as "WilletsStoreCollection" and "MilfordStoreCollection". Then, in the admin config screen for each of these renamed modules, for the Name, I put, for example: Milford: By Appt, M-F:3:30-7pm, S:Noon-7pm
    1 point
  24. It is 'responsive', so it works regardless of the device's viewport width.
    1 point
  25. I would say it is not the POF module contributing to this. Rather, the 'verification code' is CubeCart complaining that the reCaptcha gadget is not agreeing with the solution provided. It might not be displaying when it should be, or the customer worked out the puzzle, but the solution is not correct. Please verify that, in admin, Store Settings, Features tab, Bot Protection section, the reCaptcha is enabled as desired. Then, assure yourself that your browser is not blocking the javascript needed to fetch the reCaptcha gadget from Google.
    1 point
  26. I googled and found this. https://magecomp.com/blog/fix-issues-found-review-snippet-markup-search-console/
    1 point
  27. In the CSV, there may be a column for 'stock_level' and 'stock_level_warning'. However, in the general Store Settings, Stock tab, there is "Admin stock warning method" (product-specific or global), and "Global stock warning level". Please let us know your setting for "Admin stock warning method".
    1 point
  28. Hi there, thanks, l just changed the name to .user.ini and it appears to be working. The Core table gives the Max. Input Vars as: Local: 25,000 Master: 1,000 I guess it worked then? Am i okay to leave it like this or would i be better off removing this .user.ini file once l'm done updating postage rates?
    1 point
  29. I used to have them split in my old V4 store, in the countries and zones splitting the UK regions into 4 and adding Scottish Islands and Highlands and Channel Isles (even Isle of Wight can cause problems for some couriers) only problem was you need to also split the areas in to regions/postcodes as I often found people in Scottish Highlands would still just choose Scotland. This is a good reference for codes: https://www.genuki.org.uk/big/Regions/Codes
    1 point
  30. Amazing! Thank you that is so helpful. I will take a look.
    1 point
  31. 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
  32. We are developing a full wishlist and giftlist plugin at the moment which will have a huge and wide ranging set of functionality and will be a true plugin
    1 point
  33. Well done for resolving this and welcome to CubeCart!!
    1 point
  34. I DID still have the SemperFi Update extension active. That fixed it. THANKS AL!!
    1 point
  35. This is me new store https://moonshinerlights.com
    1 point
  36. Determine if the following statement already exists in the templates 'main.php' and 'main.checkout.php': <link href="{$ROOT_PATH}favicon.ico" rel="shortcut icon" type="image/x-icon"> If it is not there, add it just before the </head> tag. Next, acquire a square image you want to use. Upload it to a free online ICO file maker, such as: https://www.icoconverter.com/ Place the .ico file in CubeCart's main folder.
    1 point
  37. Hi @kiwi To add selected document links to the category menu you'll need to add them manually Open - amzin > templates > box.navigation.php Find lines 29-31 {if $CTRL_SALE} <li><a class="sale-link" href="{$URL.saleitems}" data-level="1" title="{$LANG.navigation.saleitems}"><i class="fas fa-tag"></i> {$LANG.navigation.saleitems}</a></li> {/if} Now just below it (before the </ul>) add your document links using the following structure <li><a href="###LINKHERE###" data-level="1" title="Document One"> Document One</a></li> To make the images responsive you'll need to remove the height/width styling from the html content and add class="img-responsive" to each of the image html elements. To do this, click on the document page in the admin panel and select the content tab then add images as normal. Then press the "source" button in the top left corner of the editor. Your images will look something like : <img alt="" src="/CubeCart/images/source/prod_01_a.png" style="width: 510px; height: 510px;" /> Now, remove the styling and add class="img-responsive" so it would look something like <img alt="" src="/CubeCart/images/source/prod_01_a.png" class="img-responsive" />
    1 point
  38. If I go into the actual edit the product page and put a space in the redo / Start box then it clears on the Product Inventory page - null gone; now blank. So I think this is probably the best that can be done.
    1 point
  39. You could copy/paste the file /cache/abcde.html.skin.menu.lang.cache, but it won't last long, and you will be taken by surprise when it happens. I see code in the admin Product Import feature that looks at a heading named 'cat_id' which will accept either a comma-separated list of ID numbers, or a comma-separated list of category names. I think each item in the name list can be expressed as a slash-separated hierarchy of category names. The first item in the list will be the item's primary category. But the most easiest is to have phpMyAdmin export the CubeCart_category database table to a SQL type of file, then import that SQL file via phpMyAdmin to the other database.
    1 point
  40. Well, OK, your description above - an option type, Color - as a drop-down selector is entirely within CubeCart's wheelhouse. Please see: https://demo.cubecart.com/cc6/3d-glasses-tdg-br200/w.html.html and note the drop-down selector for Colour. (Also note the Quantity Discounts - not BuyXGetY, but just to point it out.) When all options are chosen off of their "Please Select" choice, there is an ajax call back to the store to get an updated price and stock level. CubeCart has some existing code that would implement a distinct image per option combination, but nowhere near being complete. This plugin may be of interest: https://www.cubecart.com/extensions/plugins/product-option-images As to the BuyXGetY solution, I find a few stores have that. I'm trying to install Drupal Commerce to check it out, but as with most things Linux and Me, that DC ain't getting installed all that easily.
    1 point
  41. Currently, no. There used to be a plugin but the publisher has disappeared. CubeCart used to have a "Tell-a-Friend" feature, but has been removed (it was horribly abused). There exists a manner that is cumbersome and definitely not dynamic: Create a new newsletter and select only the email address of the target customer to send it to.
    1 point
  42. I'd been having an ongoing issue with the checkout pages on mobiles/tablets being swamped by the menu and the basket appearing underneath (and out of sight). Customers couldn't always see the basket and often abandoned. A BIG THANKS to Al for his solution of disabling the menu on the basket/checkout pages
    1 point
  43. The pay pal onboarding team are now going to be looking at the issue
    1 point
  44. This bug report has an interesting comment: https://bugs.php.net/bug.php?id=64211
    1 point
  45. To change which gateways are displayed, one can use the hook, class.cubecart.display_gateways, found in the CubeCart class, private function _displayGateways(). For all of the snippets loaded to execute a particular hook, the snippets are sorted by 'priority', thus in the execution of the snippets (including plugin hooks), those that need to do very important things are first in line. The 'unique_id' must be unique, and is limited to 32 ASCII characters. In PHP, in general, you can instantiate a class multiple times each with having injected a distinct dependency. But CubeCart's management of modules has a tight correlation to the module's folder name. That said, however, in the snippet, one might be able to query the module's static properties to see how it can represent itself in various ways, and add to the gateways array accordingly.
    1 point
  46. Thanks Al, that's pretty useful indeed!
    1 point
  47. I honestly do not understand hosting companies that don’t have this enabled by default - almost like they are trying to hide something ! We have always had this enabled by default and it is invaluable
    1 point
  48. They arent known for providing good support and know nothing (and care even less) about your CubeCart store - to be fair, not really any different from most of the other large generic hosting providers out there where you are simply a number - however they are relatively cheap and you get what you pay for with hosting ! CubeCart can often run out of process memory when processing large images but this would have been clearly recorded in the PHP error_log file as would any errors like this. Images would no have been the cause if you were getting this error when doing a search on the front end of the store though. I have not heard of any memory related issues when doing searches though. If they allow you to increase to 512MB then great, but do go into the PHP Info option in admin and check that the "Master" value also says 512 MB - if it is less than 512 MB, then that is what you will actually be allowed to use regardless of what you set it to
    1 point
  49. Using a programmer's text editor, make these changes: In the admin skin template documents.contact.php, find near line 17: <div><label for="status">{$LANG.common.status}</label><span><input type="hidden" name="contact[status]" id="status" value="{$CONTACT.status}" class="toggle"></span></div> On a new blank line after that, add: <div><label for="liuo">Logged-in users only?</label><span><input type="hidden" name="contact[liuo]" id="liuo" value="{$CONTACT.liuo}" class="toggle"></span></div> In the file /classes/cubecart.class.php, near line 1459, find: /** * Display contact page */ private function _contact() { // Contact Form $contact = $GLOBALS['config']->get('Contact_Form'); if ($contact && $contact['status']) { On a new blank line after that, add: if(empty($contact['liuo']) || ($contact['liuo'] && !empty($GLOBALS['user']->is()))){ In the same file, near line 1571, find: $content = $GLOBALS['smarty']->fetch('templates/content.contact.php'); $GLOBALS['smarty']->assign('PAGE_CONTENT', $content); On a new blank line after that, add: } else { $GLOBALS['gui']->setError("You must be logged in to use the Contact Us form."); httpredir('index.php'); } In admin, bring up the Contact Form settings page. Check the box for "Logged-in users only?". Save and have CubeCart clear its internal cache. On the storefront, not being logged in, click the Contact Us document link. You should be sent to the homepage showing a red warning banner. Log in to the storefront. Click the link to the Contact Us document link. You should be shown the Contact Us page. This will also thwart robots from sending specially-crafted POST submissions. Unless they first create an account.
    1 point
  50. If i enter in to admin > products and bring up a list of products, there's no indication which items are discounted or on sale. So the only way to see which items we have listed on sale is via the customer side. Am i missing something obvious ?
    1 point
×
×
  • Create New...