Hi there.
Is there a way to make opencart as a 'showroom' not as a store... So it only needs a display etc but no check out or payment or shipping etc needed, visitor only needs to see the stuff and information.. Is it possible in opencart 1.4.7? thanks for the response..
ps. if you want to see my website it's in www.litama.com I intend to make a property/land showroom. It's almost imposible to make an online selling( especially payment with credit card or even paypal..), It needs only display and information
Is there a way to make opencart as a 'showroom' not as a store... So it only needs a display etc but no check out or payment or shipping etc needed, visitor only needs to see the stuff and information.. Is it possible in opencart 1.4.7? thanks for the response..
ps. if you want to see my website it's in www.litama.com I intend to make a property/land showroom. It's almost imposible to make an online selling( especially payment with credit card or even paypal..), It needs only display and information
I am novice but what i think is just remove some code from the product page and shopping cart modules.
Thanking You
Thanking You
Rupak Nepali
http://nepalrupak.blogspot.com
http://rupaknpl.blogspot.com
Things to be do:
Go to admin page Extensions>>Modules>>Cilck the Edit of the "Cart " and make it disable. so that the right column will not show the shopping cart.
Remove the following line
"
<a onclick="$('#product').submit();" id="add_to_cart" class="button"><span><?php echo $button_add_to_cart; ?></span></a>
"
from the product detail page.
Product detail page is at
catalog/view/theme/default/template/product/product.tpl
Hope it will work
Go to admin page Extensions>>Modules>>Cilck the Edit of the "Cart " and make it disable. so that the right column will not show the shopping cart.
Remove the following line
"
<a onclick="$('#product').submit();" id="add_to_cart" class="button"><span><?php echo $button_add_to_cart; ?></span></a>
"
from the product detail page.
Product detail page is at
catalog/view/theme/default/template/product/product.tpl
Hope it will work
Rupak Nepali
http://nepalrupak.blogspot.com
http://rupaknpl.blogspot.com
rupaknpl wrote:Things to be do:
Go to admin page Extensions>>Modules>>Cilck the Edit of the "Cart " and make it disable. so that the right column will not show the shopping cart.
Remove the following line
"
<a onclick="$('#product').submit();" id="add_to_cart" class="button"><span><?php echo $button_add_to_cart; ?></span></a>
"
from the product detail page.
Product detail page is at
catalog/view/theme/default/template/product/product.tpl
Hope it will work
thanks for the advice.. I'll give the report once I do it...
You just remove the form in the Product detail page:
catalog/view/theme/default/template/product/product.tpl
or remove the following code
<?php if ($display_price) { ?>
<form action="<?php echo str_replace('&', '&', $action); ?>" method="post" enctype="multipart/form-data" id="product">
<?php if ($options) { ?>
<b><?php echo $text_options; ?></b><br />
<div style="background: #FFFFCC; border: 1px solid #FFCC33; padding: 10px; margin-top: 2px; margin-bottom: 15px;">
<table style="width: 100%;">
<?php foreach ($options as $option) { ?>
<tr>
<td><?php echo $option['name']; ?>:<br />
<select name="option[<?php echo $option['option_id']; ?>]">
<?php foreach ($option['option_value'] as $option_value) { ?>
<option value="<?php echo $option_value['option_value_id']; ?>"><?php echo $option_value['name']; ?>
<?php if ($option_value['price']) { ?>
<?php echo $option_value['prefix']; ?><?php echo $option_value['price']; ?>
<?php } ?>
</option>
<?php } ?>
</select></td>
</tr>
<?php } ?>
</table>
</div>
<?php } ?>
<?php if ($display_price) { ?>
<?php if ($discounts) { ?>
<b><?php echo $text_discount; ?></b><br />
<div style="background: #F7F7F7; border: 1px solid #DDDDDD; padding: 10px; margin-top: 2px; margin-bottom: 15px;">
<table style="width: 100%;">
<tr>
<td style="text-align: right;"><b><?php echo $text_order_quantity; ?></b></td>
<td style="text-align: right;"><b><?php echo $text_price_per_item; ?></b></td>
</tr>
<?php foreach ($discounts as $discount) { ?>
<tr>
<td style="text-align: right;"><?php echo $discount['quantity']; ?></td>
<td style="text-align: right;"><?php echo $discount['price']; ?></td>
</tr>
<?php } ?>
</table>
</div>
<?php } ?>
<?php } ?>
<div class="content">
<?php echo $text_qty; ?>
<input type="text" name="quantity" size="3" value="<?php echo $minimum; ?>" />
<a onclick="$('#product').submit();" id="add_to_cart" class="button"><span><?php echo $button_add_to_cart; ?></span></a>
<?php if ($minimum > 1) { ?><br/><small><?php echo $text_minimum; ?></small><?php } ?>
</div>
<div>
<input type="hidden" name="product_id" value="<?php echo $product_id; ?>" />
<input type="hidden" name="redirect" value="<?php echo str_replace('&', '&', $redirect); ?>" />
</div>
</form>
<?php } ?>
catalog/view/theme/default/template/product/product.tpl
or remove the following code
<?php if ($display_price) { ?>
<form action="<?php echo str_replace('&', '&', $action); ?>" method="post" enctype="multipart/form-data" id="product">
<?php if ($options) { ?>
<b><?php echo $text_options; ?></b><br />
<div style="background: #FFFFCC; border: 1px solid #FFCC33; padding: 10px; margin-top: 2px; margin-bottom: 15px;">
<table style="width: 100%;">
<?php foreach ($options as $option) { ?>
<tr>
<td><?php echo $option['name']; ?>:<br />
<select name="option[<?php echo $option['option_id']; ?>]">
<?php foreach ($option['option_value'] as $option_value) { ?>
<option value="<?php echo $option_value['option_value_id']; ?>"><?php echo $option_value['name']; ?>
<?php if ($option_value['price']) { ?>
<?php echo $option_value['prefix']; ?><?php echo $option_value['price']; ?>
<?php } ?>
</option>
<?php } ?>
</select></td>
</tr>
<?php } ?>
</table>
</div>
<?php } ?>
<?php if ($display_price) { ?>
<?php if ($discounts) { ?>
<b><?php echo $text_discount; ?></b><br />
<div style="background: #F7F7F7; border: 1px solid #DDDDDD; padding: 10px; margin-top: 2px; margin-bottom: 15px;">
<table style="width: 100%;">
<tr>
<td style="text-align: right;"><b><?php echo $text_order_quantity; ?></b></td>
<td style="text-align: right;"><b><?php echo $text_price_per_item; ?></b></td>
</tr>
<?php foreach ($discounts as $discount) { ?>
<tr>
<td style="text-align: right;"><?php echo $discount['quantity']; ?></td>
<td style="text-align: right;"><?php echo $discount['price']; ?></td>
</tr>
<?php } ?>
</table>
</div>
<?php } ?>
<?php } ?>
<div class="content">
<?php echo $text_qty; ?>
<input type="text" name="quantity" size="3" value="<?php echo $minimum; ?>" />
<a onclick="$('#product').submit();" id="add_to_cart" class="button"><span><?php echo $button_add_to_cart; ?></span></a>
<?php if ($minimum > 1) { ?><br/><small><?php echo $text_minimum; ?></small><?php } ?>
</div>
<div>
<input type="hidden" name="product_id" value="<?php echo $product_id; ?>" />
<input type="hidden" name="redirect" value="<?php echo str_replace('&', '&', $redirect); ?>" />
</div>
</form>
<?php } ?>
Rupak Nepali
http://nepalrupak.blogspot.com
http://rupaknpl.blogspot.com
^^^^
done it and works well.. I'll make the glossary of these thread so people can read easier and apply the suggestion you gave me... hope it works to for them...
ps. if you have time could you please spare your time to see my website at www.litama.com and I hoping your valueable comments. thanks in advance, It''s very generous of you..
done it and works well.. I'll make the glossary of these thread so people can read easier and apply the suggestion you gave me... hope it works to for them...
ps. if you have time could you please spare your time to see my website at www.litama.com and I hoping your valueable comments. thanks in advance, It''s very generous of you..
The summary to delete the 'cart' function, so your website will be function as a showroom only. view the sample website at www.litama.com. great thanks for rupaknpl for all suggestion.
1. Go to admin page Extensions>>Modules>>Cilck the Edit of the "Cart " and make it disable. so that the right column will not show the shopping cart.
2. Go to : catalog/view/theme/default/template/product/product.tpl
Remove the following line
3. Delete the QTY box
go to : catalog/view/theme/default/template/product/product.tpl
and delete the following code:
works like a charm on my opencart 1.4.7 hope this helps you guys who need opencart as a showroom
1. Go to admin page Extensions>>Modules>>Cilck the Edit of the "Cart " and make it disable. so that the right column will not show the shopping cart.
2. Go to : catalog/view/theme/default/template/product/product.tpl
Remove the following line
Code: Select all
<a onclick="$('#product').submit();" id="add_to_cart" class="button"><span><?php echo $button_add_to_cart; ?></span></a>
go to : catalog/view/theme/default/template/product/product.tpl
and delete the following code:
Code: Select all
<?php if ($display_price) { ?>
<form action="<?php echo str_replace('&', '&', $action); ?>" method="post" enctype="multipart/form-data" id="product">
<?php if ($options) { ?>
<b><?php echo $text_options; ?></b><br />
<div style="background: #FFFFCC; border: 1px solid #FFCC33; padding: 10px; margin-top: 2px; margin-bottom: 15px;">
<table style="width: 100%;">
<?php foreach ($options as $option) { ?>
<tr>
<td><?php echo $option['name']; ?>:<br />
<select name="option[<?php echo $option['option_id']; ?>]">
<?php foreach ($option['option_value'] as $option_value) { ?>
<option value="<?php echo $option_value['option_value_id']; ?>"><?php echo $option_value['name']; ?>
<?php if ($option_value['price']) { ?>
<?php echo $option_value['prefix']; ?><?php echo $option_value['price']; ?>
<?php } ?>
</option>
<?php } ?>
</select></td>
</tr>
<?php } ?>
</table>
</div>
<?php } ?>
<?php if ($display_price) { ?>
<?php if ($discounts) { ?>
<b><?php echo $text_discount; ?></b><br />
<div style="background: #F7F7F7; border: 1px solid #DDDDDD; padding: 10px; margin-top: 2px; margin-bottom: 15px;">
<table style="width: 100%;">
<tr>
<td style="text-align: right;"><b><?php echo $text_order_quantity; ?></b></td>
<td style="text-align: right;"><b><?php echo $text_price_per_item; ?></b></td>
</tr>
<?php foreach ($discounts as $discount) { ?>
<tr>
<td style="text-align: right;"><?php echo $discount['quantity']; ?></td>
<td style="text-align: right;"><?php echo $discount['price']; ?></td>
</tr>
<?php } ?>
</table>
</div>
<?php } ?>
<?php } ?>
<div class="content">
<?php echo $text_qty; ?>
<input type="text" name="quantity" size="3" value="<?php echo $minimum; ?>" />
<a onclick="$('#product').submit();" id="add_to_cart" class="button"><span><?php echo $button_add_to_cart; ?></span></a>
<?php if ($minimum > 1) { ?><br/><small><?php echo $text_minimum; ?></small><?php } ?>
</div>
<div>
<input type="hidden" name="product_id" value="<?php echo $product_id; ?>" />
<input type="hidden" name="redirect" value="<?php echo str_replace('&', '&', $redirect); ?>" />
</div>
</form>
<?php } ?>
works like a charm on my opencart 1.4.7 hope this helps you guys who need opencart as a showroom
Who is online
Users browsing this forum: Amazon [Bot] and 40 guests