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
Next Page
Author « Topic »
Page: of 2

Shajmc
Starting Member

Australia
20 Posts

Posted - 01/18/2025 :  02:25:59  
These are the issues I am trying to sort out.


The only way I can change the colour of the blue buttons is in the ectcart.css.
Changing colours in any of the ectstyledetails1.css or ectproducts1.css makes no difference.

I need to remove the Paypal button from the first shopping cart page as I just get an error failed to fetch.
Or how to fix this error. The checkout buttons work fine to get to Paypal.

I would also like to change Paypal buttons from the yellow ones to the softer grey and blue ones.

The icons on the buttons don't show in Chrome and only some show on Safari on my phone.

The tabs on the product page don't work as they should.

I want the currency and $ sign to the left of the amount not on the right.

The Home link on the created breadcrumbs on the products and product details page links to Categories.
How to get it to link to Home?

Downloadable products

Where do we edit all these parameters?

$digidownloadpattern="\downloads\%pid%.zip";
$digidownloadsecret="itsasecret";
$digidownloadwarn=TRUE;
$digidownloadmethod="filesystem";
$digidownloademail="Your email message here if any downloadable products";
$digidownloaddays=10;

And where do put the path to the downloadable product and its filename?

Thanks

dbdave
ECT Moderator

USA
10460 Posts

Posted - 01/18/2025 :  11:43:30  
Hi, Shajmc, first, welcome to the forum here.
Browsers load stylesheets in the order they are called in your html, so you should have your sites working stylesheet (usually style.css) called last - after all other stylesheet calls.
Browsers will follow the last instructions given for a class or id.
So what you want to do is add any classes you want to alter, to your style.css file and never edit the ect css files.
This will make it "updater proof" meaning when you install new updates, you typically will never need to make those edits again..
If you do not follow this, you will make your update installations more time consuming.

It sounds like you are using paypal express and that will place a button first checkout page because it will collect the address from paypal and bypass that page in your cart.
If you do not want that service, you can turn it off, or choose a more suitable paypal service.

I'm not sure if you can change those buttons, I believe the buttons are generated by the connection to paypal.

For the icons, I would need to understand which icons you are referring to...

For the home link, I believe you would find that in categories and set the url to any page you like.
It typically has the "working name" of Category Root.

The digital download feature is covered on this page - https://www.ecommercetemplates.com/help/digital-download.asp
The parameters you list would be in the vsadmin>includes.php file.
If they do not exist, just like any of the parameters (covered below), you simply add them in.

There are a world of parameters you can set to control many aspects of the cart.
On the "How it works" menus on the left of this page, there is PHP Parameters https://www.ecommercetemplates.com/phphelp/ecommplus/parameters.asp

I think I covered it all - please post back with any more issues.
The forum search (top right of this page) is a valuable tool to search where others have had the same questions as you.

Thanks (or rather Cheers Mate ),
David


Edited by - dbdave on 01/18/2025 11:48:42

dbdave
ECT Moderator

USA
10460 Posts

Posted - 01/18/2025 :  12:03:16  
Further helpful info
In the vsadmin folder, there are "languagefile" where wording is set for much of the text that shows throughout your website.
Many folks want to make changes to some of this wording and there is a "best practice" for doing this.
Much like the css, you copy any of those languagefile entries over to your includes.php file and make the change there.
This again, give you and "updater proof" solution.

Lastly, in the future when you update your store, it's good to know that all files in the vsadmin folder are subject to change with two exceptions.
Updaters do not include two files - the database conection file and the includes.php file.
So if you can, you should avoid editing the core files in the vsadmin folder unless there is no other way to accomplish something you are wanting to do.

