Jump to content

All Activity

This stream auto-updates

  1. Today
  2. Hi, Since my CC6 is modded in several ways, is there a way to test this on my site shortly live before buying it? thnx
  3. You can save a ton of money using these open source ecommerce to if you want to build an online store without hiring web developers.
  4. Yesterday
  5. 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" />
  6. If we're talking about the same thing, the length is VARCHAR 50 and the default is as defined and blank box, per the image above. and it shows Null per the top image above while on the product general information page the input box is blank BUT if I put a space in the product general information input box then the Product Inventory Start field is blank
  7. Last week
  8. So, regardless of which you use for: {$product.whatever} in, for example: <td><span class="editable number" name="product[{$product.product_id}][begin]">{$product.begin}</span></td> the Smarty diagnostic window says it is a zero-length-string, but what gets displayed is null. That's crazy.
  9. Hi, Is there a way to add some document pages to the shop by category menu. Also can the images in this document be made responsive https://craftedsteel.co.nz/work-portfolio Thanks
  10. All 3 are in there redo_start => "" start => "" begin => " and end_expire => ""
  11. That's strange. As you said, begin => "".
  12. I created a new column name - begin - with different attributes: as defined, to see if a fresh start would help the null stuff on the product inventory page. It didn't. Null still shows on that page - null doesn't show on the actual product general information page
  13. So: Was: <td><span class="editable number" name="product[{$product.product_id}][redo_start]">{$product.redo_start}</span></td> Now: <td><span class="editable number" name="product[{$product.product_id}][begin]">{$product.begin}</span></td> And the database column name has been changed from 'redo_start' to 'begin'. Or do you assign the query result 'redo_start' to the product array element 'begin' that is given to Smarty?
  14. 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.
  15. I have the popup but I'm not sure what you are looking for Found it: begin => "" (originally redo_start but I changed it)
  16. For the template you posted part of above, add at the end of that file this: {debug} This will have the browser popup a window showing the values of $product and the array that $product came from ($PRODUCTS?). What is the <div> statement doing? What is $PRODUCT.redo_start? I think the <div> block is where you are adding/editing data for a specific product. So, we won't worry about that.
  17. The field is blank. Maybe on the Product Inventory page it has to show Null for some reason? Maybe my coding: <th nowrap="nowrap">{$THEAD.redo_start}</th> <td><span class="editable number" name="product[{$product.product_id}][redo_start]">{$product.redo_start}</span></td> <div><label for="redo_start">Redid / Start Date</label><span><input name="redo_start" id="redo_start" class="textbox number" type="text" value="{$PRODUCT.redo_start}" /></span></div>
  18. CubeCart's admin does not use the cache, so changes made that get databased show in admin immediately.
  19. It is empty in the textbox on the actual product general information page. But it shows null on the product inventory page. This is where I want it blank. I'll look at what you just posted.
  20. In phpMyAdmin, when at the "Browse" tab looking at the CubeCart_inventory table, for those rows that do not have an actual date in 'redo_start', does the cell show NULL or is it blank?
  21. Try this: {foreach from=$SUBCATS item=subcat} <div class="subcategory product-list"> <a class="image" href="{$subcat.url}" title="{$subcat.cat_name}"><img src="{$subcat.cat_image}" alt="{$subcat.cat_name}" /></a> <p><a href="{$subcat.url}" title="{$subcat.cat_name}">{$subcat.cat_name}</a></p> </div> {/foreach} This evens out the sub-cat listing, except for a category name that takes two lines.
  22. I created a new one with default as defined and left it blank. Null still shows. Cleared the database and regular caches
  23. I tried that and the nulls remained. Maybe it doesn't automatically update? I'll create a new one with as defined and see what that does
  24. In the Default column, choosing 'As Defined:' is a good choice. The text entry field that then appears would be left blank. All nulls should be converted to a blank string.
  25. I don't know why the image posted so many times. Default column gives the following options: None (Will that show the word none - or leave it blank?) As defined: ( then you get the box) Null Current_timestamp
  26. All four of those images appear to be identical. In the Default column, is there a choice for a string? An empty string?
  27. Using : e-Sharp Skin Php code for categories : <h1>{$category.cat_name}</h1> {$category.cat_desc} {if $SUBCATS} <div id="subcategories"> {foreach from=$SUBCATS item=subcat} <div class="subcategory"> <a href="{$subcat.url}" title="{$subcat.cat_name}"> <img src="{$subcat.cat_image}" alt="{$subcat.cat_name}" /> {$subcat.cat_name} </a> </div> {/foreach} </div> {/if} {if isset($PRODUCTS) && count($PRODUCTS) >= 1} <form action="{$VAL_SELF}" method="post" class="control"> <span class="pagination">{if isset($PAGINATION)}{$PAGINATION}{/if}</span> {if isset($SORTING)} <span class="sort"> {$LANG.form.sort_by} <select name="sort" class="auto_submit"> <option value="">{$LANG.form.please_select}</option> {foreach from=$SORTING item=sort} <option value="{$sort.field}|{$sort.order}" {$sort.selected}>{$sort.name} ({$sort.direction})</option> {/foreach} </select> <input type="submit" value="{$LANG.form.sort}" /> </span> {/if} </form> {/if} {if isset($PRODUCTS)} <div class="product-list"> {foreach from=$PRODUCTS item=product} <form action="{$VAL_SELF}" method="post" enctype="application/x-www-form-urlencoded" class="product addForm" id="P{$product.product_id}"> <p class="image"> <a href="{$product.url}" title="{$product.name}"> <img src="{$product.thumbnail}" alt="{$product.name}" /> </a> {if $product.review_score} <span class="rating"> {for $i = 1; $i <= 5; $i++} {if $product.review_score >= $i} <span class="icon icon-star3"></span> {elseif $product.review_score > ($i - 1) && $product.review_score < $i} <span class="icon icon-star2"></span> {else} <span class="icon icon-star"></span> {/if} {/for} </span> {/if} </p> <div class="info"> <p class="title"><a href="{$product.url}" title="{$product.name}">{$product.name|truncate:40:"&hellip;"}</a></p> {if $product.ctrl_sale} <p class="price"><span class="price_previous">{$product.price}</span> <span class="price_sale">{$product.sale_price}</span></p> {else} <p class="price">{$product.price}</p> {/if} <p class="actions"> <a href="{$product.url}" title="{$product.name}">{$LANG.common.info}</a> {if $product.ctrl_purchase && !$CATALOGUE_MODE} <input type="hidden" name="add[{$product.product_id}][quantity]" value="1" class="quantity" /> <input type="submit" value="{$LANG.catalogue.buy}" class="btn button_add_basket" onclick="$.add2cart('P{$product.product_id}')" /> {elseif $product.out} <input type="button" value="{$LANG.catalogue.out_of_stock_short}" class="btn disabled" disabled="disabled" /> {/if} </p> </div> </form> {/foreach} </div> {else} {if !$SUBCATS}<p>{$LANG.category.no_products}</p>{/if} {/if} {if isset($PRODUCTS) && count($PRODUCTS) >= 1} <form action="{$VAL_SELF}" method="post" class="control"> <span class="pagination">{if isset($PAGINATION)}{$PAGINATION}{/if}</span> {if isset($SORTING)} <span class="sort"> {$LANG.form.sort_by} <select name="sort" class="auto_submit"> <option value="">{$LANG.form.please_select}</option> {foreach from=$SORTING item=sort} <option value="{$sort.field}|{$sort.order}" {$sort.selected}>{$sort.name} ({$sort.direction})</option> {/foreach} </select> <input type="submit" value="{$LANG.form.sort}" /> </span> {/if} </form> {/if} How can i fix the layout so its nice : eg : http://www.allesvooruwhuisdier.com/garnalen
  1. Load more activity


  • Newsletter

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