normal can't disable stock level

More
10 years 10 months ago #4548 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


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.

More

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
10 years 10 months ago #4555 by Trung Duong
Hello,

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]

[img]...[/img]

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

More
10 years 10 months ago #4557 by chinnawat dumput
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?


Attachment stock2.png not found



Attachment stock3.png not found

Attachments:

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

More
10 years 10 months ago #4568 by Trung Duong
Hello,

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]

[img]...[/img]

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

More
10 years 10 months ago #4569 by chinnawat dumput
sorry, i doesn't work. please help.

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

More
10 years 10 months ago #4583 by Trung Duong
Send me ftp account plz, so i can edit that file.

Regards

Support email: services(at)omegatheme(dot)com


Follow Us to keep updated!

[img


[img


[img]...[/img]

[img]...[/img]

[img]...[/img]

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

Time to create page: 0.312 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