VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: DJWezzz on March 14, 2018, 16:52:51 PM

Title: Two Problems
Post by: DJWezzz on March 14, 2018, 16:52:51 PM
Good day,

Currently I am reasonably new with Virtuemart but with joomla years of experience.
However, I run into two problems, which I would like to get your help with it.
I use the following versions:
PHP 5.6.34 -> PHP 7.1
Joomla 3.8.6
Virtuemart 3.2.12
Problem 1, Adding second product gives Failure (Not reported on debug mode).
I would like to manage the product of the supplier from the backend. There are 2 managers and 10 suppliers (called vendor on virtuemart?).

What I did and how you could reconstruct yourself.

-   No files at FTP www root.
-   Download the most recent Full installer includes Joomla 3.8.3 with VirtueMart 3.2.12 installed
-   Upload all files to www root
-   Completed the installation.
-   Install Sample data virtuemart
-   Set safepath
-   Check Box administrated multi-vendor.
-   Set shop language to English
-   At joomla I set
-   Allow User Registration YES
-   Going to front-end and regrister the VENDOR2
-   Accept email url
-   Going to Joomla back-en user management.
-   Assigned VENDOR 2 to Super User
-   Going to VirtueMart Shoppers and make VENDOR2 a Vendor
-   Add new product and set at field vendor  VENDOR 2
-   Fill other needed fields with sample data.
-   Press Safe & Close.
-   Add new product

At this moment there is a error:
Error
COM_VIRTUEMART_ALERTNOTAUTHOR

Problem 2. When you add a product with field vendor are set to: VENDOR2 the VAT calculation module is not correct. (VATTAX(+%) are 21% )
When I set final at 10 and check Calculate the Cost price the will be added 21%.
At this moment the cost price will be 10 and the final price 12.
When i do the same at the main vendor, there are no problems.

I have tested on two different hosting company's.

I hope someone could help me further.
Sincerely,
Wesley



Title: Re: Two Problems
Post by: Jörgen on March 14, 2018, 19:53:05 PM
Where Do You see this Vat calculation ? The Vat calculation You see in backend is the same as if vendor2 would buy the product.

regards

Jörgen @ Kreativ Fotografi
Title: Re: Two Problems
Post by: DJWezzz on March 15, 2018, 00:50:10 AM
Hello Jörgen,

Thanks for fast reply. I have upload a movie to show what i did.
https://youtu.be/vwTWpcjM_cE (https://youtu.be/vwTWpcjM_cE)
I think this explain it easier.

Sincerely,
Wesley
Title: Re: Two Problems
Post by: Milbo on March 15, 2018, 15:09:50 PM
"-   Assigned VENDOR 2 to Super User"

This makes no sense! Someone working with the store is not another vendor. Another vendor can be an own legal entity. Please read http://docs.virtuemart.net/manual/general-concepts/211-multivendor.html
Title: Re: Two Problems
Post by: DJWezzz on March 15, 2018, 16:14:16 PM
 I thought I should choose multi vendor for this. I am looking for an opportunity to know which importer to order the sold items. Is there an option to choose the supplier / importer?

I want to be able to manage the products myself. The suppliers therefore do not add the products themselves.
Title: Re: Two Problems
Post by: aftertaf on March 15, 2018, 17:12:45 PM
hey
i use the 'manufacturers' feature for the suppliers.
Title: Re: Two Problems
Post by: DJWezzz on March 15, 2018, 18:15:27 PM
Thanks, that could be a possibility. But that is not desirable, all 103 manufactures have already been added. I also want the customer to sort on manufactures and that also works now.
Title: Re: Two Problems
Post by: DJWezzz on March 17, 2018, 15:08:15 PM
Does anyone have an idea how should this be? I can not continue with the manuals. There must be something that admin management can perform on products from the suppliers? And calculation rules of VAT seems to me a BUG at the moment.
Title: Re: Two Problems
Post by: jenkinhill on March 17, 2018, 17:06:50 PM
If your vendors are not adding products to the site or managing their orders then multi-vendor is the wrong way to do this. Like aftertal I would use manufacturers for your suppliers.  VAT issues are usually configuration issues, or rarely a misunderstanding of how VAT, rounding etc works.
Title: Re: Two Problems
Post by: DJWezzz on March 26, 2018, 20:30:50 PM
Thanks, problem 1 will be solved when i use VENDOR2 credentials. It's not the best solution, but I can live with it. VAT problem  Only the VAT problem remains as can be seen in the youtube movie.

https://youtu.be/vwTWpcjM_cE (https://youtu.be/vwTWpcjM_cE)



Title: Re: Two Problems
Post by: DJWezzz on April 04, 2018, 23:53:24 PM
Quote from: Milbo on March 15, 2018, 15:09:50 PM
"-   Assigned VENDOR 2 to Super User"

This makes no sense! Someone working with the store is not another vendor. Another vendor can be an own legal entity. Please read http://docs.virtuemart.net/manual/general-concepts/211-multivendor.html

Thanks Milbo, i have read the manual a lot of times.

Unfortunately without a working result. I have tried to apply per vendor VAT rule. This produces the same result. I have done without VAT calculation and then the gross and net price remains the same, that is correct.

Furthermore, the whole website is finished and everything works perfectly. I would like to live with the site.

The vat setting:
(https://www.secman.nl/images/custom/tax.JPG)
I really hope someone can help me further.
Title: Re: Two Problems
Post by: Jörgen on April 05, 2018, 07:24:14 AM
This shows 21 % In Your example You used 20 % tax. What happens if You reset final cost price to 10, tick calculate final cost price and press save ? Does it work then. Doing a lot of assignment (manufacturer, category etc) at once seems to break the cost price calculation.

regards

Jörgen @ Kreativ Fotografi
Title: Re: Two Problems
Post by: DJWezzz on April 06, 2018, 00:16:25 AM
That's right, 20% was standard data, but in the Netherlands this should be 21%. When I leave the cost price empty and tick calculate final cost price then the same result as in the video on the right. The price is moved from final to cost price and adds 21% to it (so double).

I have tried this in a clean installation, clean with basic installation of VM, but also with an installation filled with manufacter, categories etc. But in everything the same result.


Title: Re: Two Problems
Post by: DJWezzz on August 16, 2018, 01:52:48 AM
Should you end up on this topic? The problem involved a bug with multivendor and was resolved in the version of VirtueMart 3.2.14 and later. Thanks Max.