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
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 I'd like this shipped to a different address
Next Page
Author « Topic »
Page: of 2

trendyhounds
Advanced Member

251 Posts

Posted - 01/06/2020 :  17:39:07  
Is there any way to make this box larger to see more text?

This is the coding that's been in my includes.php file for a long time & you could see all of it, but now the customer is only able to see part of it depending on the screen width on the device they are using.

How can I make it all viewable?

$GLOBALS['xxShpDff']='I\'d like this shipped to a different address. PLEASE NOTE, I ONLY ship to the shipping address used with your payment processor (paypal or credit card) at the time of checkout.';

dbdave
ECT Moderator

USA
10507 Posts

Posted - 01/06/2020 :  17:47:55  
How about try to wrap the text with line breaks?

$GLOBALS['xxShpDff']='I\'d like this shipped to a different address.<br/>PLEASE NOTE, I ONLY ship to the shipping address used<br/>with your payment processor (paypal or credit card)<br/>at the time of checkout.';

Also, you might consider "We only ship" instead of "I only ship" as it sounds better.

David

trendyhounds
Advanced Member

251 Posts

Posted - 01/06/2020 :  17:54:56  
I've tried the <br/> code & the code actually shows up instead of wrapping the text.

Thank you for the "we" suggestion. I'll definitely change it. I can show you what I mean with the code showing up if you'd like to look at it.

Marshall
Ecommerce Template Guru

USA
1918 Posts

Posted - 01/06/2020 :  22:12:07  
Try just <br>

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

Phil
ECT Moderator

United Kingdom
7740 Posts

Posted - 01/07/2020 :  01:36:29  
Hi Kath,
Done for you - https://paste.pics/7OQW5




* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Edited by - Phil on 01/07/2020 02:55:53

Vince
Administrator

42983 Posts

Posted - 01/07/2020 :  01:44:19  

Vince
Administrator

42983 Posts

Posted - 01/07/2020 :  01:54:26  

Phil
ECT Moderator

United Kingdom
7740 Posts

Posted - 01/07/2020 :  02:16:58  
I simply altered the entry in the includes into three lines without using any html line breaks and it surprisingly worked.
EDIT
But only using Firefox it seems



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Edited by - Phil on 01/07/2020 07:48:31

trendyhounds
Advanced Member

251 Posts

Posted - 01/07/2020 :  07:48:05  
It's not showing up like the picture you sent.

Vince
Administrator

42983 Posts

Posted - 01/07/2020 :  08:10:45  
In that case is it possible to maybe shorten the text, or find some other way of dealing with this particular situation? Like for instance using the $xxCoStp2='Checkout step 2 message'; parameter?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

trendyhounds
Advanced Member

251 Posts

Posted - 01/07/2020 :  08:18:11  
I don't understand that coding. What would it do?

trendyhounds
Advanced Member

251 Posts

Posted - 01/07/2020 :  08:31:53  
I've tried different codes such as <p>, </p>, <br>, <br/> and the codes actually show up in the line of text for some reason.

Vince
Administrator

42983 Posts

Posted - 01/07/2020 :  08:54:46  
quote:
I don't understand that coding. What would it do?
Sorry for not explaining better, but this parameter if you add it to your includes.php file...
$xxCoStp2='Checkout step 2 message';
...will put a message at the top of the cart page "Customer Details" section. I'm saying try to find an alternative to that long text string as it doesn't look possible to split it up in a button.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

trendyhounds
Advanced Member

251 Posts

Posted - 01/07/2020 :  09:00:47  
Ok, I'll try anything. Can you give me an example of where to actually put the "message" in this coding? I've shortened the message as much as I can so far.

$xxCoStp2='Checkout step 2 message';

We ONLY ship to the shipping address used with your pymt processor (paypal or credit card) at the time of checkout.

trendyhounds
Advanced Member

251 Posts

Posted - 01/07/2020 :  09:11:41  
What if I enter this on the line?

I'd like this shipped to a different address. See FAQ's #9.

This line is short enough to fit on phone screens. Please everyone give me your opinion.

The whole reason I have this message is because I've been burned before with not having seller protection from the payment processor when I shipped to a different address.

Phil
ECT Moderator

United Kingdom
7740 Posts

Posted - 01/08/2020 :  05:11:21  
Hi Kath,
I've added a better solution for this now if you'd like to run through the checkout and let me know your thoughts please.



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

trendyhounds
Advanced Member

251 Posts

Posted - 01/08/2020 :  07:59:25  
BRILLIANT!!!

Thank you so much for your help!!

Vince
Administrator

42983 Posts

Posted - 01/09/2020 :  01:40:31  
What a great idea, Phil!!

Can I make one suggestion on your site TrendyHounds? In the style sheet...
/style.css
...around line 615, there is a line to set the button style to the pink buttons...
input.applycoupon, .shipping, input.efclose, input.efsend, input.askaquestion, input.emailfriend, input.button, input.buybutton, input.donationsubmit, input.sccheckout, input.checkoutbutton,etc, etc
If you add the ectbutton to the start of that list then ALL the ECT buttons get that style, for instance...
input.ectbutton, input.applycoupon, .shipping, input.efclose, input.efsend, input.askaquestion, input.emailfriend, input.button, input.buybutton, input.donationsubmit, input.sccheckout, input.checkoutbutton,
You would want to do the same for the hover settings just below, line 627 so ...
input.applycoupon:hover, .shipping:hover,input.efclose:hover,input.efsend:hover..., etc, etc
becomes...
input.ectbutton:hover, input.applycoupon:hover, .shipping:hover,input.efclose:hover,input.efsend:hover..., etc, etc

Vince



Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Phil
ECT Moderator

United Kingdom
7740 Posts

Posted - 01/09/2020 :  01:49:27  
Hi Vince,
Thanks!
Yep - I'm aware of that but the client updated their site to the latest version so I didn't get involved with that

I wasn't sure if she wanted a mix of the pink and blue buttons so I just left it.



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Edited by - Phil on 01/09/2020 01:50:57

trendyhounds
Advanced Member

251 Posts

Posted - 01/09/2020 :  07:01:59  
Vince,

Thanks for the suggestion. I hadn't noticed the different color buttons. Wasn't sure I understood how to do it, but I finally figured it out. Check it out, thanks again. https://www.trendyhounds.com/Anchors-dog-collar

Phil,

Thanks again for all your help!!

Phil
ECT Moderator

United Kingdom
7740 Posts

Posted - 01/09/2020 :  07:11:28  
It seems you missed the class for the shipping button on the cart page so I've added it

So download the style.css file to your local copy



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*
Page: of 2 « Topic »  
Next Page
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000