Find Jobs
Hire Freelancers

VQMOD OPENCART 3 - Extension Port from 1.5 to 3.x modification

€8-30 EUR

Zavřený
Zveřejněno před více než 5 roky

€8-30 EUR

Zaplaceno při doručení
I need to port this extension from 1.5x to 3.x. somebody can help?! <modification> <id>Product sale countdown Timer</id> <version>1.0</version> <vqmver>2.1.7</vqmver> <author>[login to view URL]</author> <file name="catalog/model/catalog/[login to view URL]"> <operation> <search position="before"><![CDATA[ public function getTotalProductSpecials() { ]]></search> <add><![CDATA[ /* Nikita_SP MOD FOR COUNTER */ public function getProductSpecialData($product_id) { if ($this->customer->isLogged()) { $customer_group_id = $this->customer->getCustomerGroupId(); } else { $customer_group_id = $this->config->get('config_customer_group_id'); } $query = $this->db->query("SELECT `price`, `date_end`, `date_start` FROM " . DB_PREFIX . "product_special WHERE product_id = '" . (int)$product_id . "' AND customer_group_id = '" . (int)$customer_group_id . "' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, price ASC LIMIT 1"); if ($query->num_rows) { return $query->row; } else { return FALSE; } } ]]></add> </operation> </file> <file name="catalog/controller/product/[login to view URL]"> <operation> <search position="after"><![CDATA[ $data['special'] = $this->currency->format($this->tax->calculate($product_info['special'], $product_info['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency']); ]]></search> <add><![CDATA[ $special = $this->model_catalog_product->getProductSpecialData($this->request->get['product_id']); if($special['date_end'] && $this->config->get('countdowntimer_product') && time() < strtotime($special['date_end'])){ $this->load->language('module/countdowntimer'); $this->data['special_end'] = $special['date_end']; $this->data['special_start'] = $special['date_start']; }else{ $data['special_end'] = false; } ]]></add> </operation> <operation> <search position="after"><![CDATA[ $data['special'] = false; ]]></search> <add><![CDATA[ $data['special_end'] = false; ]]></add> </operation> </file> <file name="catalog/view/theme/*/template/product/[login to view URL]"> <operation> <search><![CDATA[ <span class="price-old" id="price-old"><?php echo $price; ?></span> ]]></search> <add position="replace"><![CDATA[ <?php if (!$special_end) { ?> <?php } else { ?> <span class="price-old" id="price-old"><?php echo $price; ?></span> <?php if ($price) { ?> <?php if ($special) { if (isset($priceISO) && isset($specialISO)) { $floatPrice = $priceISO; $floatSpecial = $specialISO; } else { $floatPrice = floatval(preg_replace('/[\.\s+]/is','',$price)); $floatSpecial = floatval(preg_replace('/[\.\s]/is','',$special)); } $priceDiff = $floatPrice - $floatSpecial; if ((int)$priceDiff - $priceDiff != 0) { // make it in percent $discount = round((($floatPrice-$floatSpecial)/$floatPrice)*100, 1).'%'; } else { //make it in euros $discount = $priceDiff.'€'; } ?> <span class="container-discoutn-percentage">Desconto: <?php echo $discount; ?> </span> <div class="promo" style="border-top: 1px solid #e6e6e6;font-size: 10px; line-height: 10px;text-transform; font-weight:normal;text-transform:none;padding-top: 30px; margin-top: 30px;"> <span class="label-promo"> * Promoção válida de <span class="data-promo"><?php echo $special_start; ?></span> a <span class="data-promo"><?php echo $special_end; ?></span>. Limitado ao stock existente. </span> </div> <?php } ?> <?php } ?> <?php } ?> ]]></add> </operation> </file> </modification>
IČ projektu: 18320380

O projektu

7 nabídky
Vzdálený projekt
Aktivní před 5 roky

Chcete si vydělat nějaké peníze?

Výhody podávání nabídek na Freelancer

Stanovte si rozpočet a časový rámec
Získejte za svou práci zaplaceno
Načrtněte svůj návrh
Registrace a podávání nabídek je zdarma
7 freelanceři nabízejí v průměru €24 EUR za tuto práci
Avatar uživatele
Hi, I am Opencart expert and I will do this job. I will convert the attached extension to 3.0 using default opencart theme and functions. Please confirm and if you are using custom theme then share website link first. Harsh
€30 EUR v 1 dni
4,9 (639 recenze)
8,3
8,3
Avatar uživatele
Hi, I am interested in your project. I have 5-year experience on Opencart. All my completed projects on freelancer.com are on Opencart. You can check my profile to know clearly about this: https://www.freelancer.com/u/Ginjag.html I understood your requirement. I can start now. Please feel free to contact me and we discuss about your project. Hope to work with you. Thanks LeNam
€29 EUR v 0 dni
4,9 (235 recenze)
7,4
7,4
Avatar uživatele
Hi What a mess... The vqmod version needs fixes too. Like moving php code from tpl to the controller. Anyway, I can code a proper ocmod version.
€20 EUR v 1 dni
5,0 (161 recenze)
6,9
6,9
Avatar uživatele
Hi, I checked the code, can be done and tested on oc3 thanks ..Hi, I checked the code, can be done and tested on oc3 thanks ..
€23 EUR v 1 dni
4,9 (229 recenze)
6,7
6,7
Avatar uživatele
The basic file structure for your module will be divided into two sections, the admin and the catalog folders. The contents of each folder will follow the MVC-L framework respectively, with the difference that the admin will deal solely with backend functionality, and the catalog with frontend functionality. Users of your module will interact and configure its settings in the administration side of the store. Therefore, the files in the admin folder will handle any changes to its settings, the way the module is displayed in the administration, install/uninstalling the module, etc. Likewise, the way the module is displayed and how it works in the front end of the store will be handled by the files in the catalog folder.
€23 EUR v 1 dni
0,0 (0 recenze)
0,0
0,0
Avatar uživatele
Hello, there I hope you doing well, I see you post I want to work for it if you have a good time please discuss with me.
€19 EUR v 2 dnech
0,0 (0 recenze)
0,0
0,0

O klientovi

Pochází z PORTUGAL
Macedo de Cavaleiros, Portugal
5,0
1
Ověřená platební metoda
Členem od dub 8, 2018

Ověření klienta

Díky! Poslali jsme vám e-mailem odkaz pro získání kreditu zdarma.
Při odesílání e-mailu se něco pokazilo. Zkuste to prosím znovu.
Registrovaných uživatelů Zveřejněných projektů
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Načítání náhledu
Bylo uděleno povolení ke geolokaci.
Vaše doba přihlášení vypršela a byli jste odhlášeni. Přihlaste se znovu.