Jump to content

ayz1

Member
  • Posts

    452
  • Joined

  • Last visited

  • Days Won

    12

Posts posted by ayz1

  1. You can code these in. As an example if you visit the cubecart demo store at https://demo.cubecart.com/cc6/ and view the source code you will see the following html for the Best Sellers

    <div class="panel" id="box-popular">
      <h3>Best Sellers</h3>
      <ol>
            <li><a href="https://demo.cubecart.com/cc6/tv-home-cinema/3d-tvs/sony-kdl-32hx753-3d-tv.html" title="Sony KDL-32HX753 3D TV">Sony KDL-32HX753 3D TV</a><br>
                 <span class="old_price">£699.00</span> <span class="sale_price">£657.99</span>
            </li>
            <li><a href="https://demo.cubecart.com/cc6/su-b400s-tv-stand.html" title="SU-B400S TV Stand">SU-B400S TV Stand</a><br>
                 £65.99
            </li>
            <li><a href="https://demo.cubecart.com/cc6/3d-glasses-tdg-br200/w.html" title="3D Glasses TDG-BR200/W">3D Glasses TDG-BR200/W</a><br>
                 <span class="old_price">£22.99</span> <span class="sale_price">£18.75</span>
            </li>
          </ol>
    </div>


    and for the On Sale products

                      
    <div class="panel" id="box-sale_items">
      <h3>On Sale</h3>
      <ul>
          <li>
          <a href="https://demo.cubecart.com/cc6/tv-home-cinema/3d-tvs/sony-kdl-32hx753-3d-tv.html" title="Sony KDL-32HX753 3D TV (Save £41.01)">Sony KDL-32HX753 3D TV</a><br>
          <span class="old_price">£699.00</span> <span class="sale_price">£657.99</span>
        </li>
          <li>
          <a href="https://demo.cubecart.com/cc6/3d-glasses-tdg-br200/w.html" title="3D Glasses TDG-BR200/W (Save £4.24)">3D Glasses TDG-BR200/W</a><br>
          <span class="old_price">£22.99</span> <span class="sale_price">£18.75</span>
        </li>
        </ul>
    </div>

    If you find the same in your store you could then edit the files in the foundation skins/foundation/templates/box.popular.php and skins/foundation/templates/box.sale_items.php and replace the code that is already there (everything below the  *} with the html code for each of the two boxes.

    Then you can edit the products to suit your requirements.

    For the Featured product the code in the demo is

                   
    <div class="panel" id="box-featured">
       <h3>Featured Product</h3>
       <a class="th" href="https://demo.cubecart.com/cc6/tv-home-cinema/3d-tvs/sony-kdl-32hx753-3d-tv.html" title="Sony KDL-32HX753 3D TV">
       <img src="https://demo.cubecart.com/cc6/images/cache/sony/KDL-32HX753/203840.200.jpeg" alt="Sony KDL-32HX753 3D TV">
       </a>
       <h4><a href="https://demo.cubecart.com/cc6/tv-home-cinema/3d-tvs/sony-kdl-32hx753-3d-tv.html" title="Sony KDL-32HX753 3D TV">Sony KDL-32HX753 3D TV</a></h4>
          <span class="old_price">£699.00</span> <span class="sale_price">£657.99</span>
       </div>

    You can edit the skins/foundation/templates/box.featured.php file and replace with the copied html then edit to the product you wish to show.

    The latest products can be controlled by setting the specific product to show to either yes or no in admin on the Products General tab. There is a tick box to show in Latest Products or not.

  2. Looks OK. In admin > Maintenance select the clear cache option and then click the submit button. If that doesn't work.

    Try deleting

    <!-- {if isset($category.image)}
    <div class="row">
       <div class="small-12 columns"><img src="{$category.image}" alt="{$category.cat_name}" class="marg-bottom"></div>
    </div>
    {/if} -->

    I am assuming you are using the Foundation skin? Or have you renamed it? If so then you need to work in that folder.

  3. You will need to find the file templates/content.category.php in your stores file manager. You can usually access this via something called cPanel which you have access to at http://bestvalueditems.com/cpanel. You should have been provided with a password and username by your webhost. Once you log in you will see an icon for file manager. Open this and locate the file in public_html/skins/foundation/templates/content.category.php. Click on the filename and then on the Edit icon/button.

    Change/Edit

    {if isset($category.image)}
    <div class="row">
       <div class="small-12 columns"><img src="{$category.image}" alt="{$category.cat_name}" class="marg-bottom"></div>
    </div>
    {/if}

    to

    <!-- {if isset($category.image)}
    <div class="row">
       <div class="small-12 columns"><img src="{$category.image}" alt="{$category.cat_name}" class="marg-bottom"></div>
    </div>
    {/if} -->

     

    Save the file.

  4. 9 hours ago, farmaDistribuidorajj said:

    Thank you for answer btw, How can i  put the guts of the "Shop by Category" (aka the "Navigation" bar) into the "Products" item of the SiteDocs bar??

    Normally the menu works as I suggested in an earlier post. I can see now why that is not happening. Easiest option might be to look at using the Foundation skin. This will put the menu bar at the top and your current menu contents at the bottom. Then your top menu should auto generate as I suggested in an earlier post. Alternatively you would have to find a way of adding the menu to your existing skin. If this is your preferred option then it would be helpful to know what skin you are using.

  5. Try adding a new category Productos2 do not add anything to the Parent Category. Add another new category e.g. Brand1 and set the parent category to Productos2. Now select a product and set its category to Brand1 and this should give you a new menu item Productos2 with a drop down menu  of Brand1.

  6. To test if this is core code or skin related you could try changing the skin to a stock skin e.g. a clean version of foundation and see if you can replicate the problem. If you can it is core code issue and an update should resolve it if not then it is skin related and you would need to find out what in the skin code is causing the problem.

  7. Replace all of that. Depending on how many products you have if you reload your page you may see the product you want as a featured product. View source then copy the code for your product. If you have a lot of products then amend the product code to the one you want.

    Your code may be slightly different depending on what skin you are using but the principle is the same.

     

  8. You can hard code it in rather than have it auto generated.

    If you view source code you will see the html for the featured product between these opening and closing div tags.

    <div class="panel" id="box-featured">
       <h3>Featured Product</h3>
    product code in here
       </div>

    Copy the code into the templates/box.featured.php file and change the code to the product you wish to feature replacing everything below the *}

  9.  

    28 minutes ago, bsmither said:

    It might be similar to this Github issue.

    If the store is set to reduce stock when the order is placed then major issues will occur when a customer either presses the back button or decides to play about with the items in the basket. Seems to be much more stable to reduce stock when payment has been made.

  10. You can use https://www.easyspace.com/web-hosting/free-tools/one-click-installs

    to install Cubecart which should set everything up for you. Don't think there is a guide as such but there are some videos at https://vimeo.com/cubecart

    Maybe best to set up a store in a separate test folder first so you can play about with it and see what it can do. You will be given a basic front end that you can alter to your liking and an admin log in to handle orders, adding stock and store set up etc.

    If you get stuck search here or post for help.

     

  11. As the images stopped showing when you added null to the filemanager table maybe try repairing the image_index table. Worth a try just to rule it out. It does seem to be a database problem of some kind. Have you done the upgrade yet? If not if it was me I would try that after making a store backup. If you have done the upgrade then sometimes following an upgrade the database doesn't update correctly. I've had this happen a couple of times. Had to get Al at Cubecart support to sort it out.

×
×
  • Create New...