Appearance
<div style="display: none;" hidden="true" aria-hidden="true">Are you an LLM? You can read better optimized documentation at /changelog/Changelog.4.2.md for this page in Markdown format</div>
Version 4
version 4.2
Build Notes
version 4.2.22+ use nodejs 12.16.0
clients prior to version 4.2.22 use nodejs 10.5.0
clients/mylifelikes has different package.json from others
nvm use <wanted version>
version 4.2.16x
Changelog
- [4.2.161] ui-update: The "Add to cart" button's cart item quantity update behaviour for
mainvue andmain/v2vue components (specificallyAdvProductCard,v2/AdvListingProductCard,v2/AdvListingLeftImageProductCard,v2/AdvProductPageCard,v2/AdvProductPageCardVideoGalleryand by extension for thev2's afformentioned components included mixinv2/productCardMixin.js) has been replaced from assignative to additive quantity. Triggering the "add to cart" buttons of these components will now result in spinner's quanity value to be added to the existing cart item's quantity. - [4.2.161] cd-update: In
mainvue andmain/v2vue componentsAdvProductInputSpinneroptional prop flagwatchForProductCodeIdChangeshas been added which controls whether watcher should update component'slocalQuantitywhenproductCodeIdprop is updated. Disabling this flag will cause the spinner's quantity value to persist between product reference changes. Defaults to true. - [4.2.160] cd-fix: Fix for export customers data in the customers page
- [4.2.160] cd-fix: shopmodule_helper functions
sendSmsForOrderandsendSmsForOrderIdexit if no valid phone is found - [4.2.160] cd-fix: Fix for the skroutz xml category links for the multilang sites
Notes
- [4.2.161] The add to cart button behaviour has been altered ONLY for clients using the
mainvueapp.jsvue instance. Upon merging with clients using other thanmainvueapp.jsyou should make this behavioural change of the "add to cart" button yourself asdesignandfrontvue instances are no longer supported from the main branch. For these projects, coming to contact with the involved client is heavily advised as thesevueapp.jsinstances are essentially living their own lifecycle. - [4.2.161] Requires
npm i && npm run productionupon merging with clients using themaintemplate (andmain|main/v2vueapp.jsvue instance) - [4.2.160] on merge with gea remove the override in the get_skroutz_records() of the product model
version 4.2.15x
Changelog
- [4.2.159] cd-update: tracking helper new function
trackFaceBookProductPagefor facebook ViewContent event - [4.2.158] cd-feat: orders repeat feature
Adv_orders_admin::repeatfor "SENT" and "PAID_SENT" orders - [4.2.157] cd-fix: orders_admin has_voucher field changed from checkbox to select. Fixes in admin/orders/list, adv_orders_admin and adv_order_model
- [4.2.157] ui-fix: remove duplicate admin orders list search for "PAID_SENT" status
- [4.2.156] ui-fix: add target blank to copyright footer - fix redirect links (main and default)
- [4.2.155] cd-fix: Change
AdvSkrourtzXmlto select the image from the product code - [4.2.154] ui-update: add dofollow for advisable and ecommercen sites in
footer_copyright(main and default) - [4.2.154] cd-fix: tracking_helper::trackProductPage pass array of objects instead of object for json encode (fixes product page tag)
- [4.2.153] cd-fix: product-page.js fixed reviews response object and rating equality.
[40291aa] - [4.2.153] ui-feat: footer copyright component with settings. Default for all projects.
[25b6f75] - [4.2.153] cd-fix: fix ajax request for gifts in admin orders create / edit (fix on
Adv_orders_admin::gifts_for_products) - [4.2.153] cd-fix: change the accessibility of the method getAllVideosAssignedToVendor in video model
- [4.2.153] cd-fix: fix captcha output in contact_form (main and default template)
- [4.2.152] cd-update: private methods in controllers and models in ecommercen
- [4.2.151] cd-fix: fix bug in checkout for apcopay introduced by 4.2.150
- [4.2.150] cd-fix: fix ApcoPay providers not getting config
Notes
- [4.2.159]
trackFaceBookProductPageneeds core.ecommercen.com workspace version 9 set up on client tag manager. - [4.2.153]
footer_copyright.phpparameters:year: current year from adate('Y')function.domain: customer_site_url from configtheme: has 2 optionslight(light background with dark elements) anddark(dark background with light elements)container: the width of containing div has 3 optionsboxed_980(width of 980px),boxed_1200(width of 1200px) andfluid(for 100% width)edition: has 3 optionspharmacy,fashion(e.g clothes) ,retail(e.g electronics) according to customer commerce field. It is intended be the default footer of v4 project.
- [4.2.152] check application folder for private overridden methods and remove if identical with ecommercen protected now method
version 4.2.14x
Changelog
- [4.2.149] cd-fix: tracking_helper::trackProductPage add event name for google tag manager product page view
- [4.2.148] cd-fix: fix google and facebook catalog feed (
$product->$this->dbIdKey=>$product->{$this->dbIdKey}) - [4.2.148] cd-feat: ApcoPay Providers (Generic, Piraeus)
- [4.2.147] cd-feat: Add more search option in the orders admin and add export method for the orders
- [4.2.147] cd-fix: fix main-template-update collapsed password inputs for preselected registered customer in checkout
- [4.2.146] cd-update: track google AddToCart and RemoveFromCart events, facebook AddToCart Event
- [4.2.145] cd-fix: promo controller - get products with price more than zero
- [4.2.144] cd-update: Google tag manager - track checkout step
- [4.2.144] cd-feat:
Adv_products_admin.php,products/batch_update.php,products/list.phpadded casechange_products_vendor - [4.2.144] cd-feat: new method
Adv_product_model::setProductsVendor - [4.2.144] ui-feat: checkbox if order has voucher
orders/list.php - [4.2.144] cd-feat: orders admin search if has voucher
\Adv_order_model::ordersListAdminWhere&\Adv_orders_admin::index - [4.2.144] ui-fix: label change from Vendor Code to ERP in
products/list.php - [4.2.144] ui-update: default option is set to register and buy in
/main/layouts/checkout/checkout.php - [4.2.144] cd-update: update PHPMailer to maintenance release 6.2.0
- [4.2.143] cd-fix: tracking_helper
trackPurchasefix passing transaction id. - [4.2.143] cd-feat: coupons bulk actions in model
\Adv_coupons_model::batchMarkCouponSent&\Adv_coupons_model::batchMarkCouponUnsent - [4.2.143] cd-feat: coupons bulk actions in controller
\Adv_coupons::batch_action - [4.2.143] ui-update: js class to manage checkboxes in
\footer_js.php::checkboxBulkActions() - [4.2.143] ui-update: controls for checkboxes in
/coupons/show_coupons.php - [4.2.142] cd-update: apcopay update from v3
- [4.2.142] ui-update: product page waiting list submit action (design and main template)
- [4.2.142] cd-update: tag manager track product page and purchase.
- [4.2.141] cd-fix: production/project_agora_events function reportAgoraImpression so that only unique addIds are being reported to agora
- [4.2.141] cd-fix: Add fix in the edit of gifts and loosing vendors
- [4.2.140] cd-update:
tracking_helperwith two methodsproductIdToGoogleIdandproductIdToFaceBookId. - [4.2.140] cd-fix: default sorting descending from promos in Adv_promo_model::dropdown() and Adv_promo_model::getAdminList
- [4.2.140] cd-fix: searching phone with like instead of equal in Adv_order_model::ordersListAdminWhere()
- [4.2.140] ui-update: edit order return buttons
- [4.2.140] cd-fix: retrieving is_email_sent in Adv_order_model::getOrdersListAdmin()
- [4.2.140] ui-update: change softone and delivery labels
- [4.2.140] cd-debt: Declare constant visibility in Pscache
- [4.2.140] cd-fix: Cronjob::get_gtstatus early return if provider not GT or ACS
Notes
- [4.2.148] need
composer dump - [4.2.148] to use Piraeus Apco Provider in
Checkout.phpadduse Advisable\ApcoPay\Providers\Piraeus;and in__construct()add$this->apcoPayProvider = new Piraeus(); - [4.2.146] New library ecomnTag to push events to tag manager's dataLayer object. v1.0.5 adds support for google AddToCart and RemoveFromCart and facebook AddToCart
- [4.2.146] all clients need
npm run install && npm run production(vuex store imports ecomnTag) - [4.2.146] for
defaultand custom templates add inwebpack.mix.front.jscommand at the end.copy('node_modules/ecomntag/build/ecomnTag.min.js', 'public/ui/<theme>/js') - [4.2.146] for custom templates add
template hedertemplate body codetemplate footer code
and remove any hardcoded addToCart... events if client changes to Tag Manager Container (not gtm or ga).
- [4.2.146] replaced app config items
enableGoogleTagManagerandgoogleTagManagerIdwith$config['googleTagManager'] = ['enabled' => false, 'tagId' => 'GTM-XXXXXXX', 'providers' => []]where providers are for nowgoogleTagandfaceBook - [4.2.144] need
npm install && npm run production && npm run admin-productionlogw package.lock sto ka8e client - [4.2.144] need
composer install - [4.2.142] new config items in
merchant.apcopay:useInstallmentOptions,piraeusInstallments. - [4.2.142] for non default or main templates checkout view needs
php
$installmentOptions = config_item('merchant.apcopay')['useInstallmentOptions'] ? apcoPayInstallmentsDropDown() : [];and
php
<?php
if ($validPayWay === 'apcopay' && !empty($installmentOptions)) :
?>
<div class="col-12 checkout-form-col" id="installments" style="display:none">
<label for="form-installments" class="orderFldLbl">
<?= t('eshop.front.checkout.installments'); ?>
</label>
<?= form_dropdown(
'installments',
$installmentOptions,
set_value('installments'),
'id="form-installments" class="selectpicker"'
); ?>
</div>
<?php
endif;and in preview order js
js
function toggleInstallments () {
$('#installments').toggle($('input[name="payway[]"]:checked').val() === 'apcopay')
}
$('input[name="payway[]"]').on('change', function () {
toggleInstallments()
})front lang files need
'apcopay.installments.0' => 'Εφ\' άπαξ',
'apcopay.installments.1' => '1 δόση',
'apcopay.installments.Χ' => '%s δόσεις',
'eshop.front.checkout.installments' => 'Δόσεις',- [4.2.142] clients need build for production
- [4.2.142] check clients if they have implemented waiting list submit, remove old implementation and apply needed changes in js
version 4.2.13x
Changelog
- [4.2.139] cd-feat: Add google tag files (not completed feature)
- [4.2.139] cd-feat: Add the taboola events in the production views and the config in the app
- [4.2.139] cd-fix:
enableGoogleJsandenableFbJsshould default to false. open on client when updating corresponding keys. - [4.2.139] cd-fix: Fix for the product images in the admin promo product lists
- [4.2.139] cd-fix: main and default template remove
ld_jsonfrom production and google restriction as it's basically structured data for all engines and no impact in tracking - [4.2.138] cd-fix: fixed critical js parsing issue in default template's footer_js component when in checkout (preview_order) page.
- [4.2.137] ui-debt: remove include of
wc_menuinmain.scss(non existent file - client - wecare specific) - [4.2.137] ui-update: update
package.jsondependencies. - [4.2.137] cd-fix: changed
$storeData->idto$storeData->store_idformain/defaultcheckout.phptemplate - [4.2.137] cd-fix: replaced id with
store_idinAdv_order::generateStoreRule(), specifically, changed default 2nd param value 'id' with 'store_id' for methodgetResultObjectAsIndexedArray - [4.2.136] cd-feat: free delivery cost for specific postal codes
- [4.2.136] cd-update: Remove
createSlugfromblog_XXX_model - [4.2.136] cd-feat: Add the payway of ethniki
Simplify. - [4.2.135] cd-fix: promo model
dropdownmui fix - [4.2.134] cd-feat: send google conversion item as json_encode instead of echoing each element (no need for strip_quotes).
- [4.2.134] cd-fix: send google conversion item as json_encode instead of echoing each element (no need for strip_quotes).
- [4.2.133] cd-fix: nothing is saved in db fields with strip_quotes (except slugs).
- [4.2.133] ui-fix: main template blog views hardcoded base blog path to
t('blog.base.path') - [4.2.133] cd-update: Deprecated method
stripQuotationMarks. Use identical built instrip_quotes - [4.2.132] cd-update: Tweaked methods
Adv_search_model::solrSetQuery,Adv_search_model::solrFixQueryFields,Adv_search_model::solrFixSlopFields - [4.2.131] cd-fix: commented out main template's newsletter_container
- [4.2.130] cd-fix: fix in src/ProjectAgora/ProjectAgora method handleRequest to return adds even if it's index ads is empty, minor fix spelling for wrightCalls to writeCalls
- [4.2.130] cd-feat: In sliders admin show the slider title in the admin list
- [4.2.130] cd-debt: remove mysqldump hardcoded string to .env. Affected
Notes
- [4.2.139] New config item for using google tag manager
enableGoogleTagManagerandgoogleTagManagerId. Do not use until it is released as complete. - [4.2.139] Check in the footer, template or footer_js if they have the taboola script. Delete it and inform the app.php with the new id and enable taboola
- [4.2.139] check
enableGoogleJsandenableFbJsvalues inapp.phpin case they are reverted to false. - [4.2.139] on client merge ensure
<?= $this->load->view('production/ld_json', '', true); ?>is before the</body>tag without restrictions. For other clients ensure ld_json is at bottom without restrictions. - [4.2.137] all clients need
npm install && npm run production && npm run admin-production - [4.2.137] for development branches delete node_modules and run npm install. This is required before building client components.
- [4.2.137] If client uses custom checkout.php (e.g. pharm16) or has overrides to main/checkout.php or default/checkout.php check if store input value uses $storeData->store_id instead of just id!
- [4.2.137] Patch may be required for clients with multiple langs (specifically in
store_muitable) as order'sstore_idfield was populated with store mui'sidinstead of the properstore_id - [4.2.136] Need
npm run productionfor clients to get updates on preview order - [4.2.136] Need
composer dump - [4.2.136] To add the new payway run the patch
createNbgSimplifyTable(creates a log table and removes 2 old tables for the nbg). More info in AdvEshop4 and Ethniki - [4.2.133] Since nothing is saved with strip_quotes in db check views for markup attributes that should use strip_quotes (ie
alt="<?= $name; ?>"which will break if a quote exists in $name). - [4.2.132] Tweaks to the solr query have been made. Please check client's overrides, or if clients actually do want to use the new changes. If not, create an override of
Adv_search_model'ssolrSetQuery,solrFixQueryFields,solrFixSlopFieldsmethods - [4.2.131] if client is in main template and has malchimp signup form (e.g. wecare) check newsletter_container
- [4.2.130] in
.envinsertdefine('APP_MYSQL_PATH', '');
version 4.2.12x
Changelog
- [4.2.129] cd-update: update composer packages (phpmailer/phpmailer v6.1.6 => v6.1.8, dompdf/dompdf v0.8.5 => v0.8.6, squizlabs/php_codesniffer 3.5.5 => 3.5.8, phpmd/phpmd 2.8.2 => 2.9.1)
- [4.2.129] cd-update: Adv_data_imports extract colorize and cls to Advisable\Utils\TerminalHelper
- [4.2.129] cd-fix: Adv_checkout::apcoPayFactory reading config
- [4.2.129] cd-fix: adv_customer _remap method redirect to site_url if customer is loggedin and requests register page
- [4.2.129] cd-fix: Fixed in the cronjob for the points to customers delivery the not null store id bug
- [4.2.128] cd-fix: Fixed advmysli_driver.php escape bug
- [4.2.127] cd-fix: Swapped
is_intforctype_digitfor$termcomparison inAdvProductModel::searchProductsForOrder - [4.2.126] cd-fix: adv_order_model function ordersListAdminWhere search for store_id if user has set it
- [4.2.125] cd-fix: Fixed parsing error for
AttributeTextSelectorcomponent for assets/front and assets/design - [4.2.124] cd-fix: Fixed search results on product lines search when searching for vendors by including vendor_mui table (In
ecommercen/Adv_lines_model::search($term = '')) - [4.2.123] cd-update: All hardcoded string literals from methods in vue's state (
assets/vue/store) have been localized (specifically in stateactions.js) - [4.2.123] cd-update: Both design and main
preview-order.js's have their invoice toast error being localized - [4.2.123] cd-update: ALL frontend components have been localized for
admin/main/main/v2/design/andfront/! - [4.2.123] cd-feat: Added frontend localizations! Please refer to this guide for more info
- [4.2.123] cd-feat: Added frontend configurations! Please refer to this guide for more info
- [4.2.122] cd-fix: adv_products_admin method product_prices_csv, made product array keys readable, trim barcode so that corrrectly matches db's barcode, adv_product_model function updatePriceOnBarcode, fix in update query, views/admin/products/update_product_price changed alert to accuratelly inform about the script's actions
- [4.2.121] cd-fix: Wrong datatype initialization of initialData.products when allPageProducts count is 0 In
main's anddefault'sfooter_jscomponent - [4.2.120] cd-fix: Main template's contact_form view changed contactemail's field's type attribute's value from text to email
- [4.2.120] cd-fix: default and main templates' mail/order_update added PAID_SENT status in condition to send voucher number
- [4.2.120] cd-fix: default and main templates' contact_form view, added required attribute to required fields, added set_value to all fields
- [4.2.120] cd-fix: Default template's contact_form view corrected email field's name attribute's value
Notes
- [4.2.129] need composer install
- [4.2.123] This version although has made changes to a lot of vue components and generally frontend code, most of the changes are the replacement of hardcoded string literals with translatable strings. If the client has different string for a particular component, you have to create an override for that string key. Refer to this guide on how to make proper overrides. Additionally, some of the clients may not have window.advAppData.languageAbbr variable settted up in their respective footer_js. You need to initialize that variable at the initial data setup of their footer_js, for the localization plugin to work!
version 4.2.11x
Changelog
- [4.2.119] cd-update: Updated helper method
jsonEncodeForVue($data)inecommercen/helpers/theme_helperto removebase64_encode - [4.2.119] cd-update: Updated helper method
jsonDecodeVue($string $string, bool $asArray = false)inecommercen/helpers/theme_helperto removebase64_decode - [4.2.119] cd-update: Removed
atobfrom data passed to vue ($jsonState&$allPageProducts) indefault&maintemplate componentfooter_js - [4.2.119] cd-update: Added missing handling case for when
count($this->allPageProducts)resolves tofalseindefault&maintemplate componentfooter_js - [4.2.118] cd-fix: admin/footer_js validateForm function added error for sendto_country in case of order_address_shipping, required lang entries in adv_advisable_lang files
- [4.2.117] ui-fix: added sidebar subcategories list & toggle
- [4.2.116] ui-fix: shippingDetails toggle on init in main+default / preview-order
- [4.2.115] ui-fix: main template preview-order fix undefined case for dropdown
- [4.2.114] ui-fix: preview-order fix undefined case for dropdown
- [4.2.114] ui-fix: Checkout page sameaddress colapse removed as it triggered twice the element
- [4.2.114] ui-fix: AdvProductInputSpinner used in product carts and new component AdvCartInputSpinner for cart
- [4.2.114] cd-fix: main and default theme checkout views added html input required attribute to required fields (name, surname, landphone, city, postal and address), changed mail input's type from text to email
- [4.2.113] cd-fix: default and main templates checkout_complete/pay_by_bank/pay_by_bank_success fixed variables passed to checkout.paybybank.success.message
- [4.2.112] cd-fix: default and main templates checkout_complete/pay_by_bank/pay_by_bank_success added appropriatte content, mail/order_created added appropriatte content in case of paybybank, adv_theme_lang entry checkout.paybybank.success.message
- [4.2.111] cd-fix: PaybyBank replaced guzzles now removed json function
- [4.2.110] cd-fix: Remove from the search the product_code and the barcode
Notes
- [4.2.119] Upon merging with the target client's branch check
jsonEncodeForVueandjsonDecodeVuemethods fromecommercen/helpers/theme_helperfor client overrides - [4.2.116] all clients need build front components
- [4.2.114] all clients need build front components
version 4.2.10x
Changelog
- [4.2.109] cd-fix: AdvAgoraCatalog class variable agoraSettings changed to agoraSettingsPidPrefix
- [4.2.109] cd-fix: ProjectAgora buildOrderData method prepend pidPrefix in orderItems gtin, methods formatResponse and formatBannerResponse remove pidPrefix, AdvAgoraCatalog method parseItem added pa_id and pa_title entries for agora feed, config/app agoraSettings new key pidPrefix
- [4.2.108] cd-fix: Fix in case of missing badge in views/main/layouts/product_page/product
- [4.2.107] cd-fix: fix in main_theme_helper function badgeImage
- [4.2.106] cd-fix: replaced eshop.admin.products.code with eshop.front.cart.products.code in default and main templates' mail views notify_admin and order_created, eshop.front.cart.products.code entry with value in adv_external_lang
- [4.2.106] cd-fix: main template preview-order script broke from undefined orderAddressOptions
- [4.2.106] cd-fix: main template homepage blog feed uses
t('blog.base.path')for blog urls - [4.2.105] cd-fix: eurobank process view loaded from template
- [4.2.105] cd-fix: main and default template have key for eurobank process
- [4.2.105] cd-fix: core/Adv-data-imports fixed spelling in text staring became starting
- [4.2.105] cd-fix: adv_gift_rules_model methods getRecordsByIds and getRecord removed unneeded and unavailable lang entries name and help.
- [4.2.105] cd-fix: removed social.pages.google.plus entry from config/client and its usage from views/production/ld_json
- [4.2.105] cd-fix: replaced kbitadmin.label.redirecturl occurences with kbitadmin.label.redirect_url
- [4.2.105] cd-fix: categories.admin.label.menu occurences with kbitadmin.label.menu
- [4.2.105] cd-fix: fix typo in greek/adv_advisable_lang's value for index eshop.admin.error.entrydelete
- [4.2.105] cd-fix: Fix in adv_slide_model function getUnlinkedSlides so that it gets one row per slide
- [4.2.104] cd-fix: Removed import for AdvListingProductCard from assets/design/vue/vueapp.js.
- [4.2.103] cd-fix: Added check for term's data type validity when comparing it with product_id in searchProductsForOrder and SearchProductsForOrderReport in adv_product_model
- [4.2.102] cd-fix: fix in Adv_search_model function buildProductsCodesSql, search for term in shop_product_mui.product_id only if term is integer
- [4.2.102] cd-fix: fix in AdvGoogleCatalog parseItem function return item array key g:google_product_category, removed hardcoded string and added it to appropriate adv_theme_lang entry. (clients other than pharmacies would need to overwrite the method to set correct g:google_product_category)
- [4.2.102] cd-fix: typo fix in Adv_customers_admin function guest_history getCustomerId call, changed to getCustomerById
- [4.2.101] cd-fix: Added missing production/skroutz_header view (from pharm16/inatural) requested in default and main templates' base template file. Added enableSkroutzAnalytics and skroutzAnalyticsKey in config/app. Base template files load the skroutz_header conditionally based on enableSkroutzAnalytics and the key is assigned in skroutzAnalyticsKey.
- [4.2.101] cd-fix: production/google_header in $orderEcommerceData['basket'] loop, basket items are objects not arrays
- [4.2.101] cd-fix: replace non existent checkout.eurobank.success.succeed lang entry with checkout.success.succeed in default and main templates' checkout/complete/piraeus/success
Notes
- [4.2.109] Check if agora is enabled in config/app agoraSettings and set value for pidPrefix after consulting projectAgora
- [4.2.106] check if eshop.admin.products.code lang entry was supplied in application/ language/ files and add key eshop.front.cart.products.code with required value in appplication/ external_lang
- [4.2.106] main template clients need `npm run production'
- [4.2.105] Non main template and default template clients need to add key for eurobank process view in their overriden template
- [4.2.102] Check whether client has google or facebook catalog and set appropriatte hct_xml_general_product_category lang entry.
- [4.2.101] Check whether client has skroutz analytics and set config/app enableSkroutzAnalytics and skroutzAnalyticsKey entries.
version 4.2.9x
Changelog
- [4.2.99] cd-fix: update
patch/setShopCustomerLangfrom previous version (missing add column statement) - [4.2.99] cd-debt: main template change hardcoded ids with respective input names
- [4.2.99] cd-update: main template preview-order uses localstorage
- [4.2.99] cd-update: main template adds in main js check for browser storage availability
- [4.2.99] cd-fix: allow customer_model::getCustomerById to accept null as id
- [4.2.99] cd-fix: customer_model::updateCustomerSessionByCustomerId check for customerData returned value
- [4.2.98] cd-debt: psr in search:searchInDb
- [4.2.98] cd-fix: add shop_product_mui.vendor in search_model->productSelect
- [4.2.98] cd-feat: customers have contact language
- [4.2.98] cd-fix: customers/view
order_countcheck - [4.2.98] cd-fix: select of
product_list_model::getFrontListProducts(missing shop_product_mui.video) - [4.2.97] ui-fix: correct attributes for lazy load of first image in ListingLeftImageProductCard
- [4.2.97] ui-update: lazy load v2 listing product card images
- [4.2.97] ui-update: add selected-attribute in v2 product card components - use in product card fashion
- [4.2.97] cd-fix: adv_mailer used removed method customer_model::get_records (replaced by getCustomerBy)
- [4.2.96] cd-update: extract vendors create pagination to separate method createIndexPagination
- [4.2.96] cd-update: extract product categories create pagination to separate method createIndexPagination
- [4.2.96] cd-update: option to enable/disable product categories c0 through app.php config item
showProductCategoriesTop - [4.2.96] cd-update:
customer_model::get_recordsremoved (returned both array and objects based on function signature) - new methodsgetRecordsfor an array of objects andgetCustomerByIdandgetCustomerByfor single objects - typehint method signatures and return types - [4.2.96] cd-debt: move
fixWhereConditionfrom blog/customer/product/reporting model to base model - [4.2.95] ui-update: give product card attribute group divs classes based on attribute group type
- [4.2.95] ui-fix: productPageCards should have attribute titles displayed -
:show-title="true" - [4.2.95] ui-update: v2 AdvProductGalleryWithVideo should use medium sized product images instead of small
- [4.2.95] ui-update: v2 vue listing product cards have quantity picker hidden and product page cards have it on
- [4.2.94] cd-feat: new v2 vue components for product cards in listings and product page
- [4.2.94] cd-fix: store/getters fix
getAttributeIdsOfGroupitem property - [4.2.94] cd-debt: store/getters eslint fix
- [4.2.94] cd-fix: vue state empty product object should have 0 stock
- [4.2.94] cd-dept: promo controller line format
- [4.2.94] cd-fix: product_model::
getLineProductsandgetPromoProductsneedshop_product_mui.videoin select - [4.2.94] ui-fix: vue components do not display attribute selected div when there is no selected attribute
- [4.2.94] cd-fix: product categories fix do not send to c0 if there is query string for parent_id 0
- [4.2.94] cd-fix:
main/layouts/product_page/product_fashionfix the labels for of the ingredient and usage tabs and remove the content sorten from the description. - [4.2.94] cd-fix:
main/layouts/product_page/product_fashionadd sub content for the repair policy and the delivery policy - [4.2.93] cd-fix:
main/components/nav/category_drop_down_menusite urls instead of relative url - [4.2.93] cd-feat: new vue component AdvListingProductCard
- [4.2.93] cd-fix: adv_order_admin function redeemOtherPostElementsPointsAdd save the returned value of redeemOtherPostElementsPoints to appropriatte $otherPostElements variable
- [4.2.93] cd-fix: default and main themes checkout view: added cartTotalVat variable to save cart_total_vat call, added variable showPointsBlocks to determine whether to print point related blocks, added point info block in checkout costs block, removed whitespace from textarea fields
- [4.2.93] cd-fix: default and main themes preview-order.js: added onclick handler for redeemPoints checkbox that calls udpateExtraCosts to refresh checkout costs block
- [4.2.93] cd-debt: remove non-existent gift image for listing (customization for wecare)
- [4.2.92] cd-fix:
productImagesWithPathsForJsonsetsis_mainif it is null andimageto no_photo instead of null - [4.2.92] cd-fix: no image in product images with resized no_photo
- [4.2.92] cd-fix:
transformProductForJsonuses resize keys for productImage->list and productImage->main - [4.2.92] cd-fix: product lists in main and default template to pass correct slug in
transformProductForJson - [4.2.91] ui-fix: restored selectpicker in checkout.php dropdowns, fixed css issue with dropdown arrow, fixed typo in region input class
- [4.2.91] cd-fix: cleanup of
categoryPageViewsto the only existing dynamic cms view in development - [4.2.91] cd-fix:
categoryPageViewsandcategoryMenuTypesapp items now hold lang keys instead of hardcoded text - [4.2.91] cd-feat: Admin languages are now different from front languages.
- [4.2.91] ui-update: main layout
product_category/category_products_list_fashion.phphas dynamic subcategory menu - [4.2.90] ui-update: main/default/front vueapps change ProductGalleries based on hex or image attribute
Notes
- [4.2.99] need
npm run production - [4.2.98] run
patch/setShopCustomerLang - [4.2.98] customers have contact language in shop_customer.lang. Custom clients need update_info view in front to have language dropdown
- [4.2.97] need npm run production for v2 client components
- [4.2.96]
customer_model::get_recordsremoved (returned both array and objects based on function signature). Use new methodsgetRecordsfor an array of objects andgetCustomerByIdandgetCustomerByfor single object - [4.2.95] product card classes created
attr-block-image,attr-block-hex-color,attr-block-text - [4.2.94] need
npm run production - [4.2.93] need
npm run production - [4.2.93] client wecare needs to get the below code line in product cards
php
$productBadge['src'] = ($productBadge['badge_type'] == 'gift') ? 'ui/main/img/gift_temp_img.jpg' : $productBadge['src'];- [4.2.92] need
npm run production - [4.2.91] check clients keys
categoryPageViewsandcategoryMenuTypesand for extra keys create new client admin lang entries - [4.2.91] new config item in
config/languages.phpadmin_languagesfor admin languages instead of frontlang_desc. Usage is same withlang_desc. To support this a new method is implemented inAdv_base_modelupdateOrInsertMui($table, $masterField, $masterValue, $lang, $data){}. - [4.2.90] clients need build for production (front)
version 4.2.8x
Changelog
- [4.2.89] ui-update: main and default template AdvProductGalleryWithVideo for usage in product_page/product_fashion
- [4.2.89] cd-update: theme_helper::transformProductForJson reads video field
- [4.2.89] cd-update: Products::fixSelect reads video from shop_product_mui
- [4.2.89] cd-fix: move sql for video from shop_product to shop_product_mui
- [4.2.88] ui-fix: fashion template components updates for mobile, scss & js fixes
- [4.2.88] cd-fix: fix default template.json apcopay paths
- [4.2.88] cd-fix: fix warning in product_category_model for implementing countable (php7.4 fix)
- [4.2.87] cd-fix: fix in product_model fixAdminSearch replaced getCatProductsBase call with getCatProductsBaseAdmin
- [4.2.87] cd-fix: fix in product category get_depth in case of only one category
- [4.2.87] cd-feat: ApcoPay payments
- [4.2.87] cd-debt: fix php 7.4 deprecation for left-associative ternary operator in main_theme_helper
- [4.2.86] ui-fix: excluded assets/main/scss/bootstrap/vendor/ in .gitignore
- [4.2.85] ui-update: New components for fashion template, bootstrap update to 4.5.0
- [4.2.85] cd-update:
Advisable\Logger\CodeIgniterLoggerclass as a psr-3 adapter. - [4.2.85] cd-fix: Adv_registry controller point related entries will be read from post and updated only if config item enablePoints is true.
- [4.2.85] cd-update: new key in adv_mailer site.emails.inform_new_product.title for mail
- [4.2.85] cd-update: shopmodule_helper::adminProductsResultOrder uses lang keys
- [4.2.85] cd-update: hardcoded strings moved to lang files
- [4.2.85] cd-fix: Call the store data and merge it to the email data in complete order
- [4.2.85] ui-fix: Add a validation modal in the products admin
- [4.2.85] ui-fix: Refactor of the javascript function of the admin panel that enables and disables the point factor of the product
- [4.2.85] ui-fix: Change the z-index of the date picker in the products page
- [4.2.85] ui-fix: Added delete image checkbox in gifts admin update
- [4.2.85] cd-fix: Updating a gift in gifts admin update will persist its previous set image
- [4.2.84] ui-fix: Remove the duplicate debounce javascript function in the
main/components/footer/footer_js.php - [4.2.83] ui-update: New component
components/sliders/main_slider_no_caption.php - [4.2.82] cd-update: New config items
clientTemplateandemailTemplateconfig items to load json configs - [4.2.82] ui-update: Main template is the template for new projects
- [4.2.81] cd-update: Logic containing minicart's display handling has been extracted and rewritten in a separate
assets/design/js/components/minicart.jsfile which is combined inpublic/ui/design/js/main.jsupon asset compilation stage.webpack.mix.front.jshas been updated because of this. - [4.2.81] cd-fix: SCSS classes regarding minicart have been moved to
_minicart.scss - [4.2.81] ui-fix: Clicking on any button which toggles minicart's display will no longer loose parent's scroll
- [4.2.81] ui-update: Minicart's cart item text summary has been moved at the top of cart items' wrapper div
- [4.2.81] ui-update: Minicart's cart items have been moved to the bottom, and the artificial height limit & overflow scroll have been removed from the cart items' wrapper div
- [4.2.81] ui-update: When minicart is displayed, the rest of the page obeys to the
overflow-y: hiddencss rule - [4.2.81] ui-fix: Minicart is now scrollable
- [4.2.80] cd-fix: Fixed issue in
Adv_front_controller::setGifts(&$product, $gifts)preventing it from adding gifts to&$productobject - [4.2.80] cd-debt: Updated
Adv_front_controller::setGifts($product, $gifts)PHPDocs - [4.2.80] ui-fix: fixed js crash on image loading when updating a gift (In
application/views/admin/footer_js.php)
Notes
- [4.2.89] need build for production for front
- [4.2.87] need composer install
- [4.2.85] need composer install
- [4.2.85] check
app.phpfor 'reviewForSkroutz'. It now uses lang key instead of hardcoded string - [4.2.82] Components from vue/ have been moved into assets/vue!! Advised to check commit 9c30cd7
- [4.2.82] clients of default or custom template should check for conflicts and keep their own on config items - npm run will be needed for front clients
- [4.2.81] need
npm run productionformain.js.
version 4.2.7x
Changelog
- [4.2.79] cd-fix: fixed a typo in
ecommercen/helpers/eshopmodule_helper.php(ecnrypt -> encrypt) - [4.2.78] ui-fix: invoice tab not being shown when reloading checkout due to post error
- [4.2.78] cd-update: set checkout data to local storage
- [4.2.77] cd-fix:
Products_adminloadadv_mailer - [4.2.76] cd-fix: in
product_category_modelfix the query for the missing product field and add having instead of where - [4.2.75] cd-fix: in
product_category_modelremove the double select of the sum of the product stocks and add the missing close parenthesis in the where (sql fix) - [4.2.74] cd-fix: hotfix release - fix extending adv_eshop from
Front_CtoFront_c - [4.2.73] cd-debt: no auto loading from
modules/eshop/config/autoload.php - [4.2.72] cd-update: add ukraine country and counties
- [4.2.72] cd-fix: change products in cart model to product code
- [4.2.71] cd-feat: Move the products with low stock at the bottom of the product lists
- [4.2.70] cd-fix: Add check of empty products array in project agora projects
Notes
- [4.2.78] need
npm run productionforpreview-order.js. Same should be applied to not defaultpreview-orderfiles - [4.2.73] all codeigniter helpers are loaded with
load::helper()and all our app helpers withload::ecomnHelper()
version 4.2.6x
Changelog
- [4.2.69] cd-fix: Change the query for admin list of orders
- [4.2.69] cd-fix: Update the data-imports for wecare db
- [4.2.68] ui-fix: broken dropdown in order status (In
admin/orders/update) - [4.2.67] ui-feat: (VERY BAD - dropped in 4.2.68) Changed dropdown text when order status is set to
PAIDand delivery is on store (Inadmin/orders/update) - [4.2.67] ui-fix: Sms success icon and text will now work when sms sending is successful (In
admin/orders/list) - [4.2.67] ui-fix: Mail view
waiting_list_successhas been temporarily modified so that it prints out the first product in user's waiting list - [4.2.67] ui-fix: Checkboxes for notifying user when their order is at store will now be shown for all payway methods (in
admin/orders/update.php) - [4.2.67] cd-fix: Query for fetching products in waiting list has been fixed in
Adv_waiting_list_model::getRecordsToSendEmails - [4.2.66] ui-fix: In Admin dashboard > Orders > List missing text for orders with
store_idand withoutSENTstatus - [4.2.66] ui-fix: Added
piraeuspayway method intoggleDeliveryOptionsinpreview-order.js - [4.2.65] cd-update: Change the time for set the agora events
- [4.2.65] cd-update: Set the async to false in the ajax call that saves the adds
- [4.2.65] cd-fix: Solr search respects and prioritizes exact search results (In
Adv_search_model::solrSetQuery()) - [4.2.65] ui-feat: In Admin dashboard > Orders > List if order status is sent and order is shipped on a store the text in status will change accordingly.
- [4.2.64] cd-update: Remove the addids from the project agora
- [4.2.63] cd-fix: add the missing ecomercen pscash helper from the core
- [4.2.62] cd-fix: temp fix in the my loader for loading the helpers form the ecomercen
- [4.2.61] cd-fix: fix the bug for the products ads url in categories
- [4.2.60] cd-feat: added the project agora static banners
Notes
- [4.2.65] Upon merging master to client, make sure to update client's
admin_helper.php/orderStatusPresentationDataaccordingly. Inecommercen/admin_helper.php/orderStatusPresentationDatalook for keySENT+storein$statusList. - [4.2.60] To enable the project agora static banners read the Project Agora And Adveshop4 doc.
version 4.2.5x
Changelog
- [4.2.59] cd-update: all application helpers have their equivalent in ecommercen/helpers
- [4.2.59] cd-update: Loader::ecomnHelper to load application and ecommercen helpers
- [4.2.59] cd-debt: remove unused facebook graph from system. Removed
fb_graph_model, delete tablefb_graph, deletefb_*fields inshop_customer - [4.2.59] cd-debt: remove deprecated function
translateOrderPaywayandtranslateOrderPaywayCapsuse - [4.2.59] cd-debt: remove promo keys not in default template
- [4.2.59] cd-debt: remove unused default theme helper popupOptions function (used in popup deleted module)
- [4.2.59] cd-debt: remove unused
admin_lang - [4.2.59] cd-debt: remove unused private cronjob methods -
fixPhoneOrdersCustomerTableData,fixPhoneOrdersCustomerData,fixPhoneOrdersSmsStatus - [4.2.59] cd-debt: reformat
eshoppresenter::paywayIconCaptionfunction - [4.2.58] cd-update: introduce external lang files (keep keys for mail, sms, and other non web values - not for core) (move mail section from theme_lang)
- [4.2.58] cd-debt: admin lang files clean up (
application/languages/gree/admin.langkept for last crosscheck but will be removed soon after this release) - [4.2.57] cd-fix: Pass current (
$this) instance toform_validation->run()inAdv_waiting_list::add() - [4.2.57] ui-fix: add opening and closing
<form>tag in contact form layout inapplication/views/default/layouts/library/contact_form/contact_form.php - [4.2.57] cd-debt: remove unused admin/attributes views (only vue.php is used)
- [4.2.55] cd-feat: added the project agora report orders get product adds and merge them to results in vendors categories and searches lists
- [4.2.55] cd-update: rename button cancel to return in products_admin, orders_admin & make return button accesible from top of page
- [4.2.55] ui-fix:
default/layouts/library/checkout/checkout.phpfix textarea not having value property - [4.2.55] cd-fix: fix loading of paypal driver in checkout controller (fix stripos expects string array given in merchant loading)
- [4.2.55] cd-update: update
preview.order.delivery.details.samegreek value fromΊδια με τα στοιχεία αποστολήςtoΊδια με τα στοιχεία παραγγελίας - [4.2.54] cd-update: core theme files cleaned up
- [4.2.53] cd-fix: fix homepage and vendor_details view not echoing load->view()
- [4.2.52] cd-fix: fix default theme views - use site_url wherever there was hardcoded uri like
href="/uri" - [4.2.52] cd-fix: fix duplicate key
Mayin theme lang (key for May when used in full month in nowMayLong) - [4.2.52] ui-debt: fix all subviews must be returned as strings
- [4.2.51] cd-fix: theme lang file fix 2 typos in keys
product.page.reviews.form.message.labelandproduct.page.reviews.form.name.label - [4.2.51] cd-fix: theme lang files fix keys
paybybank.sms.code(removed smile help link at the end of translation) - [4.2.51] cd-fix: fix typo for piraeus in core theme
checkout.bank.transfer.success.pireus - [4.2.50] cd-feat: added the project agora xml feed
Notes
- [4.2.59] cd-update: new function Loader::ecomnHelper to use for application helpers. The only helpers we load with
$this->load->helper()are codeigniter helpers. All other helpers should be loaded with$this->load->ecomnHelper(). Almost all helpers have their equivalent. This is a pre-release for core helpers - in next release functions might be removed. - [4.2.59] cd-debt: run
patch/dropFbGraph - [4.2.59] cd-debt: check for usage of
translateOrderPaywayandtranslateOrderPaywayCaps. UsegetPayWayLabelinstead. - [4.2.59] check default_theme_helper if any of the removed ones were in use.
php
function promoViewTypes()
{
return [
0 => 'Προκαθορισμένο',
6 => 'Προκαθορισμένο με ημερομηνίες',
1 => 'Κουρτίνα οθόνης',
2 => 'Pampers 2016 static',
3 => 'Pampers 2016 sub promo',
4 => 'Αδυνάτισμα - Κουρτίνα οθόνης',
5 => 'Κουρτίνα οθόνης χωρίς κείμενο',
7 => 'black-friday-big-deals',
8 => 'black-friday-sales',
9 => 'ecommerce-week',
10 => 'smile-for-christmas'
];
}- [4.2.59] if admin_lang still exists after merge delete it. A backup will be kept in advisable workspace snippets
- [4.2.59] Check
Cronjobcontroller for usage offixPhoneOrdersCustomerTableData,fixPhoneOrdersCustomerData,fixPhoneOrdersSmsStatus. They shouldn't be used with. They fixed old bug in pre 4 versions. - [4.2.58] Update for core admin and external lang files in docs/LangFiles
- [4.2.55] need
composer dumplocally (composer install on server). - [4.2.55] To enable the project agora read the Project Agora And Adveshop4 doc.
- [4.2.55] check greek theme lang if
preview.order.delivery.details.sameis overridden and can be removed - [4.2.54] in case of client errors with missing keys check bitbucket Snippes/keysNotFoundInAdvThemeLang and Snippes/keysNotFoundInAdvThemeLangEnglish
- [4.2.54] Update for core theme lang files in docs/LangFiles
- [4.2.52] Check client views of default theme for hardcoded href vs site_url
- [4.2.51] Check client theme lang if typos fix affects them (remove keys if not needed)
- [4.2.50] Run the patch
productProjectAgoraor run theALTER TABLEshop_productADD COLUMNagora_xmlTINYINT(1) NOT NULL DEFAULT '0' AFTERcriteo_xml, ADD INDEXagora_feed(price,agora_xml,soft_delete);query in the db - [4.2.50] need
composer dumplocally (composer install on server).
version 4.2.4x
Changelog
- [4.2.49] cd-fix: reverse large and small keys in
resizeimageconfig - [4.2.49] cd-debt: No need for directory index protection in inaccessible directories. Use an empty
.gitkeepfile instead. - [4.2.49] cd-update: English language for admin and front.
- [4.2.49] cd-update: Core lang files in
ecommercen/language. - [4.2.49] cd-fix: default/layouts/library/customer/insert_new_password view fix in form action
- [4.2.48] cd-fix: Acs library: deleteVoucher and issuePickupList methods check for empty errorMessage in addition to is_null, method trackAndTrace fix invalid else clause position
- [4.2.47] cd-fix: Fix in adv_order method previewValidation change validation rule for sendto_mobilephone removed required
- [4.2.46] cd-fix: Fix in adv_product_parser_model method buildSelect missing comma
- [4.2.45] cd-fix: Fix the typo in the cart_limit in products list and in admin views
- [4.2.44] cd-feat: added the cart limit in the products
- [4.2.43] cd-fix: fix admin orders/list admin comments toggle label using new key in admin_lang
admin_comments - [4.2.43] cd-feat: added
cartProductWeightTotal()invueapp.jswhich fetches the total weight of the cart, with its correspondingcartProductWeightTotalcomputed attribute ingetters.js - [4.2.43] cd-fix: front_lang tidied up eshop.front.cart.**** entries
- [4.2.41] cd-fix: coupon checks for front and admin
- [4.2.41] cd-update: dropped country from coupon rules as it was not working correctly and was unused by all clients
- [4.2.40] cd-fix: missed asset version for old admin dashboard in 4.2.39
- [4.2.40] ui-upd: cart button emits new event when there is no stock
Notes
- [4.2.49] for english language check lang docs
- [4.2.44] Run
patch/productLimitPerCart(schema update on product table) or run theALTER TABLEshop_productADD COLUMNcart_limitINT(1) NOT NULL DEFAULT '0' AFTERpieces;sql statement - [4.2.42] need
npm installdon't push package.lock file if different - [4.2.42] need
composer install - [4.2.41] need
composer dump - [4.2.41] Run
patch/dropCouponRulesLang(schema update on coupon_rules table dropping lang field and related indexes) - [4.2.41] Dropped CouponsTrait and implemented different methods on controllers. validation is performed by coupons_model::isValidCoupon
version 4.2.3x
Changelog
- [4.2.39] ui-fix: fix old panel not displaying payways chart legend correctly in chrome (need run production on release for css)
- [4.2.39] cd-fix: Patch controller, method patchDiscountsToZero update null values before altering field definition. Tidyin up createPiraeusIpnLog sql string
- [4.2.39] cd-update: Acs soap library new dummy method
validateAddressesfor consistence with acs rest library - [4.2.39] cd-feat: Acs rest library new method
validateAddresses - [4.2.39] cd-fix: Fix in views/default/layouts/checkout_complete/piraeus/error to display appropriate message from controller
- [4.2.39] cd-fix: In the edit of order keep the old price and/or old points based on config
- [4.2.39] cd-fix: Settings controller, cast to integer for acs/geniki weight and publish voucher post params, corresponding db fields dont allow nulls as defaults
- [4.2.38] cd-feat: Piraeus payment gateway. Settings in config/merchant.php
- [4.2.38] cd-fix: fix not sending empty array for related products to update product relations (case error not removing items)
- [4.2.37] cd-update: npm update
- [4.2.37] cd-update: composer update (patch versions except phpoffice/phpspreadsheet minor version - no breaking compatibility)
- [4.2.37] ui-fix: fix
store.getters.cartProductCodeQuantityto return the quantity in cart plus 1 if it exists - [4.2.37] ui-fix:
preview-order.jsfix for toggling invoice block - [4.2.37] cd-update: Prevented Adv_home::homeProductLists() from throwing error when product list with id (defined in default.php config) is not found in the database
- [4.2.37] cd-feat: Added computed property
cartTotalPiecesCountinvueapp.jswhich returns the cart's total pieces. With it,getters.jswas also updated to includecartProductPiecesCount()getter - [4.2.37] cd-fix: In
Adv_product_list_model::getProductsByProductList($productListId)added subquery to also fetch the main image of each product - Needed in resultset in/application/views/admin/product_lists/product_list_products.php - [4.2.37] ui-feat: In AdvProductGallery vue component, optional prop mainImageFirst has been added which if referenced & set to true, will alter the order of the images so that the main image gets printed first
- [4.2.37] ui-fix: trait AdminSelectImage has been modified to select the main image, instead of the first one
- [4.2.37] cd-fix: products' page admin create and update mui tabs fix
- [4.2.37] cd-fix: minor fixes in default_theme_lang and default/components/library/footer/copyright lang entry footer.copyright.made.by.ecommercen
- [4.2.36] cd-fix: Adv_orders_admin method close_pending_jobs, fix in array index name from $response['orderIds'] to $response['orders'] that prevented email send
- [4.2.36] ui-feat: In Admin order view, modified behaviour of Save button to keep the current page when saving & added save and exit button right next to it with the previous behaviour (redirect to orders admin listing). In
/application/views/admin/orders/update.phpand/ecommercen/eshop/controller/Adv_orders_admin::view($id) - [4.2.35] cd-fix: Corrected lang entry for order status in mail/order_created, sorted duplicate entries for order statuses in front_lang
- [4.2.35] cd-fix: Terminated unterminated comment in language/greek/admin_lang
- [4.2.35] ui-fix: fix update admin vendor.js asset version
- [4.2.35] cd-fix: fix
assets/admin/js/product-page.jsadmin related products undefined groupId value - [4.2.34] ui-update: Updated
default_theme_lang.phpto add locales forfooterCookieNoticeandmodalCookieSettingscomponents - [4.2.34] cd-update: Modified
webpack.mix.front.jsto add/assets/design/js/components/session-cookies.jsentry inmain.js - [4.2.34] cd-update: In
footer_js.phpand before the reference tomain.jsadded object varSessionCookiesStatewhich is filled in from server on page load and is used bysession-cookies.js - [4.2.34] cd-feat: Added
/assets/design/js/components/session-cookies.js. All session cookie notice logic will be encapsulated in this file. - [4.2.34] ui-feat: Added new
modalCookieSettingscomponent that coexists withfooterCookieNoticecomponent below. It is also loaded in/application/views/default/components/library/footer/footer.php - [4.2.34] ui-feat: Added new
footerCookieNoticecomponent. It is loaded in/application/views/default/components/library/footer/footer.php - [4.2.34] cd-fix: Adv_mailer method order_is_on_store changed $this->pscache_ttl to $this->pscacheTtl
- [4.2.34] cd-feat: In the orders' admin in the invoice and in the invoice body add the pricing, the shipping and the data form the customers card
- [4.2.34] cd-feat: ACS soap class kept as
acs_soapand can be loaded by changing the constantACS_LIB - [4.2.33] cd-debt: Brought back deprecated helper function
payWaysImage(string $payWay) : stringineshoppresenter_helperhelper - [4.2.33] cd-fix: Updated order's modal in
/application/views/admin/orders/listto display if points are credited & if order delay notifications (inform delay order) are enabled/disabled - [4.2.33] cd-fix: Added credit points & inform delay order buttons in
/application/views/admin/orders/list - [4.2.33] cd-feat: ACS library uses acs rest api. New fields billing_code, api_key, weight and publish voucher for acs in admin/settings view and controller.New method getPickupLists() in adv_orders_admin and adv_order_model to fetch pickup lists from acs. Adv_order_model conditionally loads transfer provider according to settings. Adv_order_model edited methods setPendingWithVoucher, closePendingJobs and cancelJobs to consider acs. Changed TrackAndTrace declarations and calls to trackAndTrace.
- [4.2.33] cd-fix: fixes in alphabank views
application/views/default/layouts/library/checkout_complete/alphabank/* - [4.2.33] cd-fix: In the controller
/ecommercen/eshop/controllers/Adv_vendors.phpfix in meta description tag in case of no discount - [4.2.33] cd-fix: In the controller
/ecommercen/eshop/controllers/Adv_product_categories.phpfix in meta title tag in case of no discount - [4.2.32] ui-fix: Typos in admin dashboard (πληρομών -> πληρωμών)
- [4.2.32] ui-fix: Wrong translation match for payway option in admin order list (helper
paywayIconCaption(string $payWay)ineshoppresenter_helper) - [4.2.31] ui-debt: In admin panel, added meta
viewportwithwidth=device_widthandinital-scale=1 - [4.2.31] ui-update: File
/application/views/admin/orders/listhas been modified due to Admin orders list redesign Refer tofc33eb11631254986034149b9f09a984774683b1 - [4.2.30] ui-fix: Updated
admin.csscss asset version
Notes
- [4.2.38] Run
patch/patchForPiraeus - [4.2.37] if conflict in lock files remove lock files and run install (composer/npm) - need composer install on server
version 4.2.2x
Changelog
- [4.2.29] ui-fix: In the mails
/application/views/default/mail/reset_password.phpremove the multiple style in the body - [4.2.29] ui-fix: In the mails
/application/views/default/mail/product_review_reject.phpremove the multiple style in the body - [4.2.29] ui-fix: In the mails
/application/views/default/mail/product_review_accept.phpremove the multiple style in the body - [4.2.29] ui-fix: In the mails
/application/views/default/mail/order_update.phpremove the multiple style in the body - [4.2.29] ui-fix: In the mails
/application/views/default/mail/order_on_store.phpremove the multiple style in the body - [4.2.29] ui-fix: In the mails
/application/views/default/mail/order_created.phpremove the multiple style in the body - [4.2.29] ui-fix: Relocated
/eshop/reporting/categories/menu button link to groupREPORTING_CATEGORIESand swapped its translation keys with the correct ones - [4.2.29] cd-debt: Changed
Adminrun::categorieschart()to use$this->output(instead of directly modifying theheader()) - [4.2.29] cd-fix: Crash when calling getReportingDataWithCats($where) because of mistyped internal variable
$productids - [4.2.29] cd-feat: In admin list orders export products of selected orders
- [4.2.29] cd-update: Datatables now use the new html5 export buttons (
copyHtml5,excelHtml5,csvHtml5,pdfHtml5) in/reporting/categories,/reporting/categories-products,/reporting/products,/reporting/vendor-productsand/reporting/vendorswithexportOptionsset to ignore datatable's pagination & filter state (exporting all data loaded into datatables) - [4.2.29] cd-feat: Added new datatables button extensions:
excelHtml5andpdfHtml5 - [4.2.29] cd-debt: use template->template() and template->templateFolder() instead of template->config()->template and template->config()->templateFolder
- [4.2.28] cd-feat:
Adv_loyalty::getOrderPointsmethod to get the points and cash of the order. returns array withpointsandcashkeys - [4.2.28] cd-update: product discount_persent and special_discount_percent are not allowed to be null
- [4.2.28] cd-update:
Template->config()now returns Template->config->items() instead of config (check clients) - [4.2.28] cd-update:
Template::template()and Template::templateFolder() methods for templateFolder and template config items respectively - [4.2.28] cd-debt: Adv_base_controller set property $template for type hinting
- [4.2.28] cd-fix: Adv_customers - customer history using wrong var for template in getCustomerOrdersMore see f112064f
- [4.2.28] cd-fix: Adv_orders_admin method printSelected, Dompdf constructor was not being passed the required options
- [4.2.27] ui-fix: fix default template footer js global vue access from
vuetoVue - [4.2.27] ui-debt: remove old vue code - remove umd and common builds - remove vue related plugins from public/ui/plugins - update gitignore for umd builds being removed
- [4.2.27] cd-fix: create order not computing coupon_value in total_vat
- [4.2.26] ui-fix: checkout is_guest input now has correct values
- [4.2.26] cd-fix: move cms menu type value to config
app.php- cleaned up menu type values - removedcategories_model::getMenuCombo() - [4.2.26] ui-fix: alphabank/success view loads subview from template::componentView
- [4.2.25] ui-fix: change in ORDER_ADDRESS_XXX constants to string were not reflected in preview-order.js
- [4.2.25] ui-fix: preview order reads config
freeTransferPostalCodesand checks to set up transportation - [4.2.25] cd-fix: Second param of
buildOrderSummarynow takes the view's path instead of its content in layout/application/views/default/layouts/library/customer/order_details.php - [4.2.25] cd-fix: Second param of
buildOrderSummarynow takes the view's path instead of its content in layouts under/application/views/default/layouts/library/checkout_completein/bank_transfer/bank_transfer_success.php,/delivery/delivery_success.php,/ethniki/ethniki_success.php,/paid_at_store/paid_at_store_success.php,/paypal/paypal_success.php - [4.2.25] cd-fix: Second param of
buildOrderSummarynow takes the view's path instead of its content in mail viewsnotify_admin.phpandorder_created.php - [4.2.25] cd-fix: Fixed invalid
viewvalue fororderCreatedkey in/application/config/emailViews.json(fromorder_creted.phptoorder_created.php) - [4.2.24] cd-fix: Alpha version 2. Fixes in Adv_checkout method _alpha to include new vars for the redirection form (version, orderDesc, billCountry, billState, billZip, billCity, billAddress, payMethod) and modified the digest calculation.
- [4.2.24] cd-debt: in
Adv_last_seen_products_modelthe selection section of the query ofgetLastSeenProducts($min = 3, $max = 15, $excludeId = false)was modified and the alias forshop_vendor.logo(AS vendor_logo) was removed - [4.2.24] ui-debt: in
/application/views/default/layouts/libraryupdated/customer/wishlistto reflect changes inproduct_slider,product_cardandproducts_listcomponents - [4.2.24] ui-debt: in
/application/views/default/layouts/libraryupdated/homepage/homepageto reflect changes inproduct_slider,product_cardandproducts_listcomponents - [4.2.24] ui-debt: in
/application/views/default/layouts/libraryupdated/product_category/category_products_listto reflect changes inproduct_slider,product_cardandproducts_listcomponents - [4.2.24] ui-debt: in
/application/views/default/layouts/libraryupdated/product_category/category_top_levelto reflect changes inproduct_slider,product_cardandproducts_listcomponents - [4.2.24] ui-debt: in
/application/views/default/layouts/libraryupdated/product_page/productto reflect changes inproduct_slider,product_cardandproducts_listcomponents - [4.2.24] ui-debt: in
/application/views/default/layouts/libraryupdated/product_vendor/vendor_detailsto reflect changes inproduct_slider,product_cardandproducts_listcomponents - [4.2.24] ui-debt: in
/application/views/default/layouts/libraryupdated/product_vendor/vendor_products_listto reflect changes inproduct_slider,product_cardandproducts_listcomponents - [4.2.24] ui-debt: in
/application/views/default/layouts/libraryupdated/product_vendor_line/vendor_line_products_listto reflect changes inproduct_slider,product_cardandproducts_listcomponents - [4.2.24] ui-debt: in
/application/views/default/layouts/libraryupdated/search_results/search_resultsto reflect changes inproduct_slider,product_cardandproducts_listcomponents - [4.2.24] ui-fix: Refactored variable
use_vendor_slugtois_canonicalin/application/views/default/components/library/sliders/product_slider. Also, the component will now passis_canonicalto itsproductCardchild component asis_canonicalvariable name - [4.2.24] ui-fix: Refactored variable
use_vendor_slugtois_canonicalin/application/views/default/components/library/products_list/products_list. Also, the component will now passis_canonicalto itsproductCardchild component asis_canonicalvariable name - [4.2.24] ui-fix: in component
/application/views/default/components/library/product_card/product_cardvariableis_canonicalwas added which if is set tofalsewill attempt to use the product's category url instead of the vendors url - [4.2.24] cd-debt: Updated
getLastSeenProducts()inecommercen/eshop/models/Adv_last_seen_products_model.phpto change the select - [4.2.23] cd-debt: Updated
homeProductLists()in/ecommercen/eshop/controllers/Adv_home.phpto usegetProductListById(int $productListId [, $productsLimit = null ])instead - [4.2.23] cd-feat: New method
getProductListById(int $productListId [, $productsLimit = null ])in/ecommercen/eshop/models/Adv_product_list_model.php - [4.2.23] cd-fix: adv_login was calling old 404
- [4.2.23] ui-fix: fix error 404 call for template object - admin error_404loads it's own view
- [4.2.23] ui-fix: mail templates and subviews in emailViews.json
- [4.2.23] ui-fix:
AdvProductCardandAdvProductInputSpinnerusesstore.getters.cartProductCodeQuantity - [4.2.23] ui-fix: vueapp
store.getters.cartProductCodeQuantityreturns the cart item's quantity and not incremented by one - [4.2.23] cd-debt:
Adv_front_controlleruses captchaTrait so all front controllers have access there - [4.2.23] cd-fix: fix all captcha traits to have the same signature on method captchaCheck
- [4.2.22] ui-fix: font path for
_slick.scss - [4.2.22] ui-debt: update nodejs to 12.16.0 lts version and update package.json with latest package versions
- [4.2.22] cd-debt: update composer.json with latest package versions
- [4.2.21] ui-fix: AdminRelatedProducts images use img-responsive class as a workaround until resized images are served
- [4.2.20] cd-debt: update distributed components
Notes
- [4.2.28] run
php cli.php patch/patchDiscountsToZero - [4.2.28] check clients for template->config()->items()
- [4.2.26] removed
categories_model::getMenuCombo()old values are in extra notes - [4.2.25] add function
isFreePostalCodeSelectedin preview-order.js, add parampostalCodeintransferCostAdminand check withif (isFreePostalCodeSelected(postalCode)) { return 0.00 } - [4.2.25] add
var freeTransferPostalCodes = <?= json_encode($this->config->item('freeTransferPostalCodes')); ?>in footer_js preview order ection - [4.2.24] check if the last seen product in the product page use the vendor_logo instead of the logo
- [4.2.23]
app.phpconfig itemreviewschanged keys toreviewForFacebookandreviewForSkroutz- check clients for cronjobs - [4.2.23] remove emailProductsSummary key from template.json
- [4.2.23] to use captcha trait on controllers read extra notes
- [4.2.22] requires node 12.16.0. use
nvm install 12.16.0,nvm use 12.16.0and for each clients if he has same packages usenpm ciinstead ofnpm install - [4.2.22] requires
composer install
version 4.2.1x
Changelog
- [4.2.19] cd-fix: fix exception call to undefined method Api_cart::setError()
- [4.2.19] cd-feat: new
dateInRange(string $start, string $end, string $value) : boolhelper function to assist with date comparisons (in:MY_date_helper) - [4.2.19] ui-fix: typo in default layout meta
- [4.2.19] ui-fix: remove auto-generated
application/views/default/_template.scssfrom source code and added in gitignore rules - [4.2.19] ui-debt: allow Vue to be globally available at window (this causes debt and fails on ssr)
- [4.2.19] ui-debt: lint
preview-order.jsandtop-menu.js - [4.2.19] ui-fix: default template has no script apart from environment production scripts. all scripts are in
footer_js - [4.2.19] ui-fix:
webpack.mix.front.jsuses combine for bundles - [4.2.19] cd-feat: multiple related products
- [4.2.19] ui-fix: Fixed product list deletion button from admin panel (file:
\application\views\admin\product_lists\lists\list.php) - [4.2.18] cd-fix: Removed $checkoutView from
\ecommercen\eshop\controllers\Adv_order.php - [4.2.18] cd-feat: New class
\src\Template\Template.phpto usetempalte.json - [4.2.18] ui-update: Final file structure and
template.jsonkeys - [4.2.18] cd-fix: move lang values of default template from
front_langtodefault_theme_langand add a section indefault_theme_langfor client overrides - [4.2.18] cd-debt: remove developer template files
- [4.2.18] cd-debt: deprecate cart_helper previewOrder_cart function (scheduled for removal at 4.3)
- [4.2.18] cd-fix: missing order_created field in
categories.sql - [4.2.17] ui-feat: new header variation
header-w-logo-centered - [4.2.16] cd-fix: fix missing validation for preview order
useAddressvalue - [4.2.16] cd-fix: eslint for browser build instead of node
- [4.2.16] ui-feat:
application/config/template.jsonholds template layout and components views and scss - [4.2.15] cd-fix: fix admin orders undefined constant defaultCountrySettings in
footer_js
Notes
- [4.2.19] deprecate functions and schedule for removal at 4.3
related_product_model::getRelatedProductsList,related_product_model::getRelatedProductsFrontandproduct_model::getRelatedProducts - [4.2.19] deprecate functions and schedule for removal at 4.3
related_product_model::getRelatedProductsList,related_product_model::getRelatedProductsFrontandproduct_model::getRelatedProducts - [4.2.19] to add more related product groups add entry in
app.php. - [4.2.19] run
php cli.php patch/relatedProductGroups- includes schema update forgroup_idfield inshop_related_products - [4.2.18] needs composer dump, new php class
- [4.2.16] new validation rule in
MY_Form_validationorderAddress
Extra Notes
categories_model::getMenuCombo()
php
// old value for menu types - check clients what they where using
$config['categoryMenuTypes'] = [
0 => 'Γενικές Σελίδες',
1 => 'Σελίδες Προσφορών',
2 => 'Σελίδες Footer',
3 => 'Σελίδες Υγείας σε Αρχική',
4 => 'Σελίδες Ειδικός Τύπος 1',
5 => 'Σελίδες Ειδικός Τύπος 2',
6 => 'Σελίδες Ειδικός Τύπος 3',
7 => 'Σελίδες Ειδικός Τύπος 4',
8 => 'Σελίδες Ειδικός Τύπος 5',
9 => 'Κατηγορία Blog',
];Email Views Json
layouts are mail main views
components are loaded inside layouts with $emailViews
Captcha Trait Usage
on controllers needed
php
// Controllers validation
$this->setCaptchaValidationRule();
// render
$this->render['captchaMarkup'] = $this->getCaptchaClientMarkup();
$this->render['showCaptchaInput'] = $this->showCaptchaInput();
$this->render['js_bottom'] = $this->getCaptchaJavascript();Related Product Groups Notes
Default config item in app.php
php
$config['relatedProductGroups'] = [
[
'id' => 1,
'captionKey' => 'eshop.admin.related.product.group.1'
]
];where id is the group_id and captionLey value reads from admin_lang file
front queries are
related_product_model->getRelatedProductsGroupLeft($productId, $groupId)related_product_model->getRelatedProductsGroupLeftRight($productId, $groupId)related_product_model->getRelatedProductsLeft($productId)related_product_model->getRelatedProductsLeftRight($productId)
and return an array of related product ids excluding the requested product id
[4.2.14] New default template
Changelog Legend
for ui changes
- ui-feat
- ui-update
- ui-fix
- ui-debt
for code changes
- cd-feat
- cd-update
- cd-fix
- cd-debt
example
- [1.0.1] cd-fix: new order now validates postal code
- [1.0.1] cd-feat: new payment gateway
- [1.0.1] ui-feat: admin tables can be filtered by users
- [1.0.0] ui-fix: product card was displaying wrong price for final price
- [1.0.0] cd-debt: clean up checkout process
for previous changes check archive changelog