In the end, it's great that you have access to the files to make custom edits if you need to, but often there is was way to make changes without editing those files.
Personally in my store (I'm not an ect staff, just a store owner that helps out here), I have some clever things in checkout, but I did it all with javascript rather then editing the back end files.

I think my point is to feel free to ask before hacking into the code and making future updates difficult.
If you do alter the back in code though, we can show you tricks to making those updates easier.

Cheers,
David

Edited by - dbdave on 01/18/2025 12:05:04

Shajmc
Starting Member

Australia
20 Posts

Posted - 01/18/2025 :  17:28:10  
Thank you so much for your detailed responses, David.

OK, I had copied some style info from the ectcart.css to the ectstylebase.css file, so I'm on the right track there.

I'm using Paypal Checkout, so possibly setting with my Paypal account to sort out the buttons.

The icons I'm referring to are the ones on the buttons - Checkout, Add to Cart, etc buttons.

Ah ok, so any parameters we want to use just add them to the includes.php file. That makes sense. I was starting to wonder if that was the way to go but wasn't sure.
I shall continue to edit things and test.

I look further at the categories issue.

Lots to learn but getting there and very happy with the shopping cart setup and functionality.

Thanks again.

Cheers

Shalene

Phil
ECT Moderator

United Kingdom
7713 Posts

Posted - 01/19/2025 :  04:15:51  
quote:
I look further at the categories issue.


Just add this line to your vsadmin/includes.php file

$orhomeurl="index.php";



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

Shajmc
Starting Member

Australia
20 Posts

Posted - 01/22/2025 :  17:09:39  
Hello

Thank you all.

I think I have worked out most of the issues.

The only thing I cannot figure out how to change is the curency and $ sign before the amount and not after.
So it reads AU$7.50, not 7.50AU$.

Any ideas?

dbdave
ECT Moderator

USA
10460 Posts

Posted - 01/22/2025 :  19:23:42  
Hmm I must have missed that one in the original response.
See f this works - https://www.ecommercetemplates.com/phphelp/ecommplus/parameters.asp#altcurr

quote:
Alternative currency format

You can now have total control over the display of the currency conversions if you require. For instance use the following. . .

$currFormat1="<strong>€</strong>%s";
$currFormat2="<strong>£</strong>%s";
$currFormat3="<strong>\$</strong>%s";

In each of these %s is replaced by the actual currency value. Be careful that the symbols match the currencies you have chosen on your admin main page. Of course you can place any formatting or text here.

NOTE
The dollar sign is a special character in PHP so would need to be escaped as in the example above, \$


Thanks,
David

Edited by - dbdave on 01/22/2025 19:24:02

Phil
ECT Moderator

United Kingdom
7713 Posts

Posted - 01/23/2025 :  04:05:09  
quote:
The only thing I cannot figure out how to change is the curency and $ sign before the amount and not after.
So it reads AU$7.50, not 7.50AU$.



Go to shipping admin > countries > modify your default country, you'll see the currency formats in there



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

Shajmc
Starting Member

Australia
20 Posts

Posted - 01/24/2025 :  15:54:00  
Thank you, Phil

That fixed it. It was set to Post-Amount Yes.

Shalene

Shajmc
Starting Member

Australia
20 Posts

Posted - 01/25/2025 :  18:24:37  
Mailing List Questions

Can customers only subscribe to the mailing list when making a purchase, or is there a way to have a page for them to subscribe without making a purchase?

Email Friend feature

Any information about how to set that up?

Thanks

Phil
ECT Moderator

United Kingdom
7713 Posts

Posted - 01/26/2025 :  02:35:07  
Hi,
There's information here https://www.ecommercetemplates.com/phphelp/ecommplus/parameters.asp#collectemail with regard to mailing list parameters and the email a friend feature - https://www.ecommercetemplates.com/phphelp/ecommplus/parameters.asp#email

Adding the following code below will add a sign up form as per the image below

<?php $minicssaction="minisignup"?>
<?php include "vsadmin/inc/incminicss.php" ?>





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

Edited by - Phil on 01/27/2025 00:20:44

Shajmc
Starting Member

Australia
20 Posts

Posted - 01/28/2025 :  00:44:38  
Thank you, Phil.

I have managed to get a mailing list page signup done and can find where to edit the message displayed after signup.
Is there a way to edit where the Continue Shopping button points to?
And is a way to get the reCaptcha to work on this page?

The email a friend feature - when I add a button to the socials button list it just says 'DISABLED'.
I also added an Ask a Question button, which works but is and odd size and the wording on the button is not sitting correctly. The height of the button is the same height as the social media buttons but this is not the same height as all the other buttons on the website.

Edited by - Shajmc on 01/28/2025 00:46:45

Phil
ECT Moderator

United Kingdom
7713 Posts

Posted - 01/28/2025 :  01:28:45  
Hi,

I'm pretty sure the mailing list sign up has an anti spam feature integrated already, so recaptcha isn't necessary.
Which continue shopping button are you referring to? You can change it in the thanks page by adding this to your vsadmin/includes.php file - $thankspagecontinue="https://www.yourstoreurl.com/yourpage.php";

As far as I know the continue shopping button destination link on the cart page cannot be changed without editing the inccart.php file, this is untested but try this in your includes - $GLOBALS['storehomeurl']='yourpage.php';

For your email a friend you'll need to add the following parameter to you vsadmin/includes.php file
$useaskaquestion=TRUE; // you probably have this one already
$useemailfriend=TRUE;

For the ask a question button, can you post the url of the site or add it to your profile so we can take a look at what's going on with the display?





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

Edited by - Phil on 01/28/2025 01:30:56

Shajmc
Starting Member

Australia
20 Posts

Posted - 01/28/2025 :  02:52:05  
Thank you.

I'll go through those things tomorrow.

You can see the Ask a Question button down near the bottom of this page.
https://sewingpatternprintingservice.com/store/proddetail.php?prod=A0BW

Shalene

Phil
ECT Moderator

United Kingdom
7713 Posts

Posted - 01/28/2025 :  03:59:16  
Before we go any further can you move the call for incectstyle.php in your code on all your pages so it's before your other css calls so it looks like this below


<!-- Add for ECT -->
<?php include "vsadmin/inc/incectstyle.php"; ?>
<!-- Additional CSS Files -->
<link rel="stylesheet" href="https://www.sewingpatternprintingservice.com/assets/css/fontawesome.css">
<link rel="stylesheet" href="https://www.sewingpatternprintingservice.com/assets/css/style.css">
<link rel="stylesheet" href="https://www.sewingpatternprintingservice.com/assets/css/owl.css">
<link rel="stylesheet" type="text/css" href="https://www.sewingpatternprintingservice.com/assets/css/formir-slider.min.css">

If you're not using the incectstyle.php file move the following lines above your other css calls
<!-- Add for ECT -->
<link rel="stylesheet" type="text/css" href="https://www.sewingpatternprintingservice.com/store/css/ectcart.css"/>
<link rel="stylesheet" type="text/css" href="https://www.sewingpatternprintingservice.com/store/css/ectstylebase.css"/>




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

Edited by - Phil on 01/28/2025 04:02:24

Shajmc
Starting Member

Australia
20 Posts

Posted - 01/31/2025 :  19:17:29  
Hello

I currently have that in the body of my pages like so -


<?php include "vsadmin/inc/incectstyle.php"; ?>
<?php include "vsadmin/inc/incproddetail.php" ?>

So will moving up into the head tags make any difference?

My next issue is emails sent - order emails, mailing list subscribe emails - all have in the from field of the email myusername@myhostingcompanycpanelloginurl
rather than the email of the domain. I have 3 shops using this system and all 3 are the same.
What do I need to do to fix this please?
I have put this in my includes file, but it makes no difference.
$customheaders="MIME-Version: 1.0\nFrom: %from%\nContent-type: text/plain; charset=iso-8859-1\n";

Thank you
Shalene

Vince
Administrator

42861 Posts

Posted - 02/01/2025 :  11:49:56  
Hi Shajmc
quote:
So will moving up into the head tags make any difference?
The incectstyle.php file will generate the tags necessary to include the style sheets. I'm not 100% sure what difference we are talking about, but those should really, really be in the head section of your page.
quote:
rather than the email of the domain. I have 3 shops using this system and all 3 are the same.
In the ECT Admin -> Main Settings page there is a setting under the "Email Settings" section, "Email From Name" and you should set the name you would like there.

Vince


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

Shajmc
Starting Member

Australia
20 Posts

Posted - 02/02/2025 :  19:23:54  
Thanks.

I already have the email settings all set like that.

Shalene

Vince
Administrator

42861 Posts

Posted - 02/03/2025 :  21:59:07  
Hi Shalene
I would try talking to your hosting company then as it seems their email is overriding your "From" email.

Vince

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

Shajmc
Starting Member

Australia
20 Posts

Posted - 02/04/2025 :  23:01:01  
Hi Vince

I tried that a couple of days ago. They have no idea what I'm talking about.

One websites shows
My Domain Name<orders@mydomain.com> via cPanelusername@hostname
with orders and
cPanelusername@hostname
with mailing list

The other two sites both show
cPanelusername@hostname
from both the orders and mailing list.

Other forms on my site work as they should.

I shall try my hosting co again.

Shalene

Edited by - Shajmc on 02/06/2025 04:55:27

Shajmc
Starting Member

Australia
20 Posts

Posted - 02/05/2025 :  17:26:53  
No luck with the web hosting company.

They have no clue. They just keep talking about webmail and that its working correctly.
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.05 seconds. Snitz Forums 2000