Forums / Templates, Stylesheets, Page Layout / Just want to use Zencart to display my products. How do I turn of all buy options?

Just want to use Zencart to display my products. How do I turn of all buy options?

Locked

Started by gaza_mac on 26 Sep 2009, 1:58 PM · Views: 1,337

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
26 Sep 2009, 1:58 PM
#1
gaza_mac avatar

gaza_mac

New Zenner

Join Date:
Sep 2009
Posts:
3
Plugin Contributions:
0

Just want to use Zencart to display my products. How do I turn of all buy options?

I am using Zencart as a shop front for all my products. I don't want to use it for online purchases. How do I disable all the online purchasing options.

Just want it to display products and nothing else.

26 Sep 2009, 2:02 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Just want to use Zencart to display my products. How do I turn of all buy options?

admin > my store > store status > select what & how you want your site to be displayed from the selections

0= Normal Store
1= Showcase no prices
2= Showcase with prices

Zen-Venom Get Bitten

26 Sep 2009, 2:08 PM
#3
gaza_mac avatar

gaza_mac

New Zenner

Join Date:
Sep 2009
Posts:
3
Plugin Contributions:
0

Re: Just want to use Zencart to display my products. How do I turn of all buy options?

Thanks Cobra I set the option to 1

Thats left me with a box now displaying - Quantity in Cart: 2 and Contact Us.

How do I remove just - Quantity in Cart: 2?

Also do you know how I can turn off the 'Write A Review' option please mate?

26 Sep 2009, 2:34 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Just want to use Zencart to display my products. How do I turn of all buy options?

Showcase should not have a cart
Where is this page for viewing?
Post a link

Zen-Venom Get Bitten

26 Sep 2009, 2:54 PM
#5
gaza_mac avatar

gaza_mac

New Zenner

Join Date:
Sep 2009
Posts:
3
Plugin Contributions:
0

Re: Just want to use Zencart to display my products. How do I turn of all buy options?

Think I got most of it sorted out Kobra.

As you can see, I am displaying a Neil Diamond Tribute Act on the link below.

Do you know how I could include a 'More Info' link to include extra details about the act and link a music files?

http://binarydiamond.com/zencart/index.php?main_page=product_info&cPath=1&products_id=1

26 Sep 2009, 3:08 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Just want to use Zencart to display my products. How do I turn of all buy options?

Do you know how I could include a 'More Info' link to include extra details about the act and link a music files?
Create your additional info in an ezpage
Code the "more info" link in the product description using normal html href syntax....ezpage link will resemble

index.php?main_page=page&id=5

To remove "contact us" unless there is a switch that I am not aware of....
Edit a copy of includes/templates/template_default/templates/tpl_product_info_display.php
and when done place in your template/templates folder - create if not already there

remove or comment out the cart add block from bof to eof inclusive

<!--bof Add to Cart Box -->
<?php
if (CUSTOMERS_APPROVAL == 3 and TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE_SHOWROOM == '') {
  // do nothing
} else {
?>
            <?php
    $display_qty = (($flag_show_product_info_in_cart_qty == 1 and $_SESSION['cart']->in_cart($_GET['products_id'])) ? '<p>' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '</p>' : '');
            if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) {
              // hide the quantity box and default to 1
              $the_button = '<input type="hidden" name="cart_quantity" value="1" />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
            } else {
              // show the quantity box
    $the_button = PRODUCTS_ORDER_QTY_TEXT . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="4" /><br />' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '<br />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
            }
    $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button);
  ?>
  <?php if ($display_qty != '' or $display_button != '') { ?>
    <div id="cartAdd">
    <?php
      echo $display_qty;
      echo $display_button;
            ?>
          </div>
  <?php } // display qty and button ?>
<?php } // CUSTOMERS_APPROVAL == 3 ?>
<!--eof Add to Cart Box-->

Zen-Venom Get Bitten