I installed uc_varprice, and it seems I can Edit -> Features and add the variable price feature. However, when I save it:

  • I can still add the same feature over and over again, each time with different settings. This seems a malfunction.
  • No data seems to be written into the uc_varprice_products table, which mystifies me.
  • Worst of all, the product page simply displays the ordinary sell price. It's as if nothing happened.

Using ubercart-6.x-2.9.

Please let me know if I can provide any further data. Thank you!

Comments

Anonymous’s picture

Title: uc_varprice lets you add a feature, but does not write to uc_varprice_products nor actually show the editable price » uc_varprice requires selectable variable price -- can't have only arbitrary variable price
Priority: Critical » Normal

I played with the settings a bit more, and got this price to show up. I changed the title to reflect this. Two changes:

1.) I added a default variable price to the product class. I haven't tested whether this was necessary (probably not), but I mention it in case #2 doesn't work. Incidentally, this default price showed up in the uc_varprice_products table, so it looks like I simply guessed wrong as to where this module stores individual product variable prices.

2.) Enable selectable variable prices. Originally, I only wanted to have an arbitrary price, so I left Enable selectable variable prices unchecked. Mysteriously, my product now had no price at all. This time, I enabled the selectable variable price, and now I get both selectable variable prices and an arbitrary variable price.

This could be some quirk on my system, but if the module only lets you have an arbitrary variable price if you have also enabled selectable variable prices, that seems like a bug.

Anonymous’s picture

Issue summary: View changes

Clarified.