Topic RSS
Market comes pre-installed with both "Buy Now" and "Add to Cart" options & buttons on the product details page. You will want to use one, and disable the other. Here's what they do:
- The "Buy Now" option will transfer the customer immediately to Paypal once clicked.
- The "Add to Cart" option adds the product to the customer's shopping cart, and lets the customer continue shopping for more items.
Which should you use?
Generally, if it's possible your customer may order multiple items, you should use the "Add to Cart" option (and disable the "Buy Now" option).
If you know that your customer will ONLY be buying a single item, then you should use the "Buy Now" option (and disable the "Add to Cart" option).
Here are instructions for disabling the option you don't need. Don't worry, it may LOOK confusing, but just follow the instructions step-by-step and you'll find it's easy.
The first set of instructions is how to disable the "Buy Now", the second is how to disable the "Add to Cart".
(Make sure that you only disable one of the following two — NOT both.)
====================================
How to Disable the "Buy Now" option
====================================
Open the file "single.php" for editing in your Wordpress administration Theme Editor.
Scroll down until you find the code:
<?php /* */ ?>
<!–Start BuyNow Code–>
<form class="lsf" action="https://www.paypal.com/cgi-bin/webscr" method="post">
Change the second line by removing the SECOND asterisk/slash combo "*/". (Make sure you take out the correct one.) Your resulting code should look like:
<?php /* ?>
<!–Start BuyNow Code–>
<form class="lsf" action="https://www.paypal.com/cgi-bin/webscr" method="post">
Now, scroll down a little farther until you see the code:
<?php /* */ ?>
<!–Start Vcart Code–>
<form class="crtAdd rsf" method="post" action="<?php bloginfo('template_directory'); ?>/ajCart/cart.php" >
Change the second line by removing the FIRST slash/asterisk combo "/*". (Again, make sure you take out the correct one.) Your resulting code should look like:
<?php */ ?>
<!–Start Vcart Code–>
<form class="crtAdd rsf" method="post" action="<?php bloginfo('template_directory'); ?>/ajCart/cart.php" >
Now, locate the letters "rsf" in the 4th line as shown above (the line that starts with "<form class="). Delete the 3 letters ("rsf").
Your resulting code should look like:
<?php /* ?>
<!–Start Vcart Code–>
<form class="crtAdd " method="post" action="<?php bloginfo('template_directory'); ?>/ajCart/cart.php" >
Save the file, and that's it! This should prevent the "Buy Now" options and buttons from showing up.
.
====================================
How to Disable the "Add to Cart" option
====================================
Open the file "single.php" for editing in your Wordpress administration Theme Editor.
Scroll down until you find the code:
<?php /* */ ?>
<!–Start Vcart Code–>
<form class="crtAdd rsf" method="post" action="<?php bloginfo('template_directory'); ?>/ajCart/cart.php" >
Change the second line by removing the SECOND asterisk/slash combo "*/". Make sure you take out the correct one.
Your resulting code should look like this:
<?php /* ?>
<!–Start Vcart Code–>
<form class="crtAdd rsf" method="post" action="<?php bloginfo('template_directory'); ?>/ajCart/cart.php" >
Now, scroll down a little farther until you see the next section of code that looks like this:
<?php /* */ ?>
<div style="clear: both"></div>
Change the second line by removing the FIRST slash/asterisk combo "/*". Again, make sure you take out the correct one. Your resulting code should look like:
<?php */ ?>
<div style="clear: both"></div>
Save the file, and that's it! This should prevent the "Add to Cart" options and buttons from showing up.
Most Users Ever Online: 40
Currently Online:
21 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Member Stats:
Guest Posters: 428
Members: 2252
Moderators: 1
Admins: 1
Forum Stats:
Groups: 1
Forums: 4
Topics: 2983
Posts: 16042
Newest Members: Allsed, deleteduser, shanm, slidesketch, jimharrison, vmi
Moderators: Market Admin (5051)
Administrators: Market Admin (5051)

Log In
Register
Home
Offline

