Welcome, Guest
Username: Password: Remember me

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

:::: Urgent help please :::: | Button Choose a preset style and Out of Stock | 2 years 5 months ago #7541

  • nipweb
  • nipweb's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
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 This email address is being protected from spambots. You need JavaScript enabled to view it. please!!! Thanks
The administrator has disabled public write access.

Re: :::: Urgent help please :::: | Button Choose a preset style and Out of Stock | 2 years 4 months ago #7545

  • crystal_moon
  • crystal_moon's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 47
  • Thank you received: 10
  • Karma: 2
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'
<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
<!-- <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: 2 years 4 months ago by crystal_moon.
The administrator has disabled public write access.
The following user(s) said Thank You: nipweb
Time to create page: 0.164 seconds