Market lets you sell products online using the Wordpress platform.

You must be logged in to post Login

Search Forums:


 






Remove "Add to Cart" links & how to change for Version 3.51

UserPost

11:58 am
June 24, 2009


rookie

Member

posts 3

I have looked on the forum but instructions dont match with code for the latest version 3.51 that I just downloaded and installed.

I need to remove
1. Add to cart button on bottom
2. View Shopping cart on top
3. Have items in your cart (view it now to checkout) at bottom.

4. And lets say When I add a product and don't provide cost, product shows up as Sold. Is there any way that I don't have to provide cost but it won't say SOLD Out either.

I really appreciate all the help with this.


1:36 pm
June 24, 2009


Market Admin

Admin

posts 2765

Answers...

1.  Edit "single.php".  On or around line # 214, replace:

      <input type="image" src="<?php bloginfo('template_directory'); ?>/imgs/atc.gif" border="0" name="submit"  alt="<?php echo mkt_THEME_SINGLE_BUTTON_ADDTOCART; ?>">

with

<!--
      <input type="image" src="<?php bloginfo('template_directory'); ?>/imgs/atc.gif" border="0" name="submit"  alt="<?php echo mkt_THEME_SINGLE_BUTTON_ADDTOCART; ?>">
-->


2.  Edit "header.php".  Replace:

     <div class="sdl viewcarttop"><a href="<?php market_shopcart_link('thickbox'); ?>"><img src="<?php bloginfo('template_directory'); ?>/imgs/cart.gif"><?php echo mkt_THEME_HEADER_VIEW_SHOP_CART; ?></a>
    </div>

with

<!--
     <div class="sdl viewcarttop"><a href="<?php market_shopcart_link('thickbox'); ?>"><img src="<?php bloginfo('template_directory'); ?>/imgs/cart.gif"><?php echo mkt_THEME_HEADER_VIEW_SHOP_CART; ?></a>
    </div>
-->

3.  Edit "footer.php". Replace:

  <div class="col2">
    <p><?php echo mkt_THEME_FOOTER_SHOP_CART_TEXT; ?><br />
      <img src="<?php bloginfo('template_directory'); ?>/imgs/calc.png"> <a href="<?php market_shopcart_link('thickbox'); ?>"><?php echo mkt_THEME_FOOTER_VIEW_SHOP_CART; ?></a></p>
  </div>

with

<!--
  <div class="col2">
    <p><?php echo mkt_THEME_FOOTER_SHOP_CART_TEXT; ?><br />
      <img src="<?php bloginfo('template_directory'); ?>/imgs/calc.png"> <a href="<?php market_shopcart_link('thickbox'); ?>"><?php echo mkt_THEME_FOOTER_VIEW_SHOP_CART; ?></a></p>
  </div>
-->

4.  Edit "mkt_language.php".  Replace:

define('mkt_THEME_TEMPLATE_FRONTDOOR_SOLDOUT', 'Sold Out');

with

define('mkt_THEME_TEMPLATE_FRONTDOOR_SOLDOUT', '');

AND

define('mkt_THEME_SINGLE_SOLDOUT', 'Sold Out');

with

define('mkt_THEME_SINGLE_SOLDOUT', '');

You can actually enter anything you want between the second set of single quotes.

2:38 pm
June 24, 2009


rookie

Member

posts 3

AWESOME customer support. Thank you.

2:49 pm
June 24, 2009


rookie

Member

posts 3

Just one more thing. There is still a link to view cart in the top navigation menu (next to home and about tabs).

How would I get rid of that?

12:44 pm
June 25, 2009


Market Admin

Admin

posts 2765

Open the "header.php" file for editing.

Locate the code:

   <!-- The following line adds a "View Cart" link to the navigation menu. You may remove it if you don't want it shown -->
      <li><a href="<?php market_shopcart_link('thickbox'); ?>"><?php echo mkt_THEME_HEADER_NAV_VIEWCART; ?></a></li>
      <!-- End of "View Cart" menu option-->

Change it to:

   <!-- The following line adds a "View Cart" link to the navigation menu. You may remove it if you don't want it shown -->
<!--
      <li><a href="<?php market_shopcart_link('thickbox'); ?>"><?php echo mkt_THEME_HEADER_NAV_VIEWCART; ?></a></li>
-->
      <!-- End of "View Cart" menu option-->

Save the file.