Print Page | Close Window

"Save and choose another" link

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=1282
Printed Date: 19-May-2024 at 11:52pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: "Save and choose another" link
Posted By: jaycee
Subject: "Save and choose another" link
Date Posted: 27-December-2007 at 1:40pm

Does anyone know how it is possible to edit the link "Save and choose another" that appears after selecting sub-products of an apparel product. I would like to edit it as a button to be more visible to the user.

Thanks & Happy Holidays

JC




Replies:
Posted By: Greg Dinger
Date Posted: 27-December-2007 at 4:13pm

Look at the bottom of /pc/app-ViewPrdFuncs.asp for this code:

<div id="AddtoList" style="display:none"><%if popUpAPP<>"1" then%><a href="javascript:new_AddSPtoList(SelectedSP);"><%respo nse.write dictLanguage.Item(Session("language")&"_viewPrd_spmsg7") %></a><%end if%></div>

This code displays the text message, and that text is retrieved from the languages file:
<%response.write dictLanguage.Item(Session("language")&"_viewPrd_spmsg7") %>

Here is the languages file reference:
dictLanguage.Add "english_viewPrd_spmsg7", "Save and choose another"

You could replace the string Save and choose another (in the /includes/languages/asp file)with an image tag reflecting a reference to your button, or just replace the ASP code (in /pc/app-ViewPrdFuncs.asp) that calls the language reference. 

Either way, be sure to make a backup of whatever you change, and retain notes of what you change so it can be replicated after the next release upgrade.



Posted By: jaycee
Date Posted: 27-December-2007 at 6:05pm

Greg,

many thanks for your help, that has been really helpful.

JC




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