This file contains hidden or 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 | |
// Place in your opencart 2.3.x root directory to create a CSV file to import in a shopify store. Only simple products exported. | |
// Include OpenCart config to get DB + URL constants | |
require_once('config.php'); | |
try { | |
$pdo = new PDO( | |
"mysql:host=" . DB_HOSTNAME . ";dbname=" . DB_DATABASE . ";charset=utf8", |
This file contains hidden or 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 | |
/* | |
... omitted all other functions... | |
*/ | |
/** | |
* Add custom credit card form | |
*/ | |
public function payment_fields() { |