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
Author « Topic »  

kmkelso
Starting Member

USA
48 Posts

Posted - 10/18/2022 :  15:38:37  
Is there a way to override the Shopping Cart and Checkout button links in the WP Minicart widget? I have both a WP (wp.tekna.us) and PHP (tekna.us) version of the same ECT store with the same database. The idea was to present a seamless connection between two separate ways to shop at the same store. For the most part it works really nicely. The same cart for the same user with the same contents appears in both the PHP and WP versions. The WP version uses the top menu buttons addressing the cart page in WP by its page permalink which works well. However, the Minicart widget in the right sidebar menu addresses the cart page using the store home in the store dashboard. Because they share the same databse, both the PHP and the WP sites use the same store home field in each of their dashboards. The end result is the WP Minicart tries to present the PHP sites' store cart page causing a 404 error.

Best,
Karl

Vince
Administrator

42465 Posts

Posted - 10/19/2022 :  01:43:31  
Hi Karl
Have you tried the "orstoreurl" parameter which is to override the store URL?
$GLOBALS['orstoreurl']='https://www.yourstoreurl.com';

Vince

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

kmkelso
Starting Member

USA
48 Posts

Posted - 10/19/2022 :  07:28:51  
OH My Bad! I had the variable spelled 'orstoreurlSSL'... don't know why. Works like a champ now! Thanks very much!

Best,
Karl
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000