Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 08/01/2020 in Posts

  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. 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
  7. 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
  8. Ok, good to know. I've been tracing the code. I think I am at the last obstacle.
    1 point
  9. 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
  10. I have a plugin "Additional Product Fields". So, this would be a specific solution for you as opposed to a general incorporation of this feature in CubeCart's core code. The added product fields can be whatever you want. One field for the minimum and a second for the maximum, or a single field for a specifically formatted 'range'.
    1 point
  11. Thanks Al, that's pretty useful indeed!
    1 point
  12. 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
  13. 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
  14. Once you have assigned and saved the various options to the shirt product, and then once you have checked the relevant boxes in the Options Matrix column and saved, the product's Options tab will show the Options Matrix table. It is there you specify the individual stock levels.
    1 point
  15. Hi, Without knowing anything about the images (size ect) you intend to use i can only give a vague example. Assuming the images you plan on using are all the same size/dimensions then you could do something like: 1) Upload the 4 images to your site (for the example below i've used square images and uploaded them to root > images > source ) 2) Admin > Documents > Select the document which is your homepage 3) Select the "Content" tab and then click the "Source" button on the text editor. 4) Add some html to display your image "buttons" - For the example i am using square images so layout might need changing if you use rectangular images. <div class="home-blocks"> <div class="row"> <div class="col-xs-12 col-sm-3"> <a href="http://www.google.com"> <img class="img-responsive" src="images/source/mens_sale.png" title="Shop Mens Sale" /> </a> </div> <div class="col-xs-12 col-sm-3"> <a href="http://www.google.com"> <img class="img-responsive" src="images/source/womens_sale.png" title="Shop Womens Sale" /> </a> </div> <div class="col-xs-12 col-sm-3"> <a href="http://www.google.com"> <img class="img-responsive" src="images/source/childrens_sale.png" title="Shop Childens Sale" /> </a> </div> <div class="col-xs-12 col-sm-3"> <a href="http://www.google.com"> <img class="img-responsive" src="images/source/clearance.png" title="Clearance Sale - All Stock Must Go!" /> </a> </div> </div> </div> 5) Add a small bit of css When adding custom css styling i recommend you create a custom css file so that they don't get lost during any updates. To create a custom css file go to skins > basix > css and make a copy of the cubecart.default.css file and rename it cubecart.custom.css Open cubecart.custom.css and add the following .home-blocks{ text-align:center; } .home-blocks a { display:inline-block; margin: 10px 0px; } .home-blocks a img{ max-width:100%; } @media (max-width: 767px){ .home-blocks .col-xs-12 { width: 50%; } } then go to skins > basix > templates > element.css.php and add <link rel="stylesheet" href="{$ROOT_PATH}skins/{$SKIN_FOLDER}/css/cubecart.custom.css"> And clear your site cache via your admin panel.
    1 point
  16. In admin, Store Settings, Offline tab.
    1 point
  17. 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
  18. So there must be another cache. A content delivery network proxy or something typically used by cheap hosting providers. Does the basket reliably hold its contents between page loads?
    1 point
  19. Hi Lyd, It is possible to add to the area you mention, however anymore than 3 can cause a layout issue on screens between 768px and 991px (the joys of responsive websites ) you can free up a bit of space by removing the "register" link and just have a login link (theres a register link on the login page and register options during checkout so no biggy) To Add A Page 1) Create a page (Admin > Documents > Create Document) When you create the document a link should appear in the footer of your site. Make a note of the link. 2) Open basix > templates > box.navigation.php Add your link (i've used Affiliates as an example) to the bottom of the list. <li itemprop="name"> <a itemprop="url" href="http://exmaple.com/CubeCart/affiliates">Affiliates</a> </li> and save. NOTE! The navigation file gets cached so you will need to clear your sites cache if you have the cache enabled. (You should have a Clear Cache button in your admin header) Remove Register Link (OPTIONAL - Upto you if you want to) basix > templates > box.session.php Find and remove <li itemprop="name"><a itemprop="url" class="parent-link" href="{$STORE_URL}/register{$CONFIG.seo_ext}">{$LANG.account.register}</a></li>
    1 point
  20. I am wondering if, somehow perhaps a bug in the code, installing de-DE "over" the existing de-DE language pack, didn't actually overwrite the existing databased content of the email-contents with the contents of the new file of that incoming language pack. (Unlike the language phrases that exist in a file in a language pack, the phrases of the email-contents file of the language pack are all databased.) I will check on that. In the meantime, you can sort the above listing and delete all rows having 'content_id' equal to or greater than 26.
    1 point
  21. Originally the Click and Drop integration was only in beta and RM would only open it up to a few selected accounts and would only allow it to work with integrations they had written themselves. As the answer on 20th November shows, this has now changed ------------------------------------------------------------- Hi all and thank you for your feedback. Following our successful trial of the Click & Drop API integration, we have now activated this integration for all accounts. You can find it in your Settings > Integrations. Thanks to everyone who took part in the beta program. Further information on how to import orders with the API can be found here: https://help.parcel.royalmail.com/hc/en-gb/articles/360011462338-How-to-import-orders-with-the-Click-Drop-API ------------------------------------------------------------- So all RM users with an account can use this and any developer can use their API documentation to write a plugin - @Al Brookbanks I would say that this should probably be a standard core / free plugin and because you have nothing else to do in your life at the moment ........
    1 point
  22. Also, all of the customer's account pages do not have titles, nor Login nor Register (but these last two have actual SEO path names such as login.html and register.html). What would you like for it to be? Just curious. For the following, here are the file and line number where each type of page has the code to build the META_TITLE: Documents: CubeCart->getDocument(), near line 180 Products: Catalogue->displayProduct(), near line 330 Categories: Catalogue->displayCategory(), near line 264 Gift Certificates: CubeCart->_certificates(), near line 899 Contact Us: CubeCart->_contact(), near line 1474 Eventually, all that data gets assigned to the template variables in SEO->displayMetaData() which is called in GUI->displayCommon(). So, most of what you want to look closer at is in the CubeCart class, at the various private functions. Most, if not all, have a hook.
    1 point
  23. This will involve adding some new CSS and making a small, but important change to a template. In content.homepage.php, find: <ul class="small-block-grid-1 medium-block-grid-3 large-block-grid-3" data-equalizer> Change to: <ul class="small-block-grid-1 medium-block-grid-3 large-block-grid-3 panelslist" data-equalizer> Then find: {foreach from=$LATEST_PRODUCTS item=product} <li> Change to: {foreach from=$LATEST_PRODUCTS item=product}<li> Then find: </li> {/foreach} Change to: </li>{/foreach} This adds a class we will use to override comparable settings found earlier, and removes whitespace between the panels that would otherwise cause the total width of the panels in a row to exceed the available width of that row, thus causing the last panel of a full row to move down to the next. In /css/cubecart.default.css, add the following: .panelslist { margin: auto; text-align: center; } .panelslist li { position: relative; display: inline-block; overflow: hidden; float: none; } .panel { padding: 0.50rem; border: none; } This does have the unfortunate side effect of centering the text within the panel. Maybe you can work on figuring out how to override that. I found this answer here: https://stackoverflow.com/questions/30698432/how-to-center-align-zurb-foundation-block-grid-elements-that-are-being-pushed-to?rq=1 The adjustment to the panel class affects all panels, everywhere.
    1 point
  24. clear cache is now visible x thank you
    1 point
  25. By definition, the "Short Description" is intended to be extraordinarily concise, as it is intended to be shown where screen real estate is at a premium (Category List view, for example). The "original" short description feature request did not truncate the contents. It was expected that the admin would compose headline-like content. However, the final implementation did adopt the "precis limit". In admin, Store Settings, Layout tab, "Length of product precis", this value is the limit on how many characters will be displayed. If the content, with HTML tags, exceeds this, CubeCart then tries a version after having stripped out all the HTML. If not exceeded, the content gets displayed with all styling. Otherwise, the "plain" version is used and if that still exceeds the limit, it gets truncated and an ellipsis is appended. If you really want to use the Short Description for not-in-any-way concise content, set this limit to 65000 (the max the database can hold). There are plugins available that will give you more product settings - additional fields for technical details and what-not. If your site is not really available publicly, consider making a small change to the skin template main.php. Add {debug} to the very end. This will show a popup window listing all the template variables used and their values.
    1 point
  26. wow, almost everytime I am stuck with something, there's already a post in the forum. Sale Items be gone ...
    1 point
  27. Welcome MostlyConfused! Glad to see you made it to the forums. We have had very similar requests in the past: * Remove shipping modules if customer is not a member of a specific customer group * Remove the Print Order Form from Payment options if any item in the order is digital * Disable a specific payment gateway if the order is less than $50 and other needs. So, we will need to know how you identify which products cannot be mailed. It might be as simple as assigning a hidden category to those certain unmailable products. This type of solution uses a CubeCart feature called "Code Snippets". Once we have a better idea of your processes, we are sure a solution can be programmed.
    1 point
  28. There are plenty of crap hosting companies about.
    1 point
  29. The image needs to be a complete <img> tag. <a href="{$DATA.storeURL}"><img alt="{$DATA.storeName}" border="0" src="https://diffgif.co.uk/images/logos/Diffgif_logo_inc_web_150x150.png" /></a> However, and unfortunately for everyone, it seems the editor here is malfunctioning. See: https://github.com/cubecart/v6/issues/2285 and https://github.com/IGx89/CKEditor-ShowProtected-Plugin/issues/10 If the template has already been corrupted, we will need to make some deep dive fixes.
    1 point
  30. 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
  31. With Best Sellers, in admin, Store Settings, Layout tab, "Number of popular products to display" can be set to zero. With Featured Products, in admin, Products, Edit a product, General tab, "Include in featured products" can be unchecked. (There is no general setting to inhibit the display of this box. To do so will need to be a skin edit.)
    1 point
  32. You will need to find the appropriate template. I think it should be main.php. Look for: <div id="{$SECTION_NAME}Sec"> <div class="row"> <div class="large-3 medium-12 small-12 columns"> Change the third line above to: <div class="large-3 medium-4 small-12 columns"> A few lines later: <div class="large-9 medium-12 small-12 columns"> Change the line above to: <div class="large-3 medium-8 small-12 columns"> You may need to have Smarty clear its skin cache. As it is for Large, both divs sit beside each other because their sum equals 12 columns. At Small and Medium, each div takes all 12 columns, so they stack (actually, at Small, other layout features come into play). By making sure, at Medium, the two divs sum up to 12 columns, they will sit beside each other.
    1 point
  33. Many third party skins have also never been updated or supported. You could look to see if the developer is active in these forums (me and @NiteFox) or if the extension marketplace shows the skin being regularly updated Ian
    1 point
  34. Seems to be ok now Installing new version but updating database just hangs
    1 point
  35. Please follow along with me. Let's look at /classes/gui.class.php, the private function _displayPopularProducts(). At the bottom of the function, near line 1275, a statement assigns the $content from fetching and rendering a template to $POPULAR_PRODUCTS. So we know the code gets executed down to that point. Just above that statement is where all of the products from the query (in the $vars variable) is assigned to $POPULAR. But $POPULAR isn't in the diagnostics popup. That's crazy. If 'POPULAR_PRODUCTS' got assigned something, then 'POPULAR' must have been assigned something, even if it is null or false. Just above that is a hook. And above that, inside the foreach() loop, is a test that skips the product being examined if it does not have an associated category that has its status enabled. What is still disconcerting to me is that the query isn't showing in the grey debug section. It really should be there, because, with the test near line 1240, if there are no $products from the query, none of what we just discussed gets executed. Assuming the query is listed in the grey debug section, but wasn't correctly found, the only thing that could cause problems is: the test for enabled categories assigned to each product being looked at, or there being a hook that empties $vars. In the grey debug section, near the bottom, are there any messages that indicate problems with any of the queries?
    1 point
  36. 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
  37. @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
  38. I'd probably wait for 6.4.2 as 6.4.1 has a few bugs which have been fixed for 6.4.2 but not sure if the fixes have been applied to the current files for 6.4.1
    1 point
  39. Thanks both. For clarity to anyone having the same problem, here's what is says in the Release Notes If you see 404 errors after upgrade please either delete the .htaccess file so that it can automatically be regenerated or find; RewriteRule ^(.*)\.html?$ index.php?seo_path=$1 [L,QSA] and replace with RewriteRule ^(.*)?$ index.php?seo_path=$1 [L,QSA] Now working like a dream!
    1 point
  40. The RewriteRule has been changed to: RewriteRule ^(.*)?$ index.php?seo_path=$1 [L,QSA] If your site uses a different web server (nginx, for example), you will need to figure out how to update it's location blocks.
    1 point
  41. That works thank you Before And after
    1 point
  42. Oh, and Welcome Deming! Glad to see you made it to the forums.
    1 point
  43. Agree with Al, this is a common symptom of a failed or partially completed upgrade. Ensure you upload all files to the correct directories especially those in /admin into your renamed /admin_abcdef directory
    1 point
  44. 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
  45. I would be quite careful for several reasons : 1) The plugin hasnt been updated in over two years - while this doesnt necessarily mean anything by itself, CubeCart has moved on a lot in 2 years 2) It isnt just the demo site that is suspended, the whole website is suspended - this again could be a temporary oversight and may be back online any time soon or may mean a lot more. 3) There have been numerous complaints over quite a long period of time from users and many posts on these forums about not hearing back from this developer both for paid development work and also support
    1 point
  46. Find the CSS file cubecart.style04.css and add the following: .page-header-sec { background-image: url('xyz'); } where 'xyz' is the location of the image.
    1 point
  47. The snippet we will create is as follows: Enabled: Checked Unique ID: [email protected]+ Execution Order: 1 Description: Adds the MPN code to the data made available to Order Summary Trigger: admin.order.index.display Version: 1.0 Author: https://forums.cubecart.com/topic/56026-changing-invoice-layout/ PHP Code: <?php /* Adds the MPN code to the data made available to the admin's Order Index template, Order Summary (Overview tab). * Uses hook admin.order.index.display */ $snippet_addmpn2summary_list_of_items = $smarty_data['products']; foreach($snippet_addmpn2summary_list_of_items as &$snippet_addmpn2summary_item){ $snippet_addmpn2summary_item['mpn'] = $GLOBALS['db']->select('CubeCart_inventory','mpn',array('product_id'=>$snippet_addmpn2summary_item['product_id']))[0]['mpn']; } $GLOBALS['smarty']->assign('PRODUCTS', $snippet_addmpn2summary_list_of_items); You will now have {$product.mpn} available for use on the Overview tab and the Inventory tab.
    1 point
  48. CubeCart's "Featured" is actually a random pick from all products whose featured flag is set. Modify the following query to have the database engine pick one random record -or- only have set one product's Featured setting checkbox to a checked state. SELECT * FROM `CubeCart_inventory` WHERE CubeCart_inventory.status = '1' AND CubeCart_inventory.featured = '1'; Take note of the 'product_id' of the returned row. Use it in the next two queries. SELECT `path` FROM `CubeCart_seo_urls` WHERE CubeCart_seo_urls.type = 'prod' AND CubeCart_seo_urls.item_id = $product_id; SELECT `file_id` FROM `CubeCart_image_index` WHERE CubeCart_image_index.product_id = $product_id ORDER BY `main_img` DESC LIMIT 1; Take note of the 'file_id' of the returned row. Use it in the next query. SELECT `filepath`, `filename` FROM CubeCart_filemanager WHERE CubeCart_filemanager.file_id = $file_id; Use 'filepath' and 'filename' to construct an <img> tag for the product's image. Use 'path' to construct a web address to the product in the CubeCart store.
    1 point
  49. I don't know why I am promoting this because I'll have a lot of work to do!
    1 point


  • Newsletter

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