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
 WordPress for Ecommerce Templates
 Make a Payment page not working
Author « Topic »  

JustDucky923
Ecommerce Template Guru

USA
1333 Posts

Posted - 11/12/2017 :  14:36:11  
One of my site (http://curtisknight.com) has been using a page for "Make A Payment" for quite a while now. I followed the instructions on this page: https://www.ecommercetemplates.com/help/donations.asp and set it up for him almost 2 years ago.

Today someone tried to make a payment and there is no place on the page to enter an amount - only "From" and "Message" and then the Submit button. You can see it here: http://curtisknight.com/payments.php

Here is what I have in the payments.php file:

<?php
$prodid="payments";
?>
<?php include "vsadmin/inc/incspecials.php" ?>

My client is in a panic because his customers use this page all the time. Can someone help?

Andy
ECT Moderator

95440 Posts

Posted - 11/13/2017 :  00:00:51  
Hi

You will need to be using $GLOBALS

<?php
$GLOBALS['prodid']="payments";
?>
<?php include "vsadmin/inc/incspecials.php" ?>

Andy

Please feel free to review / rate our software

JustDucky923
Ecommerce Template Guru

USA
1333 Posts

Posted - 11/13/2017 :  06:57:52  
Actually I had it that way and changed it because I thought that might be the problem. It still is not working (I just changed it back to the way you suggested.

Also, I noticed that the gift certificate page is not working either. http://curtisknight.com/giftcertificate.php


Here is the full payments.php file:

<?php
$GLOBALS['ectcartpage']='products';
require('./wp-blog-header.php');
get_header();
?>

<?php if(get_option('wpg_sidebar_opt') =="left"){ ?>
<div id="content-area" class=" leftsidebar">
<?php get_sidebar(); ?>
<?php }else{?>

<div id="content-area" class=" rightsidebar"><?php } ?>

<div id="main-area">


<p><br />
<?php
$GLOBALS['prodid']="payments";
?>
<?php include "vsadmin/inc/incspecials.php" ?>
</p>
<h2><strong>Making payments via this page is temporarily unavailable. To make a payment please call 978-667-8910. We apologize for the inconvenience and thank you for your patience.</strong></h2>
<h2> </h2>
</div> <!-- #main-area -->

<?php if(get_option('wpg_sidebar_opt') =="left"){ ?>
<?php }else{?><?php get_sidebar(); ?><?php } ?>
<div class="clearfix"></div>
</div> <!-- #content-area -->
<?php get_footer(); ?>

I did just upgrade this to version 6.8.1 - that is the only change that has been made in several months.

Andy
ECT Moderator

95440 Posts

Posted - 11/13/2017 :  07:37:06  
Looking at your css file new2017ectstyles.css

around line 950 you have old ectcart.css code starting

/* End Additional CSS Styles */

/* STYLE SHEET FOR THE ECT CART PAGE */


Remove everything after that as it will cause conflicts like this

Andy

Please feel free to review / rate our software
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000