Print Page | Close Window

Getting rid of drop down in Apparel Product

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart Add-on's
Forum Name: Apparel Add-on
Forum Description: All topics concerning the use of the Apparel Add-on
URL: https://forum.productcart.com/forum_posts.asp?TID=5183
Printed Date: 21-November-2024 at 8:06am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Getting rid of drop down in Apparel Product
Posted By: jdunham
Subject: Getting rid of drop down in Apparel Product
Date Posted: 21-June-2012 at 4:06pm
How would I make it so that if one of the options in an apparel product only has one available option, the drop down menu is removed and the one available option is listed in its place as text?

Here is a product on our site where there is only one option for "color":
http://www.knotandrope.com/Store/pc/viewPrd.asp?idproduct=620&idcategory=26" rel="nofollow - http://www.knotandrope.com/Store/pc/viewPrd.asp?idproduct=620&idcategory=26

Thank you,
Jeff



Replies:
Posted By: Greg Dinger
Date Posted: 21-June-2012 at 4:15pm
That would require significant expertise Jeff. The dropdown is a form element, and Javascript processes those form elements in the process of the "add to cart" and other related actions.  I predict this will take a great deal of effort, potentially rendering this difficult to cost-justify.

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: Hamish
Date Posted: 21-June-2012 at 5:46pm
Hi,
  Take a look at http://www.productcarthost.com/store/pc/viewPrd.asp?idproduct=133%20" rel="nofollow - http://www.productcarthost.com/store/pc/viewPrd.asp?idproduct=133
This is an apparel product generated with a single set of options. e.g. Just length, not color & length.

I'll update the WIKI to make it clear that this is possible.




-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: Hamish
Date Posted: 21-June-2012 at 6:43pm
Wish I'd read the WIKI first - it was already there. Should take my own advice a bit more often Embarrassed

-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: Guests
Date Posted: 21-June-2012 at 8:15pm
Hamish,

I'm curious about your answer here, but the link to the store you posted doesn't work (product not available -- even with &adminPreview=1), and I'm not sure what you're referencing in the wiki.

Could you give us something to see here, please?


Posted By: Hamish
Date Posted: 21-June-2012 at 8:36pm
Hi, Oops, I trimmed it a bit to far. Try http://www.productcarthost.com/store/pc/viewPrd.asp?idproduct=1334&idcategory=131" rel="nofollow - http://www.productcarthost.com/store/pc/viewPrd.asp?idproduct=1334&idcategory=131
The admin pages are also accessible via our demo launch page : http://www.earlyimpact.com/productcart/addon-apparel-demo.asp" rel="nofollow - http://www.earlyimpact.com/productcart/addon-apparel-demo.asp
The Blue Rope demo product is an apparel product with only one option group (length) attached to it and used to generate the sub-products. The reason for using the options to generate the sub-products, even though it is a single option group is to allow the features of an apparel sub-product (e.g. weight etc) to be utilised.


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: Guests
Date Posted: 21-June-2012 at 9:27pm
Thanks, Hamish ... but I don't see how that answer's Jeff's question:
Originally posted by jdunham jdunham wrote:

How would I make it so that if one of the options in an apparel product only has one available option, the drop down menu is removed and the one available option is listed in its place as text?

Here is a product on our site where there is only one option for "color":
http://www.knotandrope.com/Store/pc/viewPrd.asp?idproduct=620&idcategory=26" rel="nofollow - http://www.knotandrope.com/Store/pc/viewPrd.asp?idproduct=620&idcategory=26

Jeff, 

One thing you could do that's a built-in step in the result I believe you are looking for is to set the sub-product for the option group that has only the one option as the default option. I think this was introduced in version 4.5a -- next to the Active check box, there's a "Default" radio button. Checking that will set that sub-product as the selected default when the page loads. 

I just set the example product Hamish mentions above to default to the first sub-product option this way so you can get a visual on this.


Posted By: Hamish
Date Posted: 22-June-2012 at 3:13am
Hi Sean, The idea was to remove Blue as an option, because for this product it's not an option as the rope is only available in blue.
Your observation about setting the default sub-product is a good option though as it will set the color "option" to Blue so the customer no longer needs to set it, however the dropdown for color will still be there, so I expect many customers would click on it, if only out of curiosity about what other colors may be available. It is the least effort to implement though as the sub-products don't need to be re-built.
   

-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: Guests
Date Posted: 22-June-2012 at 4:01am
Thanks, Hamish.

I get it now: the (parent) product and the color are redundant, so no need to have the color option; the only real option is size/length.

I was too focused on the option being there in the first place.

For whatever the "default sub-product" option is worth, it would be better in this case to set the options to display as radio buttons. This would then cause the size/length options to display this way too, but these products don't appear to have many size/length options, so that wouldn't be much of a downside. 

In fact, the more I think about it, the more this might could be a very nice solution for the other products in this category as none of them have a color in their name, so some textual description of the color (e.g.: red & white mottled; green & white striped; orange).

What's more, the parent product has no price, so the "per foot price" could be set as the default, and then the page would load with a price rather than $0.00.

