This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{if $product.eticaret} | |
<button | |
style="background-color: #ff4338; margin-bottom: 10px" | |
onclick="location.href='{$product.eticaret}' " | |
class="btn btn-primary add-to-cart" | |
data-button-action="add-to-cart" | |
type="submit" | |
{if !$product.eticaret} | |
disabled | |
{/if} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* 2007-2019 PrestaShop and Contributors | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Open Software License (OSL 3.0) | |
* that is bundled with this package in the file LICENSE.txt. | |
* It is also available through the world-wide-web at this URL: | |
* https://opensource.org/licenses/OSL-3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Product extends ProductCore | |
{ | |
//TODO: Eklenen alan | |
/** @var int point */ | |
public $eticaret; //burası veritabanındaki sütun adıyla aynı olmalıdır. | |
public function __construct($id_product = null, $full = false, $id_lang = null, $id_shop = null, Context $context = null) | |
{ |