Jump to content

bsmither

Member
  • Posts

    17,957
  • Joined

  • Last visited

  • Days Won

    602

Everything posted by bsmither

  1. If you change a page's resource (javascript, CSS, images, etc) but do not change the name, the browser will use the copy that it has cached internally for itself. You will need to force the browser to fetch fresh copies of these files. This is typically done with CTRL-F5. However, the skin you are using is 'responsive'. That is, there are sets of CSS rules that the browser uses when the browser viewport is "this" wide, and other sets of CSS rules when the viewport is "that" wide. Hitting the right set of rules is problematic. CubeCart's skin configuration requires that image sizes be "named" and a related maximum width be specified. This is in the skin file config.xml. I do not know what the above CSS rules will affect, the actual image or the screen real-estate given to contain the image. But, in config.xml, specify for the 'subcategory' a maximum of what you want -- 150px? Again, there is the size of the image, which won't get any bigger than the maximum specified (not supposed to, anyway), and won't get any bigger than the real estate given to contain it -- which may get smaller as the viewport gets narrower.
  2. Then the approach you've taken will work with the proviso that the URL specified in the Edit Document, General tab is full and complete, containing the seo-path of the target category. For example: //wickedstuff.co.nz/test-category.html (leave off the http or https so that the browser adds it to match the protocol of the original page request). No drop-downs on the nav bar.
  3. The new code will be the same thing as was added in content.category.php, but in the template content.homepage.php.
  4. Ok, so with the URL removed (this is supposed to be a full and complete URL that points to a document somewhere, not ncessarily to your site, possible a PDF perhaps), everything is working as it should. CubeCart forms the real URL for the document "Test Category" (doc_id 2) as 'test-category-d2'. Thus, CubeCart forms the real URL for the category "Test Category" (cat_id 1) as 'test-category'. There should not be any more database errors "duplicate entry'. (Except for the Sale Items error message. That one is strange.) What we can try is to specify the full and complete URL for the "Test Category" category in the [destination] URL of the document. That seems to work except for the fact there is no drop-down for its sub-categories (sub-cat Test2). So, what is your intent? To combine categories and documents onto one bar? (Might run out of room!)
  5. How did you create the document titled Test Category? Is this simply copying the actual category HTML into the Edit Document, Contents tab? See what happens when you delete the contents in the URL field of the Edit Document, General tab.
  6. My bad -- the file is element.product.call-to-action.php.
  7. The navigation files are box.navigation.php and element.navigation_tree.php. And for the products listing in a View Category page, you are wanting a grid of panels - like the Latest Products on the Homepage?
  8. The template to edit depends on the skin, so for the latest version of the Foundation skin, using a programmer's text editor, edit /skins/foundation/templates/element.call_to_action.php. At the end of the file, add: <div class="row collapse"><div class="small-12 columns">{if $PRODUCT.stock_level}{$LANG.catalogue.stock_level}: {$PRODUCT.stock_level}{/if}</div></div> Then, for the Category listing, in content.category.php: Find (there will two instances of this - change both): {elseif $product.ctrl_stock && !$CATALOGUE_MODE} Change to: {elseif $product.ctrl_stock && !$CATALOGUE_MODE}<div class="row collapse"><div class="small-12 columns">{if $product.stock_level}{$LANG.catalogue.stock_level}: {$product.stock_level}{/if}</div></div> Since you have edited a skin template, you may need to have CubeCart clear its cache: admin, Maintenance, Rebuild tab, Clear Cache.
  9. In admin, Store Settings, Stock tab, "Show stock levels" is to be checked.
  10. I wonder if this setting will change things: admin, Store Settings, Search Engines, "Add subcategroies to category URL path", set to No.
  11. I see what may be happening. I've made documents into categories, but not categories into documents. I will need to study this.
  12. Have you installed any sort of code snippet or plugin that places categories in the document box?
  13. In box.documents.php, this part of the code: <ul class="main-menu"> <li><a href="{$STORE_URL}" title="{$LANG.common.home}"><i class="fa fa-home"></i></a></li> {if isset($DOCUMENTS) && count($DOCUMENTS) > 0} {foreach from=$DOCUMENTS item=document} <li><a href="{$document.doc_url}" title="{$document.doc_name}" {if $document.doc_url_openin}target="_blank"{/if}>{$document.doc_name}</a></li> {/foreach} {/if} This shows the Home icon, then links to each document (Privacy, etc). What is missing is the code that puts the link to "Test Category" between Home and Privacy. Are you sure you are looking in the GalaxyX skin folder? For GalaxyX, it is not too strange that somehow, the skin is convincing CubeCart to load the categories in the document bar. And getting it wrong.
  14. Somehow, the code for the main nav menu is now inside the documents box. Nothing wrong with that. I don't have a copy of GalaxyX, so I can't give 100% advice. In /skins/galaxyx/templates/, look for box.documents.php, box.navigation.php, and element.navigation_tree.php. The <ul class="main-menu"> is what you are going to find first. Then determine where the list items come from. Hopefully, it will be obvious what is missing.
  15. This is what my browser sees: <div id="box-documents"> <nav> <ul class="main-menu"> <li><a href="https://wickedstuff.co.nz" title="Home"><i class="fa fa-home"></i></a></li> <li><a href="test-category.html" title="Test Category" >Test Category</a></li> <li><a href="https://wickedstuff.co.nz/privacy-policy.html" title="Privacy Policy" >Privacy Policy</a></li> <li><a href="https://wickedstuff.co.nz/returns-policy.html" title="Returns Policy" >Returns Policy</a></li> <li><a href="https://wickedstuff.co.nz/store-policies.html" title="Store Policies" >Store Policies</a></li> <li><a href="https://wickedstuff.co.nz/contact-us.html" title="Contact Us">Contact Us</a></li> <div class="clear"></div> </ul> </nav> </div> Please carefully note that the second list item, the one for the category, does not have a full and complete URL -- it is a relative path. Thus, the browser is attempting to figure out the complete URL and is inadvertently using the /test-category/ part of the path as the path to the actual site - as opposed to the path to the document. Compare the template code for these list items and note that all should have {$STORE_URL} (or something like it) as a lead-in. Also, since you are editing a template, have Cubecart clear it's cache (admin, Maintenance, Rebuild tab, Clear Cache).
  16. The tool is called slowAES. However, because you get a blank page, it may be the case that there is something else wrong that does not involve slowAES. That said, please create the error_log.
  17. The hosting provider for your site seems to be using an anti-scrape javascript pre-loader. This probably will cause problems running CubeCart. You are advised to contact your hosting provider to learn how this can be switched off.
  18. Welcome tinytoes! Glad to see you made it to the forums. When you return to edit that product, is the number 10 still there? As a test, change some other apsect of that product - it's "Product Code" or "Price" for example. Then, on the storefront, is the Product Code or Price the same or different? If it did not change, then perhaps your hosting provider has an overly aggressive page caching mechanism in place. If it did change, but then the Stock Level always says 1 regardless of it's real value, we may need to look at the skin logic.
  19. View: https://www.cubecart.com/extensions/skins/e-tone-by-webcity https://www.cubecart.com/extensions/skins/minimaliser (can easily create a red color)
  20. The phrase "process orders" is not in the language files. So, this must be coming from somewhere else. If there is no plugin, that will enforce a minimum order value, then perhaps it is a code snippet(s). In admin, Manage Hooks, Code Snippets tab, see if there is anything in this list that would do this.
  21. There is this: http://www.chuggyskins.co.uk/index.php?act=viewProd&productId=24 but it is unknown if there have been too many changes in CC6 (versus CC5) that may cause problems.
  22. There is this: https://www.cubecart.com/extensions/plugins/minimum-order-values-plugin but seems limited to setting a minimum per product and/or per category. There is this: http://www.chuggyskins.co.uk/index.php?act=viewProd&productId=26 but it is unknown if too many changes have occured in CC6 (versus CC5) to change its effectiveness.
  23. Other than a plugin, the only other place involves establishing when shipping becomes free (aka, the Free Shipping plugin).
  24. References to the images should be in the database (CubeCart_filemanager). But they do need to be copied to the new store to /images/ folder. Also /images/logos/ folder.
×
×
  • Create New...