News:

Support the VirtueMart project and become a member

Main Menu

customfield override not working in category layout.

Started by skhn123, August 07, 2014, 09:06:06 AM

Previous topic - Next topic

skhn123

Hello Members!

I try to override my VM 2.6.0 category layout to display custom fields and add-to-cart button but its only displaying cart button and quantity box. dont know what the problem is i have created custom fields (Cart Variant) and also add it to products but somehow its not working. searched forum but no luck yet.

I am attaching my default.php file for reference.

Thank You
Sadique

[attachment cleanup by admin]

GJC Web Design

Unlikely you will get cart varients to work on a cat page - this is why add to cart was never offered officially on cat pages

Good news is it works out of the box on 2.9.9 (soon to be released VM3.0)

You could try a test site first with this (don't just upgrade your live site without testing!)

You should any way be on 2.6.6 at least...
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

skhn123

Hello GJC

I know i should upgrade but i have done so much changes so cant risk it yet. Furthermore i have successfully implemented those codes in VM 2.6.26D however no luck in VM 2.6.0.  and yes i am testing 2.9.9 in local server and its really awesome to have such feature preloaded.

Anyway Thanks.
Sadique