Announcement

Collapse
No announcement yet.

How can I change this button on Upsell page?

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

    How can I change this button on Upsell page?

    This is probably basic programming but I am a bit stumped. On the pages Upsell: Missing Product Attributes (Single) and Upsell: Missing Product Attributes (Multiple) I want to have the button not use the present one it grabs off my global buttons. I would like them both to have buttons that have the words "Select Free Download". I am using the standard Miva style buttons. Below is my present code for the Single Page:
    Code:
    <mvt:item name="html_profile" />
    <head>
    	<title>&mvt:store:name;: Missing Product Attributes</title>
    	<base href="&mvt:global:basehref;">
    	<mvt:item name="head" param="css_list" />
            <mvt:item name="head" param="head_tag" />
    </head>
    
    <mvt:item name="body">
    <mvt:item name="hdft" param="global_header" />
    
    <div id="body">
    <mvt:item name="navbar" />
    	<div id="mainbody_account">
    		<mvt:item name="hdft" param="header" />
    			<h1>Special Offer:</h1>
    			<h5>&mvte:product:name;</h5>
    			<br /><br />
    
    		<form method="post" action="&mvt:global:secure_sessionurl;">
    		<input type="hidden" name="Screen" 		value="&mvte:global:Screen;">
    		<input type="hidden" name="Action" 		value="&mvte:global:Action;">
    		<input type="hidden" name="Store_Code" 		value="&mvte:store:code;">
    		<input type="hidden" name="Product_Code" 	value="&mvte:product:code;">
    		<mvt:item name="tax" />
    		<mvt:item name="product_attributes" />
    		<br />
    		<mvt:item name="buttons" param="Continue" />
    
    		<mvt:item name="brokups_carry" />
    </form>
    
    <br />
    		<mvt:item name="hdft" param="footer" />
    <br />
    	<mvt:item name="hdft" param="global_footer" />
    </div>
    </div>
    </mvt:item>
    </html>
    Here is the code on the Multiple Page:

    Code:
    <mvt:item name="html_profile" />
    <head>
    	<title>&mvt:store:name;</title>
    	<base href="&mvt:global:basehref;">
    	<mvt:item name="head" param="css_list" />
            <mvt:item name="head" param="head_tag" />
    	
    </head>
    
    <mvt:item name="body">
    <mvt:item name="hdft" param="global_header" />
    <mvt:item name="navbar" />
    	
    <div id="mainbody_account">
    		<mvt:item name="hdft" param="header" />
    		<h1>Special Offers</h1>
    		Attributes in <h5>bold</h5> are required.
    		<br /><br />
    		<form method="post" action="&mvt:global:secure_sessionurl;">
    		<input type="hidden" name="Screen" value="&mvte:global:Screen;">
    		<input type="hidden" name="Action" value="&mvte:global:Action;">
    		<input type="hidden" name="Store_Code" value="&mvte:global:Store_Code;">
    		<input type="hidden" name="Upsell_Product_Count" value="&mvte:global:Upsell_Product_Count;">
    		<mvt:item name="tax" />
    		<mvt:item name="upsell_attr_mult" />
    		<mvt:item name="buttons" param="Continue" />
    		<mvt:item name="brokups_carry" />
    </form>
    <br />
    <mvt:item name="hdft" param="footer" />
    <br />
    <mvt:item name="hdft" param="global_footer" />
    </div>
    </mvt:item>
    </html>
    Thanks!
    Last edited by InvincibleRecordings; 02-21-10, 06:26 AM.
    http://www.invinciblemusic.com

    #2
    Re: How can I change this button on Upsell page?

    You will have to create the image for the button yourself, but essentially you would just replace the line below with a standard image-type input tag:

    <mvt:item name="buttons" param="Continue" />

    <input type="image" src="graphics/00000001/mybutton.gif" alt="Select Free Download">

    Comment

    Working...
    X