Tax rate for each product
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Expert
- Posts: 274
- Joined: 27 Jun 2019, 16:19
Tax rate for each product
Hi, in product price I can set tax rate in %. And I want it to be considered to each product. But now for me it seems that greater % is only used when checkout. Or what is the current logic ? How to to make it consider tax % for each product ? Because I can set tax % for each price of each product
Re: Tax rate for each product
Don't know what you mean. Can you post a screenshot?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Expert
- Posts: 274
- Joined: 27 Jun 2019, 16:19
Re: Tax rate for each product
Aimeos, please, take a look at screenshots:
This two products have different taxes, 19 and 7 %
https://prnt.sc/pjov1m
https://prnt.sc/pjovfw
But on checkout shown only 19%. So only 19% is affected ? How can I make different taxes for different products to be affected ?
https://prnt.sc/pjovuq
This two products have different taxes, 19 and 7 %
https://prnt.sc/pjov1m
https://prnt.sc/pjovfw
But on checkout shown only 19%. So only 19% is affected ? How can I make different taxes for different products to be affected ?
https://prnt.sc/pjovuq
Re: Tax rate for each product
The price in your second screenshot doesn't match the price in the basket. Are these really the same products?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Expert
- Posts: 274
- Joined: 27 Jun 2019, 16:19
Re: Tax rate for each product
Sorry I just showed different products, but it doesn't matter, I wanted to show you what I mean. And I just have checked it again with right products, which have different taxes - 19 and 7 %. And I noticed in checkout the tax of first added product is shown. I think it is not logical, because we have the possibility to set different taxes but only one tax is used on checkout process.
Please, help me fix it
Please, help me fix it
Re: Tax rate for each product
OK, problem has been fixed: https://github.com/aimeos/ai-client-htm ... 1afe1ba2c9
Please run "composer update" (you will get aimeos/ai-client-html 2019.10.4) and adapt your local templates if necessary.
Please run "composer update" (you will get aimeos/ai-client-html 2019.10.4) and adapt your local templates if necessary.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Expert
- Posts: 274
- Joined: 27 Jun 2019, 16:19
Re: Tax rate for each product
Thank you a lot for the fixes! But I am afraid if I run composer update that packages may get new versions and my logic will be broken, because I have done a lot of customization with custom extension.
This is my composer part which is important in this case:
And this is my current versions, gotten with composer show:
Sorry, I know, this question more related to composer but not to aimeos. But I want to get updates only for that commit. Tell me, please, how do I do this? Maybe I need to set in composer exact versions of aimeos-laravel and some other packages, without "^"
This is my composer part which is important in this case:
Code: Select all
"require": {
"php": "^7.1.3",
"aimeos/ai-payments": "^2019.07",
"aimeos/aimeos-laravel": "2019.07.1",
"fideloper/proxy": "^4.0",
"laravel/framework": "5.8.*",
"laravel/tinker": "^1.0",
"omnipay/stripe": "^3.1",
"ext-zip": "*"
},
"require-dev": {
"beyondcode/laravel-dump-server": "^1.0",
"filp/whoops": "^2.0",
"fzaninotto/faker": "^1.4",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^3.0",
"phpunit/phpunit": "^7.5"
},
And this is my current versions, gotten with composer show:
Code: Select all
aimeos/ai-admin-jqadm 2019.07.9 Aimeos ai-admin-jqadm extension
aimeos/ai-admin-jsonadm 2019.07.3 Aimeos ai-admin-jsonadm extension
aimeos/ai-client-html 2019.07.10 Aimeos ai-client-html extension
aimeos/ai-client-jsonapi 2019.07.3 Aimeos JSON API extension
aimeos/ai-controller-frontend 2019.07.5 Aimeos ai-controller-frontend extension
aimeos/ai-controller-jobs 2019.07.6 Aimeos ai-controller-jobs extension
aimeos/ai-gettext 2019.07.1 Aimeos Gettext extension
aimeos/ai-laravel 2019.07.3 Laravel adapter for Aimeos web shops and e-commerce solutions
aimeos/ai-payments 2019.07.3 Payment extension for Aimeos web shops and e-commerce solutions
aimeos/ai-swiftmailer 2019.07.1 SwiftMailer adapter for Aimeos web shops and e-commerce solutions
aimeos/aimeos-core 2019.07.11 Full-featured e-commerce components for high performance online shops
aimeos/aimeos-laravel 2019.07.1 Professional, full-featured and high performance Laravel e-commerce package for online shops and complex B2B projects
beyondcode/laravel-dump-server 1.3.0 Symfony Var-Dump Server for Laravel
clue/stream-filter v1.4.1 A simple and modern approach to stream filtering in PHP
composer/installers v1.7.0 A multi-framework Composer library installer
dnoegel/php-xdg-base-dir 0.1 implementation of xdg base directory specification for php
doctrine/cache v1.8.0 Caching library offering an object-oriented API for many cache backends
doctrine/dbal v2.9.2 Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.
doctrine/event-manager v1.0.0 Doctrine Event Manager component
doctrine/inflector v1.3.0 Common String Manipulations with regard to casing and singular/plural rules.
doctrine/instantiator 1.2.0 A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer 1.1.0 PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.
dragonmantank/cron-expression v2.3.0 CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
egulias/email-validator 2.1.11 A library for validating emails against several RFCs
erusev/parsedown 1.7.3 Parser for Markdown.
fideloper/proxy 4.2.1 Set trusted proxies for Laravel
filp/whoops 2.5.0 php error handling for cool kids
fzaninotto/faker v1.8.0 Faker is a PHP library that generates fake data for you.
guzzlehttp/guzzle 6.3.3 Guzzle is a PHP HTTP client library
guzzlehttp/promises v1.3.1 Guzzle promises library
guzzlehttp/psr7 1.6.1 PSR-7 message implementation that also provides common utility methods
hamcrest/hamcrest-php v2.0.0 This is the PHP port of Hamcrest Matchers
jakub-onderka/php-console-color v0.2
jakub-onderka/php-console-highlighter v0.4 Highlight PHP code in terminal
laravel/framework v5.8.35 The Laravel Framework.
laravel/tinker v1.0.10 Powerful REPL for the Laravel framework.
league/flysystem 1.0.55 Filesystem abstraction: Many filesystems, one API.
mockery/mockery 1.2.3 Mockery is a simple yet flexible PHP mock object framework
moneyphp/money v3.2.1 PHP implementation of Fowler's Money pattern
monolog/monolog 1.25.1 Sends your logs to files, sockets, inboxes, databases and various web services
myclabs/deep-copy 1.9.3 Create deep copies (clones) of your objects
nesbot/carbon 2.24.0 A API extension for DateTime that supports 281 different languages.
nikic/php-parser v4.2.4 A PHP parser written in PHP
nunomaduro/collision v3.0.1 Cli error handling for console/command-line PHP applications.
omnipay/common v3.0.2 Common components for Omnipay payment processing library
opis/closure 3.4.0 A library that can be used to serialize closures (anonymous functions) and arbitrary objects.
paragonie/random_compat v9.99.99 PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
phar-io/manifest 1.0.3 Component for reading phar.io manifest information from a PHP Archive (PHAR)
phar-io/version 2.0.1 Library for handling version information and constraints
php-http/discovery 1.7.0 Finds installed HTTPlug implementations and PSR-7 message factories
php-http/guzzle6-adapter v1.1.1 Guzzle 6 HTTP Adapter
php-http/httplug v1.1.0 HTTPlug, the HTTP client abstraction for PHP
php-http/message 1.8.0 HTTP Message related tools
php-http/message-factory v1.0.2 Factory interfaces for PSR-7 HTTP Message
php-http/promise v1.0.0 Promise used for asynchronous HTTP requests
phpdocumentor/reflection-common 2.0.0 Common reflection classes used by phpdocumentor to reflect the code structure
phpdocumentor/reflection-docblock 4.3.2 With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.
phpdocumentor/type-resolver 1.0.1 A PSR-5 based resolver of Class names, Types and Structural Element Names
phpoption/phpoption 1.5.0 Option Type for PHP
phpspec/prophecy 1.8.1 Highly opinionated mocking framework for PHP 5.3+
phpunit/php-code-coverage 6.1.4 Library that provides collection, processing, and rendering functionality for PHP code coverage information.
phpunit/php-file-iterator 2.0.2 FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-text-template 1.2.1 Simple template engine.
phpunit/php-timer 2.1.2 Utility class for timing
phpunit/php-token-stream 3.1.1 Wrapper around PHP's tokenizer extension.
phpunit/phpunit 7.5.16 The PHP Unit Testing framework.
psr/container 1.0.0 Common Container Interface (PHP FIG PSR-11)
psr/http-message 1.0.1 Common interface for HTTP messages
psr/log 1.1.0 Common interface for logging libraries
psr/simple-cache 1.0.1 Common interfaces for simple caching
psy/psysh v0.9.9 An interactive shell for modern PHP.
ralouphie/getallheaders 3.0.3 A polyfill for getallheaders.
ramsey/uuid 3.8.0 Formerly rhumsaa/uuid. A PHP 5.4+ library for generating RFC 4122 version 1, 3, 4, and 5 universally unique identifiers (UUID).
sebastian/code-unit-reverse-lookup 1.0.1 Looks up which function or method a line of code belongs to
sebastian/comparator 3.0.2 Provides the functionality to compare PHP values for equality
sebastian/diff 3.0.2 Diff implementation
sebastian/environment 4.2.2 Provides functionality to handle HHVM/PHP environments
sebastian/exporter 3.1.2 Provides the functionality to export PHP variables for visualization
sebastian/global-state 2.0.0 Snapshotting of global state
sebastian/object-enumerator 3.0.3 Traverses array structures and object graphs to enumerate all referenced objects
sebastian/object-reflector 1.1.1 Allows reflection of object attributes, including inherited and non-public ones
sebastian/recursion-context 3.0.0 Provides functionality to recursively process PHP variables
sebastian/resource-operations 2.0.1 Provides a list of PHP built-in functions that operate on resources
sebastian/version 2.0.1 Library that helps with managing the version number of Git-hosted PHP projects
swiftmailer/swiftmailer v6.2.1 Swiftmailer, free feature-rich PHP mailer
symfony/console v4.3.4 Symfony Console Component
symfony/css-selector v4.3.4 Symfony CssSelector Component
symfony/debug v4.3.4 Symfony Debug Component
symfony/event-dispatcher v4.3.4 Symfony EventDispatcher Component
symfony/event-dispatcher-contracts v1.1.5 Generic abstractions related to dispatching event
symfony/finder v4.3.4 Symfony Finder Component
symfony/http-foundation v4.3.4 Symfony HttpFoundation Component
symfony/http-kernel v4.3.4 Symfony HttpKernel Component
symfony/mime v4.3.4 A library to manipulate MIME messages
symfony/polyfill-ctype v1.12.0 Symfony polyfill for ctype functions
symfony/polyfill-iconv v1.12.0 Symfony polyfill for the Iconv extension
symfony/polyfill-intl-idn v1.12.0 Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
symfony/polyfill-mbstring v1.12.0 Symfony polyfill for the Mbstring extension
symfony/polyfill-php72 v1.12.0 Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
symfony/polyfill-php73 v1.12.0 Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions
symfony/process v4.3.4 Symfony Process Component
symfony/psr-http-message-bridge v1.2.0 PSR HTTP message bridge
symfony/routing v4.3.4 Symfony Routing Component
symfony/service-contracts v1.1.6 Generic abstractions related to writing services
symfony/translation v4.3.4 Symfony Translation Component
symfony/translation-contracts v1.1.6 Generic abstractions related to translation
symfony/var-dumper v4.3.4 Symfony mechanism for exploring and dumping PHP variables
theseer/tokenizer 1.1.3 A small library for converting tokenized PHP source code into XML and potentially other formats
tijsverkoyen/css-to-inline-styles 2.2.1 CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.
vlucas/phpdotenv v3.6.0 Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.
webmozart/assert 1.5.0 Assertions to validate method input/output with nice error messages.
zendframework/zend-diactoros 1.8.7 PSR HTTP Message implementations
Re: Tax rate for each product
You have to use "aimeos/aimeos-laravel": "~2019.10" nevertheless as 2019.07.x isn't supported any more. All your template changes and other customizations are kept if you put them into your own, project specific Aimeos extension in the ./ext/ directory (e.g. ./ext/myproject/).
If you haven't done that yet, you must do it now! Otherwise, you either can't get updates or your changes will be overwritten!
If you haven't done that yet, you must do it now! Otherwise, you either can't get updates or your changes will be overwritten!
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Expert
- Posts: 274
- Joined: 27 Jun 2019, 16:19
Re: Tax rate for each product
But now I got problems with emails sending. Before I updated to "aimeos/aimeos-laravel": "~2019.10" I received email to buyer after checkout process even when order is not payed yet. I mean I saw this text:
The payment confirmation for your order is still pending.
You will get an e-mail as soon as the payment is authorized.
But I received an email. And after I updated the aimeos such email doesn't come. Is there some changes for this ?
My crontab is properly set up:
* * * * * php /var/www/schmuck/artisan aimeos:jobs "order/email/delivery order/email/payment order/email/voucher order/service/delivery"
Also I tried it manually
php /var/www/schmuck/artisan aimeos:jobs "order/email/delivery order/email/payment order/email/voucher order/service/delivery"
The payment confirmation for your order is still pending.
You will get an e-mail as soon as the payment is authorized.
But I received an email. And after I updated the aimeos such email doesn't come. Is there some changes for this ?
My crontab is properly set up:
* * * * * php /var/www/schmuck/artisan aimeos:jobs "order/email/delivery order/email/payment order/email/voucher order/service/delivery"
Also I tried it manually
php /var/www/schmuck/artisan aimeos:jobs "order/email/delivery order/email/payment order/email/voucher order/service/delivery"
Re: Tax rate for each product
No, there have been no breaking changes. Can you have a look into the Log panel if there are any errors after executing the jobs for sending e-mails?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star