-- HikaShop version -- : 3.0
-- Joomla version -- : 3.6.5
-- PHP version -- : 7
OK this is a very small job.
Please read this thread first:
link to thread
I need help to finish a small code in the product | quantity view file.
I've created a code for a custom buttom called "Gå til forhandler/Go to dealer" that links from the "product/brand url".
I've also added code to the button that hides the standard "add to cart" button when the product "brand url" is filled out. This function works perfect and need to be kept.
So now my code looks like this:
<input type="button" onclick="window.location='<?php echo $this->row->product_url; ?>'; return false;" value="Gå til forhandler!>"/><br/>
<?php if(!empty($this->element->product_url)) return; ?>
<?php
/**
* @package HikaShop for Joomla!
* @version 3.0.0
* @author hikashop.com
* @copyright (C) 2010-2017 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
Now I need help with one last function:
I need to write a code that hides my custom button "Gå til forhandler/Go to dealer" when the "Brand URL" of the product is
NOT filled.
I can pay 25 Euro is someone can help me finnish the code.
You must accept paypal.
Send me a PM here on hikashop if you can help.
Tnx