Ah, looks like Jeff has already set a couple of these products with these defaults (e.g.  http://www.knotandrope.com/Store/pc/viewPrd.asp?idproduct=611&idcategory=26" rel="nofollow - http://www.knotandrope.com/Store/pc/viewPrd.asp?idproduct=611&idcategory=26) . Change the display to use radio buttons rather than "drop down menus", and I think this solution would be quite nice here, in this context.


Posted By: jdunham
Date Posted: 22-June-2012 at 9:10am
Thank you everyone for your replies. We just upgraded the version of PC a couple of week's ago and before the upgrade, and be I was brought on board, there was some code that was previously written to take the drop down away and of course with the upgrade, the code was over written.  I will continue with some of your suggestions and figure out what will work the best.  Especially since we are also in the middle of a complete re-design of the site.

Thanks!


Posted By: jdunham
Date Posted: 22-June-2012 at 9:51am
One other question, how do I get the apparel products to have the "More Info" button instead of "Add to Cart"?


Posted By: Guests
Date Posted: 28-June-2012 at 12:40pm
Hmm. Something's amiss. Apparel products should never show the add to cart button on any page but the product page as by definition option selection is required. Only the more details button should display on home, category, search & other pages where products are displayed.

For example, this page is functioning correctly:
http://www.knotandrope.com/store/pc/showbestsellers.asp" rel="nofollow - http://www.knotandrope.com/store/pc/showbestsellers.asp

Your category and search results pages appear to have been customized incorrectly.


Posted By: jdunham
Date Posted: 28-June-2012 at 1:32pm
Would it be because most of are products are shown in "list" view and not grid as the link above is?


Posted By: Guests
Date Posted: 28-June-2012 at 4:31pm
No, something's been changed/customized.

Here are the various displays on a category page with apparel products on a stock site (PC 4.6a):

Horizontal:
http://pc46a-wms-net.3060.wmsmerchantservices.com/store/pc/viewcategories.asp?idcategory=3&pageStyle=h" rel="nofollow - http://pc46a-wms-net.3060.wmsmerchantservices.com/store/pc/viewcategories.asp?idcategory=3&pageStyle=h

Vertical:
http://pc46a-wms-net.3060.wmsmerchantservices.com/store/pc/viewcategories.asp?idcategory=3&pageStyle=p" rel="nofollow - http://pc46a-wms-net.3060.wmsmerchantservices.com/store/pc/viewcategories.asp?idcategory=3&pageStyle=p

List:
http://pc46a-wms-net.3060.wmsmerchantservices.com/store/pc/viewcategories.asp?idcategory=3&pageStyle=l" rel="nofollow - http://pc46a-wms-net.3060.wmsmerchantservices.com/store/pc/viewcategories.asp?idcategory=3&pageStyle=l

List with multiple add to cart:
http://pc46a-wms-net.3060.wmsmerchantservices.com/store/pc/viewcategories.asp?idcategory=3&pageStyle=m" rel="nofollow - http://pc46a-wms-net.3060.wmsmerchantservices.com/store/pc/viewcategories.asp?idcategory=3&pageStyle=m

Here are the same layouts on a category page with standard products (one of which has required options):

Horizontal:
http://pc46a-wms-net.3060.wmsmerchantservices.com/store/pc/viewcategories.asp?idcategory=2&pageStyle=h" rel="nofollow - http://pc46a-wms-net.3060.wmsmerchantservices.com/store/pc/viewcategories.asp?idcategory=2&pageStyle=h

Vertical:
http://pc46a-wms-net.3060.wmsmerchantservices.com/store/pc/viewcategories.asp?idcategory=2&pageStyle=p" rel="nofollow - http://pc46a-wms-net.3060.wmsmerchantservices.com/store/pc/viewcategories.asp?idcategory=2&pageStyle=p

List:
http://pc46a-wms-net.3060.wmsmerchantservices.com/store/pc/viewcategories.asp?idcategory=2&pageStyle=l" rel="nofollow - http://pc46a-wms-net.3060.wmsmerchantservices.com/store/pc/viewcategories.asp?idcategory=2&pageStyle=l

List with multiple add to cart:
http://pc46a-wms-net.3060.wmsmerchantservices.com/store/pc/viewcategories.asp?idcategory=2&pageStyle=m" rel="nofollow - http://pc46a-wms-net.3060.wmsmerchantservices.com/store/pc/viewcategories.asp?idcategory=2&pageStyle=m



Posted By: GreggS
Date Posted: 27-July-2012 at 3:51pm
Originally posted by Sean@WMS Sean@WMS wrote:

One thing you could do that's a built-in step in the result I believe you are looking for is to set the sub-product for the option group that has only the one option as the default option. I think this was introduced in version 4.5a -- next to the Active check box, there's a "Default" radio button. Checking that will set that sub-product as the selected default when the page loads. 

I just set the example product Hamish mentions above to default to the first sub-product option this way so you can get a visual on this.


I had a question about this in a previous post.  The version of ProductCart we have is v4.5bcmMs.  Our option screen looks exactly like the one in the link below.  I don't see an option to make one of the options the default option.

http://wiki.earlyimpact.com/_detail/productcart/pc35_screen_product_options.gif?id=productcart%3Aproducts_options" rel="nofollow - http://wiki.earlyimpact.com/_detail/productcart/pc35_screen_product_options.gif?id=productcart%3Aproducts_options

There was also a mention of switching from drop downs to radio buttons.  Where would I go to change that?


Posted By: Greg Dinger
Date Posted: 27-July-2012 at 4:07pm
<<<switching from drop downs to radio buttons>>>
product admin, apparel settings.


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: Guests
Date Posted: 27-July-2012 at 4:59pm
Originally posted by GreggS GreggS wrote:



I had a question about this in a previous post.  The version of ProductCart we have is v4.5bcmMs.  Our option screen looks exactly like the one in the link below.  I don't see an option to make one of the options the default option.

http://wiki.earlyimpact.com/_detail/productcart/pc35_screen_product_options.gif?id=productcart%3Aproducts_options" rel="nofollow - http://wiki.earlyimpact.com/_detail/productcart/pc35_screen_product_options.gif?id=productcart%3Aproducts_options

There was also a mention of switching from drop downs to radio buttons.  Where would I go to change that?

Hi Gregg,

The features I was mentioning there are part of the Apparel Add-on. Doesn't look like you're running that.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net