Author Topic: Child/Multivariants  (Read 184 times)

Topknotch

  • Jr. Member
  • **
  • Posts: 94
  • VirtueMart Version: 3.2.12 on joomla 3
Child/Multivariants
« on: October 10, 2018, 10:51:01 am »
Hi,
I want to set the site to not display products that are out of stock. But I think if I set it to - 'Do not Display Product, if child products also out of stock' then if just one of the children is out of stock then the product will not display?
I want it to still show the products and if one of them is out of stock then to show 'notify me'

Is that possible?
Many thanks

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3399
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Child/Multivariants
« Reply #1 on: October 10, 2018, 11:42:25 am »
The system should only remove children who are not in stock in the list, but I have never checked the code in depth because it use a strange logic.
I wrote own codes for multi-childs to have something simpler to manage.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8200
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
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

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3399
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Child/Multivariants
« Reply #3 on: October 10, 2018, 13:00:14 pm »
@GJC Web Design
I know you can modify the code, but it's not the only problem i had to solve, i do not code for nothing

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8200
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Child/Multivariants
« Reply #4 on: October 10, 2018, 13:23:38 pm »
Hi Patrick,

post was meant for Topnotch

I agree .. out of the box I have found no way to get a "logical" display of parent-child stock relationships
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

Topknotch

  • Jr. Member
  • **
  • Posts: 94
  • VirtueMart Version: 3.2.12 on joomla 3
Re: Child/Multivariants
« Reply #5 on: October 15, 2018, 17:35:55 pm »
thanks guys, odd that there is no in built option.
Especially as the demo for the variants, shows t-shirts as an example. Its pretty obvious that if you are out of stock for one color that you would still want to sell the other colors?!

What issues does the code changing that GJC mentions cause ?
Thanks

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8200
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Child/Multivariants
« Reply #6 on: October 15, 2018, 21:07:31 pm »
Quote
What issues does the code changing that GJC mentions cause ?

????  It SOLVES your issue
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