Announcement

Collapse
No announcement yet.

View Custom Product Field Based on Selected Variant on Product Page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bruce - PhosphorMedia
    replied
    Sorry to talk you out of job guys :), but, looking at your site. I don't think "hiding" that message is the right way to go. Instead, I'd use a custom field to just apply text like

    1 Gallon Size Ships Free

    Right above the dropdown.

    Reason being, the way you described it, they won't see the message until they select that option. You want to PROMOTE them selecting that option.

    Leave a comment:


  • ids
    replied
    Originally posted by greggc View Post
    I have some products that have multiple variants. Of these some qualify for free shipping and some do not. I would like to be able to show a custom product field on the product page that indicates the shipping message based on the variant selected. Can this be done?
    Yes, this can be done. Probably not a trivial task. I've done it using some Javascript/JQuery as customization in my Waitlist Integration. I'd send you a quote as you requested, but I also have a full plate. Let me know your urgency and I'll see if I can help.

    Scott

    Leave a comment:


  • Kent Multer
    replied
    I can do this, but not right away; my schedule is full for most of June. If you don't mind waiting, you can email me to discuss the project: Kent "at" TheMagicM "dot" com.

    Leave a comment:


  • greggc
    replied
    Also, I would need it wrapped in a conditional

    Leave a comment:


  • greggc
    replied
    Kent, that is correct. The message would change from free shipping to shipping charges apply or whatever I input into the custom variant field. Here is a link to one of the products I'm talking about. As you can see it is not very pretty.

    https://www.horseandkennel.com/farna...ncentrate.html

    Leave a comment:


  • Kent Multer
    replied
    Gregg, do you want the free-shipping message to appear and disappear as the customer makes different attribute selections on the product page? That will require some Javascript.

    Leave a comment:


  • greggc
    replied
    Thanks Bruce. I appreciate the attempt. You have helped me many times in the past. But honestly, I don't know what to do with this. I know this is probably a small job, but is important I have this functionality. If anybody wants to do this for me just send me a quote.

    Greg

    Leave a comment:


  • Bruce - PhosphorMedia
    replied
    This should work

    Code:
    <mvt:do file="g.Module_Library_DB" name="g.loadID" value="ProductList_Load_Variant(l.settings:group:p roduct:id, l.settings:group:variant_id, l.settings:variant)" />
    
    <mvt:do file="g.Module_Library_DB" name="l.success" value="Product_Load_Code(l.settings:variant[1]:code, l.settings:variant_product)" />
    <mvt:item name="customfields" param="Read_Product_Code(l.settings:variant_produc t:code,'custom_field_name', l.settings:variant_product:custom_field_name)" />

    Leave a comment:


  • View Custom Product Field Based on Selected Variant on Product Page

    I have some products that have multiple variants. Of these some qualify for free shipping and some do not. I would like to be able to show a custom product field on the product page that indicates the shipping message based on the variant selected. Can this be done?
Working...
X