{% set foo = 'bar' %}
Read more here
https://twig.sensiolabs.org/doc/2.x/tags/set.html
All mods | OpenCart Bulk Related Products Ultimate Edition |GeoIP hide Prices / no add to cart by country| CSS override | Direct link to checkout / skip add to cart / buy now link | AUTO pilot - reward & purchase points
https://www.opencartitalia.org
Consulenza,Sviluppo Extension per: Opencart,Magento,Prestahop,Wordpress,Ocart,Zencart,Joomla,Multimerch e SEO Specialist Certified
Info e Contatti
Thanks a lot of useful informationgogoweb wrote: ↑Wed Jun 21, 2017 9:37 pmTry something like this
{% set foo = 'bar' %}
Read more here
https://twig.sensiolabs.org/doc/2.x/tags/set.html
I'm trying to load the exsample.html file from a folder catalog/view/theme
In the file: catalog/view/theme/*/template/common/header.twig
{{ include( '../../../exsample.html') }}
I can not
The goal is to be independent of the theme.
Maybe elsewhere to be
So he can work on all the theme
https://twig.sensiolabs.org/doc/2.x/tags/include.html
Better Together: Buy one product, get another at a discount.
Discount Chooser: Buy a group of products, get another group at a discount.
Better Together: Buy one product, get another at a discount.
Discount Chooser: Buy a group of products, get another group at a discount.
The bug I've found so far: USPS is not working in 3.0.0.0. The fix is as follows:
Code: Select all
IN:
/catalog/model/extension/shipping/usps.php
REPLACE ALL INSTANCES OF:
$this->config->get('usps_
WITH:
$this->config->get('shipping_usps_
Remove it
public function getExtensionPathsByExtensionInstallId($extension_install_id) {
$query = $this->db->query("SELECT * FROM `" . DB_PREFIX . "extension_path` WHERE `extension_install_id` = '" . (int)$extension_install_id . "' ORDER BY `date_added` ASC");
return $query->rows;
}
}nstall_id . "' ORDER BY `date_added` ASC");
return $query->rows;
}
}
✯ Professional OpenCart Support [UK-based] ✯
https://opencart.tips ✯ https://opencart.com.pl ✯ https://facebook.com/opencarttips ✯ Live-chat: http://pixly.me/livechat
Better Together: Buy one product, get another at a discount.
Discount Chooser: Buy a group of products, get another group at a discount.
Code: Select all
./controller/marketplace/openbay.php: $this->response->redirect($this->url->link('extension/openbay/orderList', 'token=' . $this->session->data['token'], true));
./controller/marketplace/openbay.php: $this->response->redirect($this->url->link('extension/openbay/orderList', 'token=' . $this->session->data['token'], true));
./controller/extension/openbay/amazonus.php: $this->response->redirect($this->url->link('extension/openbay/amazonus/bulklinking', 'token=' . $this->session->data['token'], true));
./controller/extension/openbay/amazon.php: $this->response->redirect($this->url->link('extension/openbay/amazon/bulklinking', 'marketplace=' . $marketplace_code . '&token=' . $this->session->data['token'], true));
Better Together: Buy one product, get another at a discount.
Discount Chooser: Buy a group of products, get another group at a discount.
That's what I use but it does not work.swguy wrote: ↑Thu Jun 22, 2017 12:20 am@slavib note that twig does offer an include directive:
https://twig.sensiolabs.org/doc/2.x/tags/include.html
{{ include('../example.html') }}
Gets the following error
Fatal error: Uncaught Twig_Error_Loader: Looks like you try to load a template outside configured directories (../example.html) in "default/template/common/header.twig" at line 40. in
yes, sure I'm blind and I'm not opencart dev.
✯ Professional OpenCart Support [UK-based] ✯
https://opencart.tips ✯ https://opencart.com.pl ✯ https://facebook.com/opencarttips ✯ Live-chat: http://pixly.me/livechat
Running Opencart v3.0.3.2 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
I haven't added customers or sales yet to test those filters, but I am assuming it also wouldn't work on partials?
Running Opencart v3.0.3.2 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
https://www.opencartitalia.org
Consulenza,Sviluppo Extension per: Opencart,Magento,Prestahop,Wordpress,Ocart,Zencart,Joomla,Multimerch e SEO Specialist Certified
Info e Contatti
We wrote a article about the new version in Dutch is somebody is interested: https://www.comercia.nl/opencart-3-0
Also, I am not seeing any way to filter by version in the marketplace section in admin - am I missing something?
Running Opencart v3.0.3.2 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
✯ Professional OpenCart Support [UK-based] ✯
https://opencart.tips ✯ https://opencart.com.pl ✯ https://facebook.com/opencarttips ✯ Live-chat: http://pixly.me/livechat
Users browsing this forum: No registered users and 177 guests