Author Topic: No products are loaded into the cart - Multivendor option - VM 3.0.17.4  (Read 2762 times)

giniapo

  • Beginner
  • *
  • Posts: 2
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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10001
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Are you sure it is connected to the product of the other vendor and the mode? I cannot reproduce it.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

giniapo

  • Beginner
  • *
  • Posts: 2
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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10001
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
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

Code: [Select]
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?
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

VopoloS

  • Jr. Member
  • **
  • Posts: 55
Re: No products are loaded into the cart - Multivendor option - VM 3.0.17.4
« Reply #4 on: August 05, 2016, 18:47:18 pm »
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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10001
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: No products are loaded into the cart - Multivendor option - VM 3.0.17.4
« Reply #5 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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

VopoloS

  • Jr. Member
  • **
  • Posts: 55
Re: No products are loaded into the cart - Multivendor option - VM 3.0.17.4
« Reply #6 on: August 06, 2016, 14:46:54 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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9246
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: No products are loaded into the cart - Multivendor option - VM 3.0.17.4
« Reply #7 on: August 07, 2016, 10:45:30 am »
Quote
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?

yes-- this is how I understand it works
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

VopoloS

  • Jr. Member
  • **
  • Posts: 55
Re: No products are loaded into the cart - Multivendor option - VM 3.0.17.4
« Reply #8 on: August 07, 2016, 15:23:53 pm »
Thank you.
Could You tell me why when you enable the multi vendor cease to display product categories on the main page VM?

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10001
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: No products are loaded into the cart - Multivendor option - VM 3.0.17.4
« Reply #9 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
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

VopoloS

  • Jr. Member
  • **
  • Posts: 55
Re: No products are loaded into the cart - Multivendor option - VM 3.0.17.4
« Reply #10 on: August 07, 2016, 16:43:04 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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10001
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: No products are loaded into the cart - Multivendor option - VM 3.0.17.4
« Reply #11 on: August 08, 2016, 09:23:00 am »
lol, come on.
"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?

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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

VopoloS

  • Jr. Member
  • **
  • Posts: 55
Re: No products are loaded into the cart - Multivendor option - VM 3.0.17.4
« Reply #12 on: August 09, 2016, 05:16:34 am »
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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10001
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: No products are loaded into the cart - Multivendor option - VM 3.0.17.4
« Reply #13 on: August 09, 2016, 10:08:46 am »
Multivendor is very confusing, because there exists so many different models of it.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

VopoloS

  • Jr. Member
  • **
  • Posts: 55
Re: No products are loaded into the cart - Multivendor option - VM 3.0.17.4
« Reply #14 on: August 11, 2016, 07:18:47 am »
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.