Page 1 of 1

Hide/remove link at checkout

PostPosted: Thu May 21, 2015 12:26 pm
by WEGRIJDEN
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

Re: Hide/remove link at checkout

PostPosted: Mon May 25, 2015 4:42 pm
by admin
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