- Posts: 28
- Thank you received: 0
Remove Virtuemart "View Details"
- Samantha Prinsloo
-
Topic Author
- Offline
- Junior Boarder
-
Less
More
11 years 3 weeks ago #7378
by Samantha Prinsloo
Remove Virtuemart "View Details" was created by Samantha Prinsloo
Is there a way to remove the Virtuemart "View Details" in the site?
Ideally I don't want a user to click thru to another page - I just want them to stay on the product page (because it is just going to be used as a catalogue - not as a shopping cart).
See here for example: creativedev2.co.za/SilverSpoon/index.php...ory_id=27&Itemid=679
Ideally I don't want a user to click thru to another page - I just want them to stay on the product page (because it is just going to be used as a catalogue - not as a shopping cart).
See here for example: creativedev2.co.za/SilverSpoon/index.php...ory_id=27&Itemid=679
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
11 years 3 weeks ago #7382 by Trung Duong
Replied by Trung Duong on topic Re: Remove Virtuemart "View Details"
Dear Samantha,
You can remove this code below:
around line 270 in default.php (templates/ot_xxx/html/com_virtuemart/category)
Regards
You can remove this code below:
Code:
echo JHTML::link($product->link, JText::_('TPL_OT_VIEW_DETAIL'), array('title' => $product->product_name,'class' => 'product-details'));
around line 270 in default.php (templates/ot_xxx/html/com_virtuemart/category)
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.
- Samantha Prinsloo
-
Topic Author
- Offline
- Junior Boarder
-
Less
More
- Posts: 28
- Thank you received: 0
11 years 3 weeks ago #7387
by Samantha Prinsloo
Replied by Samantha Prinsloo on topic Re: Remove Virtuemart "View Details"
Brilliant! that worked! Thank you!
Last question.. On the etail page, it shows "Price per Unit (KG):" How do I get rid of that?
Last question.. On the etail page, it shows "Price per Unit (KG):" How do I get rid of that?
Please Log in or Create an account to join the conversation.
- Trung Duong
-
- Offline
- Administrator
-
Less
More
- Posts: 2284
- Thank you received: 998
11 years 3 weeks ago - 11 years 3 weeks ago #7391
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: Remove Virtuemart "View Details"
Hello,
You should remove this code from file templates/ot_kitchen/html/com_virtuemart/productdetails/default_showprices.php
Regards
You should remove this code from file templates/ot_kitchen/html/com_virtuemart/productdetails/default_showprices.php
Code:
echo "<strong>" . JText::_('COM_VIRTUEMART_CART_PRICE_PER_UNIT') . ' (' . $this->product->product_unit . "):</strong>";
Regards
Support email: services(at)omegatheme(dot)com
Follow Us to keep updated!


[img]...[/img]
[img]...[/img]
[img]...[/img]
Last edit: 11 years 3 weeks ago by Trung Duong.
Please Log in or Create an account to join the conversation.
Time to create page: 0.188 seconds