| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Custom Button in Cart | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Custom Button in Cart
I have a product which requires a button in place of one of its option values in the shopping cart. The button is supposed to open a pop-up window which is linked to the original option value.
I created the button and everything is fine except the value ($v.option_name) is not inserted into the link. The link is opening as http ://www.website/view.php?name= It should open as http ://www.website/view.php?name=banner.option.should.be.here Code:
Anyone have any ideas why it's working? Thanks
__________________
Version 4.0.8 Live |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Custom Button in Cart
Try this
Code:
Quote:
__________________
MercuryMinds Technologies Development Team, Professional X-Cart Design, X-Cart Development, X-Cart Customization Services www.mercuryminds.com X-Cart Mailchimp Ecommerce 360 Plugin/integration module (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) Smasher, a smart search engine for x-cart store (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) One Page Checkout (OPC) - X-Cart module (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) |
|||||||||
#3
|
|||||||
|
|||||||
Re: Custom Button in Cart
Thanks for the suggestion.
I'll give it a try.
__________________
Version 4.0.8 Live |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Custom Button in Cart
You have to access to variable value in Smarty as {$variable_name}, so in your case URL should be: ../view.php?name={$v.option_name}
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|