No products are loaded into the cart - Multivendor option - VM 3.0.17.4

Started by giniapo, July 21, 2016, 20:50:17 PM

Previous topic - Next topic

giniapo

No products are loaded into the cart when the option "The first product determines the seller of cart" is enabled (in the multi-vendor Virtuemart configuration) and the products belongs to a vendor other than the principal.
With this option enabled, if I select a product that, has previously added a a vendor other than the principal, do not load in the cart.


Anyone else's happening this ?.

I have VM 3.0.17.4 and Joomla 3.6

Milbo

Are you sure it is connected to the product of the other vendor and the mode? I cannot reproduce it.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

giniapo

Yes , I'm sure. I have tried several products from several vendors and (if not the main vendor) does not add products to cart.

Can you think of any reason for this failure?

Thanks

Milbo

Please use the last vm3.0.17.4, I reupped it. http://dev.virtuemart.net/attachments/download/1010/com_virtuemart.3.0.17.4_extract_first.zip


if(VmConfig::get('multixcart',0)=='byproduct'){
if(empty($this->vendorId)) $this->vendorId = $product->virtuemart_vendor_id;
if(!empty($this->vendorId) and $this->vendorId != $product->virtuemart_vendor_id){
//Product of another vendor recognised, for now we just return false,
//later we will create here another cart (multicart)
return false;
}
}

yeh it is blocked. The idea is here to create another cart. What do you want to achieve with it?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

VopoloS

Similar problem: http://forum.virtuemart.net/index.php?topic=135069.msg469814#msg469814

And I understand that it is the duration of the session. While the database is not clear table #_session, then put in the cart another vendor is not possible. But it is a wrong decision. Is there a solution to this problem? Installed VM 3.0.17.4

I want the buyer (customer) to enjoy the goods of one Vendor- one order, and whatever session it is not "kept".

Milbo

"then put in the cart another vendor is not possible"

Then you must use another mode.

"The first product determines the seller of cart" means that the first product determines the vendor, it is plant to add multicart, that means, if you add a product of another vendor, then you should get another cart.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

VopoloS

Quote from: Milbo on August 06, 2016, 13:08:17 PM
"then put in the cart another vendor is not possible"

Then you must use another mode.

"The first product determines the seller of cart" means that the first product determines the vendor, it is plant to add multicart, that means, if you add a product of another vendor, then you should get another cart.

Oh! I got it! We force the buyer (customer) to log out, then forced to go again, that would create a new session, and only then he can place an order for products from another vendor?

GJC Web Design

QuoteWe force the buyer (customer) to log out, then forced to go again, that would create a new session, and only then he can place an order for products from another vendor?

yes-- this is how I understand it works
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

VopoloS

Thank you.
Could You tell me why when you enable the multi vendor cease to display product categories on the main page VM?

Milbo

lol, heck no.

Use ebay and you will understand how it is meant. NOT the stupid way you wanna ass me
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

VopoloS

Quote from: Milbo on August 07, 2016, 16:31:28 PM
lol, heck no.

Use ebay and you will understand how it is meant. NOT the stupid way you wanna ass me
Are you okay?

Milbo

lol, come on.
Quote from: Milbo on August 06, 2016, 13:08:17 PM
"The first product determines the seller of cart" means that the first product determines the vendor, it is plant to add multicart, that means, if you add a product of another vendor, then you should get another cart.

Quote from: VopoloS on August 06, 2016, 14:46:54 PM
Oh! I got it! We force the buyer (customer) to log out, then forced to go again, that would create a new session, and only then he can place an order for products from another vendor?

Did I talk about logout? Did I talk about forcing? Did I talk about Sessions? No, I did not. So your answer is sarcastic and has almost nothing todo with what I said.

When you buy something at ebay, lets say 3 products by 2 vendors, you will get TWO carts. The mode is not finished yet. The code cannot create different carts per vendor, but the mode, you selected is meant for that case.

So when you buy products from 2 different vendors, it should display 2 cart modules and you would have to checkout two times. But as I said, this mode is not finished yet. You may also read here https://docs.virtuemart.net/manual/general-concepts/211-multivendor.html

When you need multicart, consider to buy a gold membership for this purpose.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

VopoloS

Milbo, I'm not being snarky. I'm trying to understand how it works. To adapt the current version under the necessary requirements of an online store. Thanks for the reply.

Milbo

Multivendor is very confusing, because there exists so many different models of it.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

VopoloS

Hello Milbo.
I return to the question: why can't I see the list of categories on the main page of VM? This is so conceived or in process of development? Can I see code where a list of categories? Sorry I do not fully understand this problem and please explain. The customer asks, I still can not answer.