normal Remove Virtuemart "View Details"

More
9 years 11 months ago #7378 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

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
9 years 11 months ago #7382 by Trung Duong
Dear Samantha,

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]

[img]...[/img]

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

More
9 years 11 months ago #7387 by Samantha Prinsloo
Brilliant! that worked! Thank you!
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.

More
9 years 11 months ago - 9 years 11 months ago #7391 by Trung Duong
Hello,

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]

[img]...[/img]
Last edit: 9 years 11 months ago by Trung Duong.

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

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