Author Topic: Product prices not updating in Category View  (Read 251 times)

cjsmiff

  • Beginner
  • *
  • Posts: 8
  • A beginner
Product prices not updating in Category View
« on: March 07, 2019, 22:47:17 pm »
Hi,

I have a problem in that the price does not update on the Category View page when an option that costs more than the base price is selected.

Product Page.. everything works as expected.
https://www.cooksroom.co.uk/2demo/zola-matte-paint-to-order-true-handleless/high-line-base-units.html

Any idea how I can fix this on the Category View page please?

I have only 2 template overrides (Sublayouts - products_horizon.php and products_slim.php) and have tried removing these. I have also tried changing my template to the Joomla default and the problem is the same.

I am using VM 3.4.2 with Joomla 3.9.3.

Kind Regards
Claire  :D

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8828
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Product prices not updating in Category View
« Reply #1 on: March 07, 2019, 23:09:20 pm »
you have a huge number of change events attached to the select and the ajax call doesn't fire at all

on standard vm I only see 2 -- vmprices and jq

try disabling customfields for all and your menu

why have all that js junk for a simple dropdown menu? .. just use some css
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

cjsmiff

  • Beginner
  • *
  • Posts: 8
  • A beginner
Re: Product prices not updating in Category View
« Reply #2 on: March 17, 2019, 00:01:01 am »
Hi,

Thank you for your reply. The menu came with the Joomla template but the price changes don’t work using the default Joomla template either.

I have just done a test using a string custom field and disabled the custom fields for all but the result is the same. The prices do not update on the product listing pages, they do update on the actual product page.

The tests you suggested I had already performed before posting here.

 :)

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27280
  • Always on vacation
    • Jenkin Hill Internet
Re: Product prices not updating in Category View
« Reply #3 on: March 17, 2019, 14:31:48 pm »
Have you selected "Cart Input" for your custom field configuration?
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.3.10026 on Joomla 3.9.4 PHP 7.0.33
Testing VM 3.4.3.10026 on Joomla 3.9.4

cjsmiff

  • Beginner
  • *
  • Posts: 8
  • A beginner
Re: Product prices not updating in Category View
« Reply #4 on: March 17, 2019, 15:55:28 pm »
Hi Jenkinhill,

Yes, customs fields have cart input set.  :D

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1972
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: Product prices not updating in Category View
« Reply #5 on: March 17, 2019, 19:50:39 pm »
You have an template error, You are missing the class "product-container" in your category view.

Jörgen @ Kreativ Fotografi
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3419
  • using Matomo instead of Google Analytics
Re: Product prices not updating in Category View
« Reply #6 on: March 17, 2019, 20:36:31 pm »
Looks to me like the old 'Forte' template by Shape5, bundled with some third-party-addons of which some are dating back as far as 2012.
Did you get your template here? https://www.joomlart.com/member/downloads/shape5/free-joomla-templates/s5-forte
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

cjsmiff

  • Beginner
  • *
  • Posts: 8
  • A beginner
Re: Product prices not updating in Category View
« Reply #7 on: March 18, 2019, 23:27:47 pm »
You have an template error, You are missing the class "product-container" in your category view.

Jörgen @ Kreativ Fotografi

Bingo! Thank you!  :D

Except! That I can't figure out where to put it in the category/default.php file, everywhere I try it makes the prices update but it changes all other product prices to the same price too.

Any ideas where I should put it please? :D :D

cjsmiff

  • Beginner
  • *
  • Posts: 8
  • A beginner
Re: Product prices not updating in Category View
« Reply #8 on: March 18, 2019, 23:30:18 pm »
Looks to me like the old 'Forte' template by Shape5, bundled with some third-party-addons of which some are dating back as far as 2012.
Did you get your template here? https://www.joomlart.com/member/downloads/shape5/free-joomla-templates/s5-forte

Hi JJK,

Many thanks for you reply. Yes, you are right but my initial problem here is now solved.
Thanks again  :D :D :D

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1972
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: Product prices not updating in Category View
« Reply #9 on: March 19, 2019, 06:50:29 am »
Glad You could solve it.

Jörgen @ Kreativ Fotografi
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)