VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: mcole on July 28, 2016, 19:23:23 PM

Title: Product name not appearing in cart and cannot select state, region in bill to
Post by: mcole on July 28, 2016, 19:23:23 PM
Virtuemart 3.0.16 / Joomla 3.6.0

The cart is not showing the names of the items in it, yet they are there. There's a price for them.

Also, in the ""Bill To" area I cannot select a state in the drop down. There appear to be no states.

The attachments are examples of what I'm talking about. I include both because I think they are related.

I am using a JoomlaXTC template called PawCreative. It is not made to work with Virtuemart, but they do have templates that do. I didn't know I should have used a VM compatible template before I started. Now I don't want to start over.

Can I get your opinions of it?

cwp-creative.com

Thanks for your help.

-Matt
Title: Re: Product name not appearing in cart and cannot select state, region in bill to
Post by: MagikCommerce on July 29, 2016, 15:51:23 PM
Hello,

First of all you should check compatibility of template with virtuemart.

Please try with debugging code in overrided file - /templates/selected_template/html/com_virtuemart/cart/default.php.

Please check entries of Countries and States through backen for the drop down of State in the "Bill To" area.
Title: Re: Product name not appearing in cart and cannot select state, region in bill to
Post by: GJC Web Design on July 29, 2016, 16:52:08 PM
test and compare your over ride code etc with the default Protostar template

build and prove your site functionality with std protostar then move to templating it
Title: Re: Product name not appearing in cart and cannot select state, region in bill to
Post by: mcole on July 29, 2016, 19:17:16 PM
MagikCommerce
First of all you should check compatibility of template with virtuemart.
-The template is not an ecommerce template. It did not come with virtuemart. I added it. I have contacted the developer and have not heard back yet. I really would not like to start this project over, if I don't have to.

Please try with debugging code in overrided file - /templates/selected_template/html/com_virtuemart/cart/default.php.
This file does not have an override

Please check entries of Countries and States through backen for the drop down of State in the "Bill To" area.
Only United States is selected as country and every state is published.


GJC Web Design
test and compare your over ride code etc with the default Protostar template

build and prove your site functionality with std protostar then move to templating it

Ok, the cart works as expected with Protostar. The "Bill To" State is still not working, so perhaps the two things are not related?

I will start to check the overrides and see what I find.
Title: Re: Product name not appearing in cart and cannot select state, region in bill to
Post by: GJC Web Design on July 29, 2016, 19:19:31 PM
QuoteThe "Bill To" State is still not working

this is fetched by JS ajax calls so there must be no JS errors on your site

Check the console for errors
Title: Re: Product name not appearing in cart and cannot select state, region in bill to
Post by: mcole on July 29, 2016, 19:28:56 PM
Thank you!

Yes that is exactly what I thought, but I'm seeing no errors in the console.

(https://www.cwp-creative.com/images/console.PNG)

It appears that I should just bite the bullet and work with a new Virtuemart friendly template.
Title: Re: Product name not appearing in cart and cannot select state, region in bill to
Post by: GJC Web Design on July 29, 2016, 19:47:07 PM
the best and friendliest you will find are from Spyros at https://www.olympianthemes.com/

highly recommend..
Title: Re: Product name not appearing in cart and cannot select state, region in bill to
Post by: Jumbo! on July 29, 2016, 20:20:55 PM
I do not see the Country field enabled in your site. State field can not get populated unless you have the Country field published. Enable the shopper field and check again.
Title: Re: Product name not appearing in cart and cannot select state, region in bill to
Post by: mcole on July 29, 2016, 20:25:49 PM
Wow! I have no idea how you found that but that was it. Country was unpublished in shopper fields. Not sure how, but that was definitely the problem with that!

Thank you!