Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 06/22/2020 in all areas

  1. 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
  2. rework global configuration file found in /includes/ with your new database details. setup/restore database to new location. upload all files. adjust permissions of uploaded files. as a basic test, you can validate those permissions by uploading the latest setup directory from the installer and validate they all report OK. test...
    2 points
  3. Well it's been a long week. New ventures meant I needed a more suitable web shop solution than the manual input Wysiwyg web builder I have used for the last three years. I have had 'proper' shopping carts in the past, but the web has moved on a lot in recent times with far more people using mobile devices to access content nowadays. The Wysiwyg web builder meant I had to design different layouts for different screen sizes by hand, which was a total drag. I have lost count of how many shopping cart solutions I have looked at over the last couple of weeks, but found many that no longer had viable download links (never a good start) and discovered many obsolete programs still out there, that are no longer developed and with subsequently no support network. During my forays I found out that my XAMPP server that allows me to test websites locally on my own computer was utter crud after recent 'upgrades', so moved to a WampServer which is wonderful in comparison. Anyway I eventually drew up a list of potential shopping carts. The one feature I wanted above all others, was an easy checkout process. Hesitation, confusion or complexity is no good for quick cash flow. Those in business will tell you, there is no business till you have the customers cash in your hand. The offerings I looked at included Woocommerce, Zen Cart, Opencart, Abantecart and of course Cubecart. All had their plus and minus points and some features which will appeal some some people, but not others. What did surprise me though is the flaws I found with some of the bigger players out there. Woocommerce I just found weird and confusing, Zen Cart still looked very dated and out of touch with its customer base, with many of the free community shared plugins conflicting with each. Most surprisingly of all Opencart seems to have created endless problems with its 'twig' modules in version three. Even the 'fix patch' didn't work and I couldn't even get one compatible skin (theme) to install without a plethora of error messages. Would I really want that on a live server? Answers on a postcard to..... That left it as a direct shoot out between AbanteCart and Cubecart, both of which are good programs with similar features and to their credit neither of them 'fell over' during testing. Looking at the programs on my offline server setup though, AbanteCart had nearly three times the number of operating files to Cubecart and more importantly a footprint of nearly 80mB, compared to Cubecart's sprightly 27.6mB. Where that becomes important, is if like myself you have more than one site on the same server space. Anyway before this turns into a saga, I had to do a lot of research and had a few long computer chained sessions often going beyond midnight these last few days. Making a bad choice with ecommerce software has the potential to make or break a business. I decided to go with Cubecart over everything else, as I found it very easy to work with. I didn't find it a stressful experience as unlike many others, it just worked flawlessly and did what it was supposed to do. I particularly like the fact you get a core program and just add the bits you want instead of being burdened with a pile of stuff you'll never use. From the front end view, the customer has a layout that is easy on the eyes, is straightforward to navigate and the checkout process is trauma free (and quick). That's the whole point with shopping carts though (or should be). Cubecart won't tick everyone's boxes, but having done the endless research, there are a lot of products out there that simply aren't fit for purpose. Been a long week, but time for a cold beer and unwind session....
    2 points
  4. 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
  5. I have hacked CC629 so that: one product can contain multiple digital files. This allows, for example, one to sell an "album" of several files - each file independently downloadable. will override the above when assigning one of the multiple files each to an option. This allows, for example, one to sell an audible book (available in multiple languages) - the customer having selected an option for an available language (or an audio file, choosing a filetype of MP3 or WAV). This is not a plug-in -- it's core code edits. I am not convinced CubeCart has (or could ever have) the requisite hooks. (But who knows?) I need a beta-tester. Post a PM.
    2 points
  6. 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
  7. This bug report has an interesting comment: https://bugs.php.net/bug.php?id=64211
    1 point
  8. 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
  9. I don't really understand why this is happening, looking at the lines in the error code, doesn't look that important. Have you tried chmoding and chowning all the folders correctly, I find that fixes 99% of rando issues.
    1 point
  10. There is a conversation that deals with this specific scenario. See: https://forums.cubecart.com/topic/54715-potential-malicous-attack/?do=findComment&comment=238482
    1 point
  11. lol - only recently added although that does mean it is at the front in every CubeCart store !
    1 point
  12. Sorry for the delay. One option would be to use the HTML <video> element in your category description. So you would upload a mp4/webm or ogg video to your site then when writing your description click the source button on the text editor and use something like <video> <source src="catvideo.mp4" type="video/mp4"> Your browser does not support the video tag. </video> Only issue is you'd have to play around with adding some other html and styling to try and get the layout right. Alternatively you could add a button and have the video load in a pop-up modal.
    1 point
  13. Yes, indeed. Please understand what is happening: In admin Store Settings, observe the various tabs across the top: General, Features, Layout, Stock, Search Engines, etc. These tabs drive a javascript function that causes the related panel of info to acquire the CSS property that makes that panel "visible". All other panels of content are not displayed. When clicking the Save button, all of the form elements on all of the panels of content - visible and not - get sent from the browser. So, even when you are only changing one or two settings, the web form is still sending all of the form's elements from all of the panels - because Store Settings is, in fact, one very long form that only a part of it is visible at a time. Your browser's Developer Tools, Network tab can show you the details of what was POSTed to your site.
    1 point
  14. I tried to look for this on the other day and I couldn't find a way to disable it apart from deleting a row. So make a note of what it is and then delete it. When you're ready to offer it again, re-add the row. In fact, I had the need to do this now and then, I will raise as Feature Suggestion for this. Edit - I have raised this - https://github.com/cubecart/v6/issues/2832
    1 point
  15. No that would make sense because the thumbnails are new. GD isn't very clever and will remove the orientation preference. The source image is unchanged and the browser probably does respect the orientation preference.
    1 point
  16. Thanks Deep for your reply. I found a very motivated freelancer to help me The systempay plugin gateway is in progress Xavier
    1 point
  17. I am thinking your Foundation skin is not current (shipped with CC642). From your screengrab, the Topbar is v5.5.1, while CC642's is v5.5.2. There is also: var back_text = $('#val_lang_back').text(); if(!back_text) { back_text = 'Back'; } Foundation.libs.topbar = { name : 'topbar', version : '5.5.2', settings : { index : 0, start_offset : 0, sticky_class : 'sticky', custom_back_text : true, back_text : back_text, mobile_show_parent_link : false, This finds the language string (which we did earlier), and uses it if present.
    1 point
  18. If making changes to the language phrases, regardless where or how, be sure to clear CubeCart's cache. CubeCart first loads definitions.xml and caches two variations of it (the details not important). CubeCart then loads the targeted language file (for example en-US.xml). Same-key phrases are overwritten. For example, the key 'mobile' has US English "Cell Phone" as what gets displayed. Also, 'postcode' is displayed as "Zip Code". An entire language pack will overwrite whatever same-keys exist in that pack, while missing keys will cause CubeCart to use those default phrases. Using the admin's Language editor, changes and customizations are stored in the database (to survive upgrades). This is the last of the overwrites. The phrase key 'back' (in the "common" group) is not in a language pack because almost all language packs were created in the very early versions of CubeCart5. The key 'back' was introduced in CC6011. As new features are added to CubeCart, requiring new phrases, only the definitions.xml (and perhaps en-UK.xml) will get updated as necessary. I'm sure CubeCart HQ would appreciate having a sponsor for a language pack, to keep it up to date.
    1 point
  19. Name: CBurst (Bootstrap Responsive Skin) Price: $14.99 Category: Skins Homepage: https://www.cubecart.com/extensions/skins/cburst-bootstrap-responsive-skin
    1 point
  20. For what it is worth - I still use the Standard, because I want people to create an account on our store. I do not have any issues with 6.4.3. There are other posts here of problems with payment, so I would suggest you search for PayPal and read through some of those threads.
    1 point
  21. 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
  22. As currently coded, there is no SEO path for any of the checkout pages: basket, confirm, checkout, gateway, complete. Note: just recently, an SEO path was introduced for the Gift Certificate and Contact Us pages. I'm not saying it can't be done. But there is no place in admin to make any settings that are particular to the checkout pages (like there is for the Gift Certificate page), where one can have a text-entry field for what the admin wants the META_TITLE to say.
    1 point
  23. CubeCart doesnt have an EPOS system and you need to get that information from your client - nobody here would have a clue what they are using ! There are a number of cases of stores that have developed links to third party external systems and I know several linking into EPOS systems but there is no standard plugin into any as far as I am aware - it has all been custom work
    1 point
  24. If it works, don't fix it, right? Some general info you might find useful: Windows servers don't use .htaccess. Instead, all meta data regarding your site's behavior (including URL rewrites/redirects) are contained in web.config (as you've already noted.) The syntax is similar: a rule written for .htaccess can be used in web.config by just plugging in the values in the right spots, e.g. RewriteRule ^$ /index.php [L,R=301] equals <rule name="home"> <match url="^$" /> <conditions logicalGrouping="MatchAll" trackAllCaptures="false" /> <action type="Rewrite" url="/index.php" /> </rule> Search up "regular expressions" for more details on how the matching syntax works. Writing web.config by hand isn't fun, per se, but as you've discovered, it can be done.
    1 point
  25. Considering that CubeCart offers a choice of Gift Card delivery (Digital, Physical, or Both), but collects nothing but the Recipient's email address and name, one can then presume that Cubecart never did intend to snail-mail the actual physical card (or whatever) to the Recipient - but rather to the Purchaser so that the GC can be presented as a gift, in person or by some other personalized fashion. We can certainly make this a Feature Request in the Github.
    1 point
  26. Hey @radman The W3W compatibility notice in the admin panel is cosmetic - Providing you enter your W3W info it will work as intended. It's just in the admin panel it looks for a certain skin file to determine whether or not its compatible, however for the updates i approached it differently so the certain skin file isn't there. As for the other issues, i can only assume something might have been edited incorrectly during your update, i can't seem to load your site (503 Service Unavailable) at the moment so i can't check whats going on.
    1 point
  27. I would concur that too much descriptive text on a View Category page is not ideal. My solution would be to create a "Short Description" feature (similar to the needs of a short description for products). When on a mobile, the short description would show with a link to a Site Document ("Show link to document in storefront?" is unchecked) having the full story. The above would involve adding a column to the CubeCart_category table, adding the necessary code to the admin categories.index.php template, and adding the necessary code to the storefront content.category.php template. Maybe some tweaks to the admin content.categories.inc.php source code. Or the full story could be loaded into a slide-out side box or drop-down box (like the "Shop by Category" bar).
    1 point
  28. I see the problem now is that the command to start the BXSlider: $('.bxslider').bxSlider({auto:true,captions:true}); is being executed before Modernizr loads the actual script, even though the loader is above the start command. So, let's do it this way instead: In the file script.js, make this edit: From: $(document).ready(function(){ $('ul.sf-menu').superfish(); }); To: $(document).ready(function(){ $('ul.sf-menu').superfish(); $('.bxslider').bxSlider({auto:true,captions:true}); }); Then, in main.php, remove the recently added: $('.bxslider').bxSlider({auto:true,captions:true}); and change the order of filenames: "https://www.diffgif.co.uk/skins/e-tone/js/enquire.min.js", "https://www.diffgif.co.uk/skins/e-tone/js/superfish.js", "https://www.diffgif.co.uk/skins/e-tone/js/jquery.bxslider.js", "https://www.diffgif.co.uk/skins/e-tone/js/script.js" Because script.js has changed, you may need to force your browser to reload page resources.
    1 point
  29. @traylor23 you are very welcome ! One takeaway is that you might want to look into the frequency and accessibility of backups your hosting company is doing. Minimum has to be full off-server backup once per day but even that for busy transactional sites can lead to massive data loss. As an example, we do hourly Continuous Data Protection backups !
    1 point
  30. There will be an edit to each of main.php and box.navigation.php. There will also be content added to the otherwise empty file cubecart.default.css. main.php From: <div class="row small-collapse"> <div class="small-12 columns"> {include file='templates/box.navigation.php'} To: <div class="row small-collapse" style="max-width: none;"> <div class="small-12 columns"> {include file='templates/box.navigation.php'} box.navigation.php From: <ul itemscope itemtype="http://www.schema.org/SiteNavigationElement" class="left"> To: <ul itemscope itemtype="http://www.schema.org/SiteNavigationElement"{* class="left" *}> cubecart.default.css Add: @media only screen and (min-width: 58.75em) { .top-bar-section ul { display: block; width: max-content; margin: 0 auto; } } The media directive limits this to the desktop display only. Pads and mobiles should behave as they did originally. Have CubeCart clear its internal cache.
    1 point
  31. What were your findings in admin, Store Settings, Layout tab? Verify that there exists a skin template named box.popular.php.
    1 point
  32. @radman420 by data issue i mean that it would appear no data (in this case Products) is been supplied to the $POPULAR variable which is used to load the popular products section. Since it appears to happen in both the Foundation and Amzin skin that would suggest that it isn't caused by the skins. All i can suggest is pop a message in Technical Help section as this is beyond a skin issue. Perhaps something went wrong during the CubeCart Update or a setting has changed. I'm running 6.4.1 with Amzin and Foundation and the popular box is loading fine so i'm not sure whats causing yours to not load since you updated.
    1 point
  33. Hey @radman420 In that case it would appear to be some sort of data issue then if it doesn't show in both Amzin or the foundation skin.
    1 point
  34. Please look at Store Settings, Features tab, at the bottom is a Miscellaneous section. Try having "Allow physical orders even if no shipping options are available" and "Disable initial shipping and tax estimates" are checked. We ask that you confirm that each product you sell -- digital only? -- has a digital downloadable file assigned to it. If CubeCart considers all products in the shopping basket as digital, no shipping is considered.
    1 point
  35. NiteFox beat me to it! But the solution works great. Thanks!!!
    1 point
  36. Hey, In relation to my answer to your previous question of "Can the core script be updated manually?" By "modified version of CubeCart" i mean if you have manually edited any of CubeCart's core script files. Using the upgrade option in the admin panel may cause the loss of any custom edits made to the core files. In relation to Extensions such as Skins, if you modify them (Change colours by editing the css files, manually add additional html etc) then it's advisable that you do not use "install tokens" to install new versions of the skin as you will lose any previous edits to the skin. CubeCarts Install Tokens basically pulls the full new version of the extension (skin) from CubeCart servers and extracts it over the existing version (replacing the existing files with new files - restoring the skin back to its default version) but also merges so any extra files are not lost. Which is why i now do a manual update guide for any updates to my skins as most people modify the colour scheme at the least. If that makes sense.
    1 point
  37. THANK YOU! Such a little word "and". I really appreciate the time you spend helping so many here. Going to test it now with the 6.4.0 code and will report, but I don't expect any problem there now. I can verify that your code edit has fixed the 6.4.0 current commit as well.
    1 point
  38. In searchCatalogue(), near line 1795: Find code that looks like: // Manufacturer if (isset($search_data['manufacturer']) && is_array($search_data['manufacturer']) && count($search_data['manufacturer'])>0) { $where[] = 'I.manufacturer IN ('.implode(',', $this->get_int_array($search_data['manufacturer'])).')'; // $where[] = 'I.manufacturer IN ('.implode(',', '\''.$search_data['manufacturer']).'\')'; } Change to: // Manufacturer if (isset($search_data['manufacturer']) && is_array($search_data['manufacturer']) && count($search_data['manufacturer'])>0) { $where[] = 'AND I.manufacturer IN ('.implode(',', $this->get_int_array($search_data['manufacturer'])).')'; // $where[] = 'I.manufacturer IN ('.implode(',', '\''.$search_data['manufacturer']).'\')'; } (An issue has been posted in the Github. Let us know if this fixes the issue for you.)
    1 point
  39. Well, you never know Al, 28 votes and they may offer to do the work for you, just need to rally 23 votes !!!!
    1 point
  40. Hi @captinmax Sorry for the delay for the Latest Products the only solution would be to display the "From" prefix for all products shown in that area as theres no direct check that can be made from the template. To achieve that you would do the following: Open file skins > amzin > templates > content.homepage.php around line 67 find : <div class="product-price"> {if $product.ctrl_sale} <div class="price-group"> <span class="old-price">{$product.price}</span> <span class="current-price">{$product.sale_price}</span> </div> {else} <span class="current-price">{$product.price}</span> {/if} </div> and change it to: <div class="product-price"> <div><small>From</small></div> {if $product.ctrl_sale} <div class="price-group"> <span class="old-price">{$product.price}</span> <span class="current-price">{$product.sale_price}</span> </div> {else} <span class="current-price">{$product.price}</span> {/if} </div> as for the product page, personally i wouldn't recommend placing it on the product page as theres no simple solution to showing/hiding the "from" text as you would want it to be dynamic so that it disappears once an option is selected so that the customer sees a final price and not a from price. Then if your options are optional then you don't want to display a from price incase no options are selected. (if that makes sense) Although you could put it on the categories page like this open skins > amzin > templates > content.category.php around line 149 find: <div class="product_pricing clearfix"> {if $product.ctrl_sale} <span class="old_price">{$product.price}</span> <span class="sale_price">{$product.sale_price}</span> {else} <div><span>{$product.price}</span></div> {/if} </div> and change it to : <div class="product_pricing clearfix"> <div class="clearfix" style="height:20px;overflow:hidden;"> <small><strong><span style="font-size:12px;">{if $product.options}From:{else}&nbsp;{/if}</span></strong></small> </div> {if $product.ctrl_sale} <span class="old_price">{$product.price}</span> <span class="sale_price">{$product.sale_price}</span> {else} <div><span>{$product.price}</span></div> {/if} </div>
    1 point
  41. As pointed out in the other thread about commerce plugin, I was a version behind. This might be the issue 1.3.16 - Corrected array name on phone variable form order retrieval.
    1 point
  42. Thanks - it's actually 1.3.16 now. Strange that Dashboard didn't point the update out.
    1 point
  43. If using the Foundation skin, using a programmer's text editor, open the template content.checkout.confirm.php. About 10 lines up from the bottom, find a <textarea> for "delivery_comments". Add into the tag resulting in: <textarea name="comments" id="delivery_comments" required placeholder="{$LANG.form.required}">{$VAL_CUSTOMER_COMMENTS}</textarea>
    1 point
  44. Regarding this: src : url("fonts/icomoon.eot?#iefix-hwvopr" the #iefix is to fix an issue in Internet Explorer 8 and below with respect to a CSS font-face rule having more than one source location. So, probably best to keep that. but not the -hwvopr.
    1 point
  45. I would recommend not using the admin.tabs hook. This seems to be best used if one needs to modify an existing tab(s) that are ready to be displayed. This could sometimes include adding more or deleting some tabs from an existing admin function (such as adding/editing an item of inventory). If your plugin is creating an entirely new admin feature (not enhancing any other administrative task), and because plugin modules can have their own admin control panels (/skin/admin/index.tpl) with corresponding controller code (/admin/index.inc.php), perhaps using ACP->addTabControl() would work better. But if your plugin is enhancing an existing feature/function, and need to include your relevant tabs (for the corresponding panels of settings), then the admin feature you are modifying may have a specific hook to use (such as editing a product -- admin.product.tabs) where the addTabControl() call would be placed.
    1 point
  46. Great thnx it worked
    1 point
  47. Create a file named ini-custom.inc.php. Using a programmer's text editor, the contents of this file will be: <?php if( ( (isset($_GET['seo_path']) && $_GET['seo_path'] == "register") || (isset($_GET['_a']) && $_GET['_a'] == "register") ) && !empty($_POST['first_name']) && !empty($_POST['last_name']) && ( (!empty($_POST['phone']) && $_POST['phone']=="123456") || //preg_match('/[A-Z]\z/',trim($_POST['first_name']))===preg_match('/[A-Z]\z/',trim($_POST['last_name'])) (ctype_upper(substr(trim($_POST['first_name']),-2)) && ctype_upper(substr(trim($_POST['last_name']),-2))) || !empty($_GET['agreed']) ) ) exit; // Kills PHP leaving browser with white screen It seems this robot always submits a first name and last name with the last character the same (Latin encoding) and capitalized. It also seems to include agreed=true in the querystring - which is not part of CubeCart. Edit: It seems the preg_match isn't consistently giving what I expected. It worked in some places, but not in other places. So, comment out that line and use the ctype_upper version of that statement.
    1 point


  • Newsletter

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