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
 All Forums
 Technical
 WordPress for Ecommerce Templates
 Digital Download and Wordpress
Author « Topic »  

LadyM
ECT Moderator

1690 Posts

Posted - 09/05/2020 :  15:40:48  
If the pages are dynamic, I don't know how to add the code needed for the digital download to the thanks page, which doesn't really exist on the server. I'm new to Wordpress installations and couldn't find this on the forum.

How do I hook up Digital Downloads after adding all the codes to the includes?

Sinbad
ECT Moderator

USA
65936 Posts

Posted - 09/09/2020 :  08:47:34  
Hi LadyM, you should have a page on the server named thanks that contains the ect code, it would look something like where you can just and the include line for the digitaldownload.

<?php
$GLOBALS['ectcartpage']='thanks';
require('./wp-ect-header.php');
get_header();
?>
<div class="container_16 inner_main_sec">
<?php get_sidebar(); ?>
<?php include "vsadmin/inc/incthanks.php";?>
</div>
<div class="clear"></div>
</div>
<?php get_footer(); ?>



Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

Phil
ECT Moderator

United Kingdom
7619 Posts

Posted - 09/09/2020 :  08:57:00  
quote:
you should have a page on the server named thanks that contains the ect code,


Those pages don't exist on the latest WordPress version so I'm guessing this might be an oversight and the download feature may need adding to the wp-ect-header.php file perhaps



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

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

Sinbad
ECT Moderator

USA
65936 Posts

Posted - 09/09/2020 :  08:58:45  
Ah, I have to get with the program
quote:
Those pages don't exist on the latest WordPress version


Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

LadyM
ECT Moderator

1690 Posts

Posted - 09/09/2020 :  10:22:38  
That's right Phil. I'm loving the plug & play but having to learn some new ways of doing things. It's a bit strange at first without pages.

Vince
Administrator

42462 Posts

Posted - 09/09/2020 :  10:39:51  
quote:
Those pages don't exist on the latest WordPress version so I'm guessing this might be an oversight and the download feature may need adding to the wp-ect-header.php file perhaps
Errr, spot on Phil really. If anyone else is needing to use digital downloads with the WordPress versions you will need a new wp-ect-header.php as Phil mentioned. Also though so that the latedownload page is recognized you need from the updater a new vsadmin/inc/incadmin.php and then you have to change the URL Structure to something else and then change it back. This sounds strange but what this will do is rewrite the .htaccess file so that the rule is there for the latedownload page.
Thanks to LadyM for the help in sorting this out!

Vince

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

LadyM
ECT Moderator

1690 Posts

Posted - 09/09/2020 :  10:45:13  
And thank you Vince for sorting me out. It's actually fun.

Phil
ECT Moderator

United Kingdom
7619 Posts

Posted - 09/09/2020 :  10:55:29  
quote:
so I'm guessing this might be an oversight


An oversight by me as well as it happens. I should have picked this up during testing!



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

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*
  « 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