Author Topic: Call for Pricing items can be added to cart  (Read 703 times)

Nocturnaloner

  • Beginner
  • *
  • Posts: 18
Call for Pricing items can be added to cart
« on: July 10, 2013, 23:56:06 pm »
Items with no price can be added to the cart, and they are given a $0 price.  It doesn't matter whether the 'Call for Pricing' flag is set or not.  I think this started happening in 2.0.21g

Nocturnaloner

  • Beginner
  • *
  • Posts: 18
Re: Call for Pricing items can be added to cart
« Reply #1 on: July 11, 2013, 01:38:52 am »
I think I see a partial answer here.  In 2.0.21g I see that in the default product template, the "if it has no price, don't load the add to cart" logic has been commented out.  This is because it conflicts with the other fix you did, which had to do with child item pricing.  Of course, my client has both child item quantity price discounts AND call for pricing items.  Any eta on a fix?

Nocturnaloner

  • Beginner
  • *
  • Posts: 18
Re: Call for Pricing items can be added to cart
« Reply #2 on: July 11, 2013, 02:02:51 am »
Update: un-commenting the price check in the default product template made the add to cart button not display, as it should. 

My misunderstanding was that I had a parent item with no pricing, thus it qualified for both a child dropdown (custom field), and a call for pricing link.  After giving it a price, the call for pricing was hidden for this item, but CFP does now hide the add to cart button where appropriate.

Nocturnaloner

  • Beginner
  • *
  • Posts: 18
Re: Call for Pricing items can be added to cart
« Reply #3 on: July 11, 2013, 03:04:44 am »
Also, I had to give my parent item a price, which wiped out the price breaks again :(  I see you guys are dealing with a lot of related issues here. Hopefully, after we put these price breaks back in again for the dozenth time, they will stay.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10451
  • VM4.0.7 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Call for Pricing items can be added to cart
« Reply #4 on: July 11, 2013, 11:09:14 am »
I fear I need to see your webpage and need BE access to understand the problem correctly
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/