PaulP
Advanced Member
USA
213 Posts |
Posted - 08/29/2019 : 10:10:56
Hello ECT,
Using Version - Ecommerce Plus PHP v7.0.3 I have a problem with the shopping cart not showing any added products and A error message when your viewing a product and click the "Previous/Next" link on the bottom of the product information Page.
Shopping Cart: None of the products that are added show up in the cart. After adding any product('s) the pop out windows says the product has been added to the cart, but when you go to checkout it says "There are currently no items in your shopping cart."
Error Message: This error message comes up when you click the "Previous/Next" link on the bottom of the product information page.
Sorry, this product is not currently available. Warning: Cannot modify header information - headers already sent by (output started at /home/nativity/public_html/proddetail.php:191) in /home/nativity/public_html/vsadmin/inc/incproddetail.php on line 660
Yours Truly, Paul P. Longtime ECT Customer
|
Vince
Administrator
42874 Posts |
Posted - 08/29/2019 : 10:57:17
|
PaulP
Advanced Member
USA
213 Posts |
Posted - 08/29/2019 : 12:01:30
Hi Vince, Thank you for your reply.
I changed the code at the top <SCRIPT LANGUAGE="php">
session_cache_limiter('none');
session_start();
</SCRIPT><html>
to
<?php session_cache_limiter('none'); session_start(); ob_start(); ?>
and the "Previous/Next" links are working fine.
Now the "Add to cart" and Checkout buttons are inop. When you click either one nothing happens.
Yours Truly, Paul P. Longtime ECT Customer
|
dbdave
ECT Moderator
USA
10468 Posts |
Posted - 08/29/2019 : 12:39:52
The inoperable button issue sounds like you have not uploaded and/or linked to the ectcart.js file Check this page for details - https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=110209
|
PaulP
Advanced Member
USA
213 Posts |
Posted - 08/30/2019 : 07:32:49
Thank you dbdave. The "Add to cart" and Checkout buttons work fine, however when you click the "Add to cart" button the popup box is missing and the info is displayed at the top of page from side to side (see image) how do I get the box back and the info in the box again?.
|
Vince
Administrator
42874 Posts |
Posted - 08/30/2019 : 08:44:57
|
PaulP
Advanced Member
USA
213 Posts |
Posted - 08/30/2019 : 09:19:29
Hi Vince, Thank you for your reply.
I have the ectcart.css file in the css folder and the ectcart.js file in the js folder located in the root directory.
This is from the cart.php head
<head> <meta http-equiv="Content-Language" content="en-us"> <title>Nativity of Our Lord Church - Shopping Cart </title> <LINK REL=STYLESHEET TYPE="text/css" HREF="style.css"> <script type="text/javascript" src="/js/ectcart.js"></script> <link rel="SHORTCUT ICON" href="/favicon.ico"> </head>
Should I add the line below to all the pages?
<link rel="stylesheet" type="text/css" href="/css/ectcart.css"/>
I'm not sure what you meant by "I'll get that done and sorry for the confusion" do you need access to the site?.
Yours Truly, Paul P. Longtime ECT Customer
|
dbdave
ECT Moderator
USA
10468 Posts |
Posted - 08/30/2019 : 11:02:41
Hi, yes you absolutely need that css file referenced. It needs to go before your other stylesheet call. Any changes you want to make, you add to your style.css file and it will override the ectcart.css file.  <head> <meta http-equiv="Content-Language" content="en-us"> <title>Nativity of Our Lord Church - Shopping Cart </title> <link rel="stylesheet" type="text/css" href="/css/ectcart.css"/><LINK REL=STYLESHEET TYPE="text/css" HREF="style.css"> <script type="text/javascript" src="/js/ectcart.js"></script> <link rel="SHORTCUT ICON" href="/favicon.ico"> </head> David
|
PaulP
Advanced Member
USA
213 Posts |
Posted - 08/30/2019 : 13:43:40
Thank you dbdave.
I added the <link rel="stylesheet" type="text/css" href="/css/ectcart.css"/> line to the head above any stylesheet call and it's all working fine now.
Thanks again to You and Vince for all your help.
Yours Truly, Paul P. Longtime ECT Customer
|
dbdave
ECT Moderator
USA
10468 Posts |
Posted - 08/31/2019 : 08:43:23
Great news Paul. I'm glad I could assist.
|
|
|