Hello,
I'd like the move the attribute selection from the product page to the cart page, any pointers on how to achieve this?
what variable displays the attribute selection in the node.tpl file?
thanks
Idan.
|
Ubercart |
|
|
|
||
|
Fri, 06/20/2008 - 12:27
Hello, I'd like the move the attribute selection from the product page to the cart page, any pointers on how to achieve this? what variable displays the attribute selection in the node.tpl file? thanks Idan.
Re: Moving Attribute selection to cart page
Attributes are tied to the Add to Cart form which is how the customer gets to the cart page in the first place. Moving them from one form to the other would be a pretty significant undertaking.
hmm...
another sollution to
hmm... another sollution to what i'm looking for, might be to create a link on the products page (instead of the add to cart button), that will lead to a page generated by a view. in the link i'll need to send the view the node id of the product and have it display only that product on the page. I have no idea how to do this, I mean I can create the link but i'm not sure how to supply a view with a variable that will control one of the filters. also, can the cart page be skipped and go straight to payment? or maybe combine the two into one page? Thanks Idan
Re: hmm...
another sollution to
Have you looked at Cart Links? http://www.ubercart.org/docs/1434/cart_links_settings
Re: Re: hmm...
another sollution to
Yeh, I don't think they fit.
Ok,
Ok, I've found the sollution to exactly what I needed. First I created a view with all the product information I wanted. next I created in the product-node.tpl file a link to replace the add to cart link: <a href="url/view-path-here/<?php print $node->nid; ?>">link text</a>you can also use $node->title; and the node:title argument in the view for better seo. But I'm working with Hebrew product names so it doesn't really work well in the urls. Thanks Idan |
|