Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Author « Topic »  

Mooseman
Advanced Member

166 Posts

Pre-sales questions only
(More Details...)

Posted - 05/10/2021 :  10:17:58  
In 'thanks.php' the button that opens the upload modal contains the same text string that appears under the heading in the upload modal box itself. It is controlled by a single global...

$GLOBALS['xxImgUpl']=''One or more of the items in your cart requires or allows for an associated image upload.';

While the length of this text string may be fine for the modal box, it seems (to me) far too long for the button. A more helpful button text string might be: "Upload Files"

Here's a hack to accomplish that:

1. Search: 'incemail.php' for: $GLOBALS['xxImgUpl'] . '</button></div>';
2. Change: 'xxImgUpl' to 'xxImgUplbtn'
3. Open: includes.php
4. Add: $GLOBALS['xxImgUplbtn']='File Upload';

Save everthing and refresh your browser.

Now the button text string will be 'File Upload' and the modal modal box text string will remain the default 'One or more of the items in your cart requires...'

Remember that updating your store will overwite this hack. To remember what you did, add a comment above the entry in your 'includes.php' something like...

//Hacked vsadmin/incemail.php line 411 - Changed: '$GLOBALS[xxImgUpl}' blah blah blah...

Edited by - Mooseman on 05/10/2021 14:41:40

Mooseman
Advanced Member

166 Posts

Pre-sales questions only
(More Details...)

Posted - 05/10/2021 :  10:24:38  
Corrected the original post

Edited by - Mooseman on 05/10/2021 12:31:05
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000