![]() |
Displaying (+$xx.xx) with Variants
We need to use Variant options to track separate sku's and inventory. However, we also want to display (+$xx.xx) in the Option's dropdown menu...the same way it does when an option is a Modifier.
Has anyone done this or know how to do this? I'd appreciate your insight! |
I've tried to modifying the code in the middle to display the variant price adjustment. But no luck. I did successfully add an if statement to identify a variant, but I can't seem to get the correct variable to display the variant price. Actually I'll need to calulate (Variant Price - Product Base Price) to get the variant's additional cost over the base price.
From: skin1/modules/Prodcut_Options/customer_options.tpl Code:
{if $v.is_modifier eq 'T'} |
Anyone? :cry: Looks like I'll may just ask XC support about it.
|
Maybe
I'm new to this but I happened across this mod in the "Custom Mods" Section that I am going to try to implement myself. I think this is what you are looking for, sorry if I am no help.
http://forum.x-cart.com/viewtopic.php?t=11022 |
Oh yeah
Don't Forget
I noticed you are on 4.0.12. When you are performing the mod make sure to read the entire post there are some changes to the mod to get it to work in 4.0.12. |
Thanks Jason. I came across that thread while searching too. Unfortunately, it does not address the same issue we're facing here.
When you create a "Modifier" product option in xc with a dollar amount assigned to it, the option dropdown will show ( +$xx.xx). However, when you create a "Variant" product option in xc with a dollar amount assigned to it, the option dropdown does not show ( +$xx.xx). In our case, we need to use the Variant method since it allows different skus to be assigned to each possibly option selection. the Modifier method does not support different skus for each option. The downside to using varaints is the customer cannot readily see the extra price of each option without first selecting the option and watching the price dynamically change. :( We've submitted this to xc to modify for us. Of course, it has taken 2 days just to get the right person to look at the issue. It will probably take another 3 days just to get the quote! They ask a question...we respond in minutes...then we get another follow-up question an entire day later! The xc customizaton services can definately use some adjustments to streamline the entire process. Different time zones can sometimes be challenging. But I have not had such problems working with other businesses on the other side of the world. XC shoudn't be any different. |
Okay I understand. I had not gotten to doing that mod or looking at in detail, I only made a point of remembering it because I need it on my store, but there are other mods I am trying to install currently.
From what you are saying our store also would benefit from the "Variant" Product Option, but I might get it to work with the "Modifier" if it means I can use that custom mod. With our store we have products such as a set of Rocker Panels, but they come in different sizes for a given application. Each different size has a different sku, but I'd rather display the "From" pricing like shown in that mod. So I think I'll just have to make do with the "Modifier". Thanks for clarifying for me, it will save me some time later on. |
All times are GMT -8. The time now is 07:38 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.