- Posts: 6
- Thank you received: 0
can't disable stock level
- chinnawat dumput
-
Topic Author
- Offline
- Fresh Boarder
-
Less
More
12 years 2 weeks ago #4548
by chinnawat dumput
can't disable stock level was created by chinnawat dumput
can't disable stock level in product detail page.
Hello,
i can't disable to hide the stock level in product detail page. please advise. here's my test site.
http://xn--42cg3b4cva8a4a7b0e0d.net/2013/shop-store/%E0%B9%80%E0%B8%84%E0%B8%A3%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%87%E0%B8%A7%E0%B8%B1%E0%B8%94%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%AB%E0%B8%A7%E0%B8%B2%E0%B8%99/%E0%B9%80%E0%B8%84%E0%B8%A3%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%87%E0%B8%A7%E0%B8%B1%E0%B8%94%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%AB%E0%B8%A7%E0%B8%B2%E0%B8%99-rhb-18atc-detail.html
i saw in the virtuemart forum. i seems i need your support. Right?
forum.virtuemart.net/index.php?topic=102934.0
Hello,
i can't disable to hide the stock level in product detail page. please advise. here's my test site.
http://xn--42cg3b4cva8a4a7b0e0d.net/2013/shop-store/%E0%B9%80%E0%B8%84%E0%B8%A3%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%87%E0%B8%A7%E0%B8%B1%E0%B8%94%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%AB%E0%B8%A7%E0%B8%B2%E0%B8%99/%E0%B9%80%E0%B8%84%E0%B8%A3%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%87%E0%B8%A7%E0%B8%B1%E0%B8%94%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%AB%E0%B8%A7%E0%B8%B2%E0%B8%99-rhb-18atc-detail.html
Attachment stock.png not found
i saw in the virtuemart forum. i seems i need your support. Right?
forum.virtuemart.net/index.php?topic=102934.0
Attachments:
Please Log in or Create an account to join the conversation.
- Trung Duong
-
- Offline
- Administrator
-
Less
More
- Posts: 2284
- Thank you received: 998
Notice: Undefined variable: end_tag_params in /ssd/home/omega_web/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
Notice: Undefined variable: end_tag_params in /ssd/home/omega_web/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
Notice: Undefined variable: end_tag_params in /ssd/home/omega_web/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
12 years 2 weeks ago #4555 by Trung Duong
Replied by Trung Duong on topic Re: can't disable stock level
Hello,
You should edit default.php file in folder templates\ot_caraccessories\html\com_virtuemart\productdetails and remove this code below:
You should edit default.php file in folder templates\ot_caraccessories\html\com_virtuemart\productdetails and remove this code below:
Code:
<div class="product-in-stock">
<?php echo $this->product->product_in_stock . JText::_('TPL_OT_ITEM_IN_STOCK'); ?>
</div>
Support email: services(at)omegatheme(dot)com
Follow Us to keep updated!


[img]...[/img]
[img]...[/img]
[img]...[/img]
Please Log in or Create an account to join the conversation.
- chinnawat dumput
-
Topic Author
- Offline
- Fresh Boarder
-
Less
More
- Posts: 6
- Thank you received: 0
12 years 2 weeks ago #4557
by chinnawat dumput
Replied by chinnawat dumput on topic Re: can't disable stock level
thanks for prompt support. it works now.
however, i have other questions. i enable "call for price , when the price is empty". it works on "category browse page",but it doesn't work "on product detail page". it can buy the product with empty price. Could you help?
however, i have other questions. i enable "call for price , when the price is empty". it works on "category browse page",but it doesn't work "on product detail page". it can buy the product with empty price. Could you help?
Attachment stock2.png not found
Attachment stock3.png not found
Attachments:
Please Log in or Create an account to join the conversation.
- Trung Duong
-
- Offline
- Administrator
-
Less
More
- Posts: 2284
- Thank you received: 998
12 years 2 weeks ago #4568
by Trung Duong
Support email: services(at)omegatheme(dot)com
Follow Us to keep updated!
[img]...[/img]
[img]...[/img]
[img]...[/img]
Replied by Trung Duong on topic Re: can't disable stock level
Hello,
You should find and edit code as below:
Regards
You should find and edit code as below:
Code:
<?php // Product Price
if ($this->show_prices and (empty($this->product->images[0]) or $this->product->images[0]->file_is_downloadable == 0)) { ?>
<?php echo $this->loadTemplate('showprices');?>
<?php } else echo JText::_ ('COM_VIRTUEMART_PRODUCT_ASKPRICE');?>
Regards
Support email: services(at)omegatheme(dot)com
Follow Us to keep updated!


[img]...[/img]
[img]...[/img]
[img]...[/img]
Please Log in or Create an account to join the conversation.
- chinnawat dumput
-
Topic Author
- Offline
- Fresh Boarder
-
Less
More
- Posts: 6
- Thank you received: 0
12 years 2 weeks ago #4569
by chinnawat dumput
Replied by chinnawat dumput on topic Re: can't disable stock level
sorry, i doesn't work. please help.
Please Log in or Create an account to join the conversation.
- Trung Duong
-
- Offline
- Administrator
-
Less
More
- Posts: 2284
- Thank you received: 998
12 years 1 week ago #4583
by Trung Duong
Support email: services(at)omegatheme(dot)com
Follow Us to keep updated!
[img]...[/img]
[img]...[/img]
[img]...[/img]
Replied by Trung Duong on topic Re: can't disable stock level
Send me ftp account plz, so i can edit that file.
Regards
Regards
Support email: services(at)omegatheme(dot)com
Follow Us to keep updated!


[img]...[/img]
[img]...[/img]
[img]...[/img]
Please Log in or Create an account to join the conversation.
Time to create page: 0.202 seconds