normal :::: Urgent help please :::: | Button Choose a preset style and Out of Stock |

More
9 years 11 months ago #7541 by Ariel Anaya
How to remove the button Choose a preset style of my site?

Out of Stock How to remove my website?

My Site: www.ballonne.com.ar/web

Solutions to [email protected] please!!! Thanks

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago - 9 years 11 months ago #7545 by Nguyen Mai
Hello,

- Remove button "Choose a preset style": 'Extensions' -> 'Template Manager' -> 'Styles' -> 'OT Malesuada - Default' -> 'Advanced' -> 'Show template control utility at front-end?' : 'No'

- Remove "Out of Stock" in product detail page: find and comment this code (line 202 - 205) in file 'templates/ot_malesuada/html/com_virtuemart/productdetails/default.php'
Code:
<div class="product-in-stock pull-left"> <?php echo $this->product->product_in_stock > 0 ? $this->product->product_in_stock . ($this->product->product_in_stock > 1 ? JText::_('TPL_OT_ITEMS_IN_STOCK') : JText::_('TPL_OT_ITEM_IN_STOCK')) : JText::_('TPL_OT_ITEMS_OUT_STOCK'); ?> </div> <div class="clear"></div>

change to
Code:
<!-- <div class="product-in-stock pull-left"> <?php echo $this->product->product_in_stock > 0 ? $this->product->product_in_stock . ($this->product->product_in_stock > 1 ? JText::_('TPL_OT_ITEMS_IN_STOCK') : JText::_('TPL_OT_ITEM_IN_STOCK')) : JText::_('TPL_OT_ITEMS_OUT_STOCK'); ?> </div> <div class="clear"></div> -->
Last edit: 9 years 11 months ago by Nguyen Mai.
The following user(s) said Thank You: Ariel Anaya

Please Log in or Create an account to join the conversation.

Time to create page: 0.260 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info

Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam