Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 07/02/2021 in Posts

  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. Recently had to change the password on a friend's Outlook 2013 (which does not do OAuth like Thunderbird). Now, I have not actually done this for my development installations of CubeCart yet, but I have every expectation that this will work. What you need to do is to acquire an "app password" for your "less-than-secure" app (as Google puts it). See: https://support.google.com/accounts/answer/185833 To do this, you will need a cell-phone. In your GMail account settings page, find the Security section. Enable "Two-step Verification". (This is not as bad as it sounds.) This is only to verify that the person doing this process is, in fact, you. Google will text a code when you begin the process of generating an app password. There should now be a new option in the "Signing in to Google" section for App Passwords. Select this option. On the App Password page, choose Select App, and for the name of the app, choose something like FettleBox Store (something in one or two words to describe what you are to use this app password for). Then choose Generate. The 16-digit number in a yellow banner is what you will enter in CubeCart's SMTP Password field (the banner shows spaces between each set of four digits that are not part of the password - do not include the spaces). This is all how it worked for Outlook 2013. I expect it to also work when wanting to use GMail as the SMTP server for CubeCart.
    1 point
  9. 1 point
  10. 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
  11. Thanks, I realised it but forgot to hide it!
    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. PHP 7.2 stopped even receiving critical security updates over 1 1/2 years ago so running any site on this version is 100% not advised. You would be much better contacting @Noodleman directly via his website and simply asking for a 7.4 encoded version of them and ensuring you stay on the latest supported version of PHP Ian
    1 point
  15. 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
  16. Ok, so the above is an example, but it's not the actual project that needs a solution. So, from the example, it seems you need to populate a template with custom HTML and possibly process any POSTed data returned. CubeCart has a "hooks" system, which is useful to do these kinds of things. Unfortunately, one needs to understand where the hooks are individually placed in the core code, so that these kinds of customizations can be implemented. If you wish to discuss specifics in private, send me a PM.
    1 point
  17. Short answer: no. CubeCart does use a common regex to detect if a web browser is any of the several browsers installed in mobile devices -- but the regex does not discriminate based on version numbers. This function (detecting user-agent strings of browsers built for mobile-type devices) is a carry-over to accommodate non-responsive skins -- generally skins built for CC5 -- so that, if the admin settings permit, will auto-switch to a specified mobile-designed skin. (See the Mobile skin in the Marketplace.) Responsive skins (are supposed to) have an indicator in the config.xml file that they are responsive, and CubeCart will not (if I recall correctly) pursue examining the user-agent string. I have not seen any evidence of the following in existence, but I assume it could be done -- a third-party plugin may want to customize its page structure depending on the specific browser.
    1 point
  18. 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
  19. PHP hasn't been updated? The mysqlnd, if I am correct, is the PHP extension that talks to MySQL. So, did the actual MySQL database server get updated? You may need to get your hosting provider to work on this. See: https://www.cadence-labs.com/2017/08/wordpress-magento-mysql-php-fix-server-requested-authentication-method-unknown-client/ https://www.eschrade.com/page/the-server-requested-authentication-method-unknown-to-the-client-mysql_old_password/ https://serverfault.com/questions/295285/mysql-cannot-connect-via-localhost-only-127-0-0-1/297310#297310
    1 point
  20. 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
  21. The All in One Shipping module has a Debug setting. Choose to see a Very Verbose explanation. The debug analysis will show why there were no shipping rates found to satisfy the required conditions.
    1 point
  22. I've not used your skins in a while, but it was always great work, sorry to hear you'll be gone.
    1 point
  23. Thanks for the kinds words I have always aimed to deal with things respectfully to all involved and it's a shame things have to come to an end but i know the skins are in safe hands. I've always approached things in a way that I'd want to be treated if "the shoe was on the other foot" so hopefully everyone will understand my reasoning and approach. If there was more hours in the day I'd gladly carry on. My inbox will remain open (even after 07/02/2022) for anyone and I'll be casting a eye over cubecart now and then to see it continue to grow as a great script. It's been a pleasure to deal with everyone I've dealt with over the years and thanks to Al for making it an easy process and for building a user friendly script and been supportive when needed.
    1 point
  24. 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
  25. All in one shipping. What I was thinking was that the coupon should have the user choice of either calculating on the subtotal or as part of the calculation of the subtotal. That way the shipping or any other module can stay looking at the subtotal for their calculations. It would be a really nice flexibility feature in the coupon module.
    1 point
  26. 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
  27. 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
  28. 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
  29. This is an interesting scenario to solve. I am asking for details so that efforts aren't proceeding to a misunderstood, unworkable solution. As it currently sits in my brain, I want to use an otherwise unused product attribute (GTIN code? 'condition' recoded to "big" and "small"). When AIOS iterates across the basket contents, a flag can be set to invalidate certain other possible shipping choices.
    1 point
  30. Hi Ian, Thanks for your insight, but you don't know my hosting setup. I do have the ability of installing ES (confirmed with them), just that I don't have a beefier server to perform for huge traffic. I'm wondering if it's doable as my visitor numbers are very low (I'd say 1k users a week or so) so the amount of time they use the search box will be lower. All I need to do is to tweak to see if it can work, or like mentioned earlier, I use external cloud provider to offset the load. Would be a good way for me to test & feedback.
    1 point
  31. 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
  32. 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
  33. Amazing! Thank you that is so helpful. I will take a look.
    1 point
  34. Name: AA Basic Blue Price: $14.99 Category: Skins Homepage: https://www.cubecart.com/extensions/skins/basic-blue
    1 point
  35. This is something I've talked with PayPal about and something I'd like to do. Stay tuned.
    1 point
  36. In the admin script file /sources/settings.index.inc.php: Near line 450, find: 'product_weight_unit' => array('Lb' => $lang['settings']['weight_unit_lb'], 'Kg' => $lang['settings']['weight_unit_kg']), Change to: 'product_weight_unit' => array('Lb' => $lang['settings']['weight_unit_lb'], 'Kg' => $lang['settings']['weight_unit_kg'], 'g' => "Metric (g)"),
    1 point
  37. 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
  38. Welcome BaronVonScuba! Glad to see you made it to the forums. It seems you are using the sfws-foundation5-custom skin. It is very likely that the author of this skin has not updated certain hard-coded links in the templates. Please view: https://github.com/cubecart/v6/tree/v6.4-master/skins/foundation/templates Look for all instances of fix #1164. There will be several. If you want additional help, feel free to ask for it.
    1 point
  39. We can assume that the mailer-daemon[at]localhost is a system put in place by your hosting provider. So, begin by creating a support ticket with them. There will probably be no indication about what was objectionable in the email's content, so we cannot attempt to "work around" the issue by changing the wordings of the email phrases.
    1 point
  40. Ok, so, now that we know that CubeCart is getting a zero-length-string (zls) for 'minimum_quantity' and 'maximum_quantity' form elements in POST, we need to deal with that. Even though the database is getting a zls for an integer type column, that zls is getting converted to zero instead of using the column's default value. In the admin script products.index.inc.php, find near line 65: //Need to remove these in some cases to stop SQL errors $records = array('product_id', 'product_weight', 'stock_level', 'stock_warning'); foreach ($records as $r) { if (empty($record[$r]) && !is_numeric($record[$r])) { unset($record[$r]); } } Change to: //Need to remove these in some cases to stop SQL errors $records = array('product_id', 'product_weight', 'stock_level', 'stock_warning', 'minimum_quantity', 'maximum_quantity'); foreach ($records as $r) { if (empty($record[$r]) && !is_numeric($record[$r])) { unset($record[$r]); } } OR, be sure to enter a 1 in the Minimum Quantity Purchase field when entering the prices.
    1 point
  41. There isn't a distinct column in the list of products and documents (but there is in the list of categories). However, by hovering the mouse cursor over any of the icons in the right-most "Actions" column, the browser will show the URL that will be requested. That request URL will have a "product_id", "cat_id", or "doc_id" in the querystring.
    1 point
  42. 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
  43. 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
  44. 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
  45. CubeCart is very good at figuring out where it is. But this is based on what the web server tells PHP in the $_SERVER array (you can see this array in admin, PHP Info, near the bottom). Clear the cache first (as CubeCart wants to use the FQDN URL in the HTML snippet having the list of categories and was cached). So, just tell the web server (vhost file) what new domain name it is to answer to, keeping the 'rootdoc' directory the same.
    1 point
  46. 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
  47. 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
  48. Hi Abraham. Please see https://support.cubecart.com/hc/en-gb/articles/360003793978-How-do-I-create-a-custom-skin-or-template-
    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. We don't have a partnership with Adyen but it's not required. They have exceptional documentation and the integration has been tested under their sandbox. Please do let us know how you get on. Where are you referring to when you say no documents on the CubeCart page? We will reach out to Adyen to see if we can get our integration certified.
    1 point
×
×
  • Create New...