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

More
10 years 3 weeks 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
10 years 2 weeks ago - 10 years 2 weeks 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: 10 years 2 weeks 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.239 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info


Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/omegatheme/public_html/modules/mod_custom_advanced/mod_custom_advanced.php on line 13

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/omegatheme/public_html/modules/mod_custom_advanced/mod_custom_advanced.php on line 17

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/omegatheme/public_html/modules/mod_custom_advanced/mod_custom_advanced.php on line 21

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/omegatheme/public_html/modules/mod_custom_advanced/mod_custom_advanced.php on line 25
Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam

Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/omegatheme/public_html/modules/mod_custom_advanced/mod_custom_advanced.php on line 45

Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/omegatheme/public_html/modules/mod_custom_advanced/mod_custom_advanced.php on line 49

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/omegatheme/public_html/modules/mod_custom_advanced/mod_custom_advanced.php on line 53