Thread: Some questions

Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1
    Join Date
    Apr 2012
    Posts
    62
    Plugin Contributions
    0

    Default Some questions

    Hi,

    I'm still trying to customize my zen cart and I have some questions:

    1. Can I add a link to the top nav bar (Home, Log In)?
    2. When I click on a product and its page pops up, can I move the "Add this to my cart" box ou of the center column into the right column?
    3. How can I remove the "Write a review" box at the bottom of that page?

    Thanks a lot.

    Ed

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,268
    Plugin Contributions
    3

    Default Re: Some questions

    Quote Originally Posted by edgemeister View Post
    Hi,

    I'm still trying to customize my zen cart and I have some questions:

    1. Can I add a link to the top nav bar (Home, Log In)?
    2. When I click on a product and its page pops up, can I move the "Add this to my cart" box ou of the center column into the right column?
    3. How can I remove the "Write a review" box at the bottom of that page?

    Thanks a lot.

    Ed
    1. Yes... the way you add the link will depend on what you are linking to.
    2. Why would you want to do this? This is the SECOND MOST IMPORTANT button on the website (the first being CONFIRM ORDER) - so why would you want to make it less prominent? You can shift its position within tpl_product_info_display.php - and if you really wanted to hide it from customers, you could use absolute positioning in the css I suppose - but this button needs to be clear and prominent.
    3. You need to learn your admin controls - and the best way of doing this is to get the User Manual. The setting is under catalog > product types > product general > edit layout.
    20 years a Zencart User

  3. #3
    Join Date
    Apr 2012
    Posts
    62
    Plugin Contributions
    0

    Default Re: Some questions

    Hi,

    Thanks for the quick response.

    1. I 'd like to add the COWOA feature to the nav bar.
    2. I don't really want to hide that field from customers, what gave you that idea? I just want to move it into the right column, it would be as prominent as it is right now.
    3. I did go through all kinds of admin controls but didn't find that particular setting. Thanks for the tip.

    Ed

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,268
    Plugin Contributions
    3

    Default Re: Some questions

    The FUNCTIONS of the columns are not structured to accommodate features that are designed for the centre column. The Add-to cart is part of a <form> which is wholely built to render in the centre column, and its integrity cannot be split up. As I said, you can FORCE the position of an element using ABSOLUTE positioning in the CSS, but you will have to experiment with what is suitable. You will need to create a blank area in the side column (possibly using blank sidebox) that appears only on the product info page, and then use page-specific css to force the selector into that part of the screen. i still fail to see any user advantage here, but if you want to pursue something that is (in my humble opinion) completely pointless, then you can try as I suggest.

    What "cowoa element" do you want in the header? Cowoa is only rendered at the shopping cart stage (ie: when there is something in the cart) so you will have to make the appearance of the link conditional. Look at the shopping cart in header options and see how this is governed by a product being in the cart.
    20 years a Zencart User

  5. #5
    Join Date
    Apr 2012
    Posts
    62
    Plugin Contributions
    0

    Default Re: Some questions

    Thanks for the detailed explanation re the "Add to Cart" box. I didn't know that this box was designed to only be rendered in the centre column, hence my question.

    As to the COWOA feature, I just want to notify customers that they have an option to purchase without creating an account before they go any further. If they only see a "Log In" link, they might jump ship without ordering.

    Does that make sense?

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,268
    Plugin Contributions
    3

    Default Re: Some questions

    Quote Originally Posted by edgemeister View Post

    As to the COWOA feature, I just want to notify customers that they have an option to purchase without creating an account before they go any further. If they only see a "Log In" link, they might jump ship without ordering.

    Does that make sense?
    Sort of... but most customers will not concern themselves with this element of the purchase process until it's time to checkout - and Numinix's FEC module offers them all options at the "login" stage - which is the point at which their attention is focusing on this step. You can re-name "log in" to something less onerous - like "sign up"... or just remove it completely from the header (though you may lose the "logout" feature coupled with that link). There are other ways to feature the "logout" link without having to show "login" and there are several posts discussing this.

    Prior to that you want to keep them interested in shopping - so the PROMINENCE should be given to showcasing your products
    20 years a Zencart User

  7. #7
    Join Date
    Apr 2012
    Posts
    62
    Plugin Contributions
    0

    Default Re: Some questions

    My customer has a 30+ page website to showcase his ONE product!

    What he wants is a simple buying experience for his customers to purchase by bypassing the creation of an account. Some people may want to sign in, that's why we want to keep this feature too.

    As I had mentioned before, we just want to add a "notification" in the head nav bar that there is an option to purchase without signing in. I still don't know if that's possible and how to do it.

    Ed

  8. #8
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,268
    Plugin Contributions
    3

    Default Re: Some questions

    if the site is selling just ONE product then what you should do is place it as a single product in a single category, then set LAYOUT SETTINGS to open with a category - that category being the single one with the single product.

    That will make the LANDING PAGE the actual product info page, where you can then set a BUY NOW feature.

    If you have COWOA, or better still PayPal express, then the entire purchase process is a two-click operation.
    20 years a Zencart User

  9. #9
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,268
    Plugin Contributions
    3

    Default Re: Some questions

    You can HARD-CODE stuff into tpl_header.php (inside /templates/YOUR_TEMPLATE/common/)

    Zencart's CORE tpl_header.php has this section:

    Code:
    <div id="navMain">
        <ul class="back">
        <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
    <?php if ($_SESSION['customer_id']) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
        <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
    <?php
          } else {
            if (STORE_STATUS == '0') {
    ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
    <?php } } ?>
    
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
        <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    <?php }?>
    </ul>
    </div>
    You could do something like this:

    Code:
    <div id="navMain">
        <ul class="back">
        <li><img src="images/cowoa.jpg" alt="You can checkout without having to create an account" /></li>
        <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
    <?php if ($_SESSION['customer_id']) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
        <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
    <?php
          } else {
            if (STORE_STATUS == '0') {
    ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
    <?php } } ?>
    
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
        <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    <?php }?>
    </ul>
    </div>
    WHERE cowoa.jpg is a suitably-sized image.
    20 years a Zencart User

  10. #10
    Join Date
    Apr 2012
    Posts
    62
    Plugin Contributions
    0

    Default Re: Some questions

    Schoolboy,

    Thanks for the detailed response.

    Post # 8: I had already done that a while ago. The product page IS the landing page.
    Post # 9: I did that and it works as described. However, instead of an image I'd prefer a text along the lines "Purchase as Guest" or something like that. Just the same font/size as the existing links "Home" and "Log In". Is that possible?

    Ed

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Some noobie questions!!!
    By jusmeig in forum General Questions
    Replies: 4
    Last Post: 21 May 2009, 04:33 PM
  2. Some Questions
    By zMax in forum General Questions
    Replies: 2
    Last Post: 3 Mar 2009, 09:45 PM
  3. Some Newbie Questions
    By coolcat in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 May 2007, 07:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg