VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: mark R on September 17, 2015, 17:22:43 PM

Title: [SOLVED] Custom Field Types/Variants - Not displaying on order / emailed order
Post by: mark R on September 17, 2015, 17:22:43 PM
Hi All,

## UPDATE 18/09/2015 - Solved - This issue was created by "Cart Input" being set to Yes on the Custom Field Configuration. I have now set this to no and it appears to be working ok.


I am having an issue with the Multi-Variants (sizes, colours) everything works fine, apart from they are not displaying on the Orders?

example :- Size : Small

I have upgraded to 3.0.9.10, and I am using Custom Label for my variants.

Any suggestions / help would be much appreciated.

Many thanks
Mark
Title: Re: Custom Field Types/Variants - Not displaying on order / emailed order
Post by: servlet on September 17, 2015, 18:11:27 PM
I dont understand your message but I have a problem with custom fields order.

I fill them in BE but in FE they are not in order. In BE I order them
Size
Color
Material

In FE it displays different order:
Material
Siza
Color

or other combination.

Sometimes after browser refresh there are changes.

I have a products with 5-6 drop down custom fields and they must order on write way, but everything is messed up. I cannot find logical explanation for this BUG.
Title: Re: Custom Field Types/Variants - Not displaying on order / emailed order
Post by: Studio 42 on September 17, 2015, 19:17:35 PM
Quote from: mark R on September 17, 2015, 17:22:43 PM
Hi All,

I am having an issue with the Multi-Variants (sizes, colours) everything works fine, apart from they are not displaying on the Orders?

example :- Size : Small

I have upgraded to 3.0.9.10, and I am using Custom Label for my variants.

Any suggestions / help would be much appreciated.

Many thanks
Mark

I had same problem with SKU, seems that field used in cart are missing in order view.
eg product_sku is order_item_sku in order
Title: Re: [SOLVED] Custom Field Types/Variants - Not displaying on order / emailed order
Post by: trevorbicewebdesign on September 19, 2015, 11:58:38 AM
I also was experiencing this same issue of the Multi-Variants not showing on orders (or in the cart). When I had set up Multi-Variant products, they would not save the selected variant info in the cart. I created a work-around for this issue by creating a new custom variable string, and saving the Multi Variant Data there. For instance, in addition to the Muilti-Variant you called 'Size' you would also have a custom field called 'Size'. In this field you would type the product size to match the Mutli-Variant value. Its a little cumbersome but it works.

Would prob be better for the Mutli-Variants to just show up but I didn't have time to start tracing that!
Title: Re: [SOLVED] Custom Field Types/Variants - Not displaying on order / emailed order
Post by: mark R on September 20, 2015, 12:20:54 PM
This issue is solved... please see initial post.

Sent from my SM-G901F using Tapatalk

Title: Re: [SOLVED] Custom Field Types/Variants - Not displaying on order / emailed order
Post by: Milbo on September 20, 2015, 18:49:14 PM
Nice, additionally you can now set a customfield "String", without cart attribute and so on... Just hidden, then the mv is also nice searchable
Title: Re: [SOLVED] Custom Field Types/Variants - Not displaying on order / emailed order
Post by: yonti on July 19, 2017, 15:09:17 PM
I have the same problem. I have the latest version (VirtueMart 3.2.2) but Multi-Variants not showing on orders (or in the cart).
Help would be much appreciated.

Many thanks
Title: Re: [SOLVED] Custom Field Types/Variants - Not displaying on order / emailed order
Post by: jenkinhill on July 19, 2017, 16:10:23 PM
Try later version, see http://forum.virtuemart.net/index.php?topic=137984
Title: Re: [SOLVED] Custom Field Types/Variants - Not displaying on order / emailed order
Post by: servlet on July 19, 2017, 16:56:24 PM
You can order them if you set order number database via PHPmyAdmin.
Title: Re: [SOLVED] Custom Field Types/Variants - Not displaying on order / emailed order
Post by: yonti on July 20, 2017, 12:21:00 PM
I have updated to VirtualMart.3.2.3.9587 but the Multi-Variants still not showing on orders (or in the cart).

Currently using VM3.2.3.9579 on Joomla 3.7.3 PHP 7.0.12

My websit is:-

http://ellee.se/index.php/hair-extensions/weft-hair-extensions/aenean-vehicula-vehic-4-detail

http://prntscr.com/fy0axz
http://prntscr.com/fy0b9j

Greetings
Yonatan
Title: Re: [SOLVED] Custom Field Types/Variants - Not displaying on order / emailed order
Post by: jenkinhill on July 20, 2017, 12:28:35 PM
It is a problem with your Joomla template. Using the following URL forces the VM content to use Protostar and default VM templates to show the product where the variants are visible in the cart:
http://ellee.se/index.php/component/virtuemart/cart?Itemid=2076?tmpl=component&template=protostar

You should contact your template supplier for an update.

Title: Re: [SOLVED] Custom Field Types/Variants - Not displaying on order / emailed order
Post by: yonti on July 20, 2017, 15:21:03 PM
I have been in contact with them for the last 2 weeks. They told me to ask virtuemart. I do not know what to do.
Is it difficult to change it?

Currently using VM3.2.3.9579 on Joomla 3.7.3 PHP 7.0.12


Many thanks
Yonatan
Title: Re: [SOLVED] Custom Field Types/Variants - Not displaying on order / emailed order
Post by: yonti on July 20, 2017, 17:47:49 PM
How can i order number database via PHPmyAdmin. Can you please tell me. i am not good in PHP.
Currently using VM3.2.3.9579 on Joomla 3.7.3 PHP 7.0.12
Help would be much appreciated.

Many thanks
Yonatan
Title: Re: [SOLVED] Custom Field Types/Variants - Not displaying on order / emailed order
Post by: jenkinhill on July 20, 2017, 19:01:11 PM
Quote from: yonti on July 20, 2017, 15:21:03 PM
I have been in contact with them for the last 2 weeks. They told me to ask virtuemart. I do not know what to do.
Is it difficult to change it?

The default VM template code in  joomlaroot/components/com_virtuemart/views/cart/tmpl/default_pricelist.php   is:


<?php echo JHtml::link ($prow->url$prow->product_name);
echo $this->customfieldsModel->CustomsFieldCartDisplay ($prow); ?>



It looks like they have not included the second line (or an equivalent) which displays the custom fields.  You bought this from smartaddons.com - they should support it. I notice their demo of the template includes shoes - but they have not included any option to select a size. That should have been a warning sign.
Title: Re: [SOLVED] Custom Field Types/Variants - Not displaying on order / emailed order
Post by: yonti on July 21, 2017, 01:40:27 AM
When i look joomlaroot/components/com_virtuemart/views/cart/tmpl/default_pricelist.php
the second line included but the custom fields not displays. When i create string custom fields it displays in the cart but when i create Multi-Variants custom fields  is not displays in the cart.

http://prntscr.com/fyahjl


Currently using VM3.2.3.9579 on Joomla 3.7.3 PHP 7.0.12
Title: Re: [SOLVED] Custom Field Types/Variants - Not displaying on order / emailed order
Post by: jenkinhill on July 21, 2017, 10:35:16 AM
That file is not being used by your template. There will be an override template file at templates/[your-joomla-template]/html/com_virtuemart/cart/
Title: Re: [SOLVED] Custom Field Types/Variants - Not displaying on order / emailed order
Post by: yonti on July 21, 2017, 18:23:42 PM
Dear Kelvyn
How is that possible...
I created a custom Field Type: string and one with Custom Field Type: Multi Variant for the same item (please see the link)
Custom Field Type: string is displays in the cart but
Custom Field Type: Multi Variant. is NOT displays in the cart

What is the difference between string and multi-variant Custom Field Type? If they have override template file how it is possible that the Custom Field Type: string is displays in the cart but not the Multi Variant.

How can i change it please help.

http://ellee.se/index.php/component/virtuemart/bela-eeee-detail?Itemid=2076

I have asked smartaddons without any response.

Many thanks
Yonatan

Currently using VM3.2.3.9579 on Joomla 3.7.3 PHP 7.0.12
Title: Re: [SOLVED] Custom Field Types/Variants - Not displaying on order / emailed order
Post by: yonti on July 24, 2017, 09:38:18 AM
in /html/com_virtuemart/cart/  is available cart, cart-new and cart-new1
i looked again
the second line is available on all 3 cart


http://prntscr.com/fzhqd0
http://prntscr.com/fzhrlr
http://prntscr.com/fzhsby


Many thanks
Yonatan

Currently using VM3.2.3.9579 on Joomla 3.7.3 PHP 7.0.12

Title: Re: [SOLVED] Custom Field Types/Variants - Not displaying on order / emailed order
Post by: jenkinhill on July 25, 2017, 15:10:40 PM
It it works OK in Protostar then it is a template override issue.  If you still have a problem with showing string & MV then check that the layout position is correct.

For examples of string/MV have a look at http://demo.virtuemart.net/ - both front and backend.

Title: Re: [SOLVED] Custom Field Types/Variants - Not displaying on order / emailed order
Post by: yonti on August 08, 2017, 14:50:15 PM
Hi Kelvyn
It does not work, I'm still waiting for answers from smartaddons.


I've had another problem with Multi Variant . I do not know if it's bug?

It's weird
In detail page
Length - When you change from 40cm to 50cm then you go to
"Description, Reviews and Others" and press "Others" and "Description" disappears and press "Reviews" and "Other" disappearances.

http://ellee.se/index.php/hair-extensions/weft-hair-extensions/aenean-vehicula-vehic-6ww-detail

http://prntscr.com/g56cp5

It behaves strange when you change the drop down button length and color for example It reacts very slowly

Regards
Yonatan

Currently using VM3.2.3.9579 on Joomla 3.7.3 PHP 7.0.12