Hide/remove link at checkout

Please post your issues and questions about One Page Checkout for Virtuemart 2 to this forum.

Hide/remove link at checkout

Postby WEGRIJDEN » Thu May 21, 2015 12:26 pm

Hello!

I really want to hide the product link when my visitors want to checkout. The url in my checkout looks like this:

Code: Select all
<div class="op_col2_2"><a href="/[removed]-detail" class="opc_product_name">[removed]</a></div>


I want to remove the link so that the customer only sees the product name in the checkout. How can i do this?

Greetings,

Kris from Holland
WEGRIJDEN
 
Posts: 9
Joined: Sat Feb 15, 2014 2:33 pm

Re: Hide/remove link at checkout

Postby admin » Mon May 25, 2015 4:42 pm

hello Kris,
this can also be customized within the opc's basket theme at:

\components\com_onepage\themes\band_box {OR YOUR OPC THEME PER THE DISPLAY TAB}\overrides\basket.html.php

locate a line which includes the $product['product_name']

for example:
Code: Select all
    <div class="op_col2_2"><?php echo $product['product_name'] . $product['product_attributes'] ?>&nbsp;</div>


and change it to:
Code: Select all
    <div class="op_col2_2"><?php echo $product['info']->product_name . $product['product_attributes'] ?>&nbsp;</div>


as far as this checkbox is not checked (display tab):
Image

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 2

cron