PDA

View Full Version : Product List with Quantity


leslienord
10-13-06, 04:41 AM
I'm trying to recreate this page FlightSuits!? by Bird Type (http://www.flightquarters.com/Merchant2/merchant.mv?Screen=CTGY&Category_Code=FSS) I have Sebenza's Category Template Manager and have made it this far Bird Type (http://www.flightquarters.com/bird-diapers/merchant.mvc?Screen=CTGY&Store_Code=AFF&Category_Code=FSS) except that the Quantity/Add To Basket doesn't work.

I have tried using <mvt:item name="fonts" param="body_font">
Quantity:
<input type="text" name="Quantity" value=1 size=4>
<mvt:item name="buttons" param="AddToBasket" />
</mvt:item>

from the Product Display Layout - obviously that doesn't work. What do I need to use?

wcw
10-13-06, 10:28 AM
If you use the Emporium Plus Tool Kit and Express Order you can put the quantity box on any the list pages for category, search, and product list. It works for all except products that have attributes. With those you would have a details link and send them to the product page. See example at
http://www.pinemporium.com/mm5/merchant.mvc?Screen=PLST&Store_Code=PE&offset=&master=1

leslienord
10-13-06, 01:05 PM
It works for all except products that have attributes. Well all of these product in this category have attributes. The original page was created with Viking Coders Category Page templates which when straight to the missing attribute screen (by design).

For future reference does your module play well with the Sebanza's Templates?

Many thanks!

Leanne
10-13-06, 08:54 PM
Leslie, try removing this line from the form inputs on your new page: <input type="hidden" name="Quantity" value=1> That did it when I tested it.

leslienord
10-13-06, 09:00 PM
Many thanks! That got it.:D

jason - jmh web services
10-13-06, 10:36 PM
Well all of these product in this category have attributes. The original page was created with Viking Coders Category Page templates which when straight to the missing attribute screen (by design).

For future reference does your module play well with the Sebanza's Templates?

Many thanks!

Leslie, sebenza's module does this including attributes. No need for another module on the ctgy screen, but toolkit is great for other things.

leslienord
10-13-06, 10:42 PM
Yup - that's what I used. Took a little figuring out but with Leanne I got it working just like I wanted it to. :D

leslienord
10-14-06, 06:12 AM
The quantity box is giving me fits. I gave the table a border just for a visual reference.

Mis-aligned version (http://www.flightquarters.com/bird-diapers/merchant.mvc?Screen=CTGY&Store_Code=AFF&Category_Code=FSS)

Version I'm trying to duplicate (http://www.flightquarters.com/Merchant2/merchant.mv?Screen=CTGY&Category_Code=FSS)

Leanne
10-14-06, 06:27 PM
It's because on the mis-aligned version you have put the Add to Basket image in the same table cell as the quantity box. The image's height is messing with the box alignment. Try splitting them into two cells (you'll need to either add a blank cell to the header row or add a colspan to the last cell) and reverting to valign="middle" like the other cells.

leslienord
10-14-06, 06:58 PM
Yeah - hazards of trying to use the layout I had in the MM4 Viking Coders template - it didn't need to have the button in it's own cell. Thanks for the fix - it worked. I guess I had better quit assuming that just because it worked in MM4 doesn't mean it's going to work in MM5 :(

leslienord
10-14-06, 07:06 PM
Yeah - hazards of trying to use the layout I had in the MM4 Viking Coders template - it didn't need to have the button in it's own cell. Thanks for the fix - it worked. I guess I had better quit assuming that just because it worked in MM4 doesn't mean it's going to work in MM5 :(