I had to take some time off this project, but now I am back.
I am working on just displaying the Manufacturer URL in the Order view. I am editing the Order->Show page. I want the product code (and/or product name) to be a link to the manufacturer URL.
This is the section of code I want to change:
<?php if($this->invoice_type=='order' && !empty($product->product_id)){ ?>
<a class="hikashop_order_product_link" href="<?php echo hikashop::completeLink('product&task=show&cid='.$product->product_id.$url); ?>">
<?php } ?>
<p class="hikashop_order_product_name"><?php echo $product->order_product_name; ?></p>
<p class="hikashop_order_product_code"><?php echo $product->order_product_code; ?></p>
<?php if($this->invoice_type=='order' && !empty($product->product_id)){ ?>
</a>
I have tried several different ways of writing the link, but none of them have been successful so I am back to square one. The code for the title link looks like it references the URL, but it doesn't ever go to the manufacturer URL.
Ideally, I would like to just change this section:
href="<?php echo hikashop::completeLink('product&task=show&cid='.$product->product_id.$url); ?>"
to point to the manufacturer URL.