Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 02-19-2025 14:31:43

polarize
Moderator
Registered: 11-15-2004
Posts: 324

Change Link for Wholesale Application

I have set up a dynamic form within K9 for our Wholesale Application that we would like to use instead of the PDF form in there now.  Where can we change the link and can we link it in a way that it will pull up the dynamic form ID regardless of which multisite it's accessed from?  If the change for just using the dynamic form ID in the link is a big deal we could clone it for each multisite but need to know where this link exists.  I've had no luck finding it so far.  Thanks


Using Kryptronic K9! smile
Previous Versions:
ClickCartPro 8
ClickCartPro 7
ClickCartPro 6
ClickCartPro 5.1

Offline

 

#2 02-24-2025 08:55:10

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19872
Website

Re: Change Link for Wholesale Application

Step 1:  Make a copy of {private}/core/CORE/includes/wholesaleapp.php and save it to {private}/custom/core/CORE/includes/wholesaleapp.php.

Step 2: Edit your custom version of the file and replace the PDF link with the link to your form.


Nick Hendler

Offline

 

#3 02-27-2025 15:37:09

polarize
Moderator
Registered: 11-15-2004
Posts: 324

Re: Change Link for Wholesale Application

I've copied the file over to the custom directory.  How would I link this so that regardless of which multisite they are on it will open the link within the same site? Does this require a full URL link or can we link it depending on which site they are on? By the way, its a dynamic form within K9 that is being linked.

Code:

<div class="kmenu"><ul>
<li><a href="media/core/pdf/<?php print $apply_pdf; ?>" title="Wholesale Application" rel="external">Click Here to Downoad the Wholesale Application (PDF)</a></li>
</ul></div>

Using Kryptronic K9! smile
Previous Versions:
ClickCartPro 8
ClickCartPro 7
ClickCartPro 6
ClickCartPro 5.1

Offline

 

#4 02-28-2025 09:27:04

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19872
Website

Re: Change Link for Wholesale Application

The URL as it is now (relative media directory reference) will use the active domain.  This will work to use different (correct) URLs all pointing to the same file.  If you have different files for each site, let me know.


Nick Hendler

Offline

 

#5 03-05-2025 17:37:12

polarize
Moderator
Registered: 11-15-2004
Posts: 324

Re: Change Link for Wholesale Application

The link works great on all multisites.  It seems the dynamic forms aren't arriving in email when testing however. 

Is there a place that logs the form once submitted and email settings I can look at to make sure the dynamic forms are sending upon submit?  I have tested the Contact Us pages and everything seems to be working fine but unsure about the dynamic forms.


Using Kryptronic K9! smile
Previous Versions:
ClickCartPro 8
ClickCartPro 7
ClickCartPro 6
ClickCartPro 5.1

Offline

 

#6 03-06-2025 10:08:18

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19872
Website

Re: Change Link for Wholesale Application

Two things could be affecting this:

(1) For the main site, update your form using Website / Dynamic Forms / Dynamic Forms, and ensure you have at least one valid recipient email address for the main site listed under 'To Email Addresses'.

(2) For multisites, ensure that you have email address overrides set properly for those recipient addresses under System / MultiSite / MultiSite Sites for each multisite.

Also, some mail subsystems are going to have trouble sending you a mail from the customer email address - so in today's world, it's best practice to NOT set the 'Email Field Indicator' on the email address field for your form(s).  That will force the form to be sent using the site owner email instead of the user submitting the forum.  This applies for store versions up to 9.3.

Please note that in release 9.4 we have changed the way mails are sent and we're sending always using an address for the site, and using a reply-to header for the customer email.  This is working well in dev and we expect the release to launch ASAP.


Nick Hendler

Offline

 

#7 03-06-2025 21:24:51

polarize
Moderator
Registered: 11-15-2004
Posts: 324

Re: Change Link for Wholesale Application

I removed the 'Email Field Indicator' on the email address field for the form and now we are receiving emails however they aren't hitting our INBOX but are showing up in the SENT box instead.  I've been trying to do some workarounds to make the emails go to my INBOX without success.  The system emails for orders placed by customers in K9 are always sent from the customer's email without any issues.  Is there a difference on how the emails from submitted forms work versus when we get order notifications for orders and changes which also use the customer's email?


Using Kryptronic K9! smile
Previous Versions:
ClickCartPro 8
ClickCartPro 7
ClickCartPro 6
ClickCartPro 5.1

Offline

 

#8 03-07-2025 09:46:28

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19872
Website

Re: Change Link for Wholesale Application

If you're always receiving customer emails and the mails are addressed from the customer, then you are OK setting the email field indicator for the email address field.  How do you have your mail hooked into K9?  Are you logging in using a mail account via SMTP (sounds like this is the case)?  Or just doing a localhost SMTP connection with no authentication?


Nick Hendler

Offline

 

#9 03-07-2025 20:31:45

polarize
Moderator
Registered: 11-15-2004
Posts: 324

Re: Change Link for Wholesale Application

I changed the setting to turn off authentication and activated email field indicator for the email field again but doesn’t seemed to have made any difference. The email settings appear to be global and work for all other functions except dynamic forms for some reason. Dynamic forms is the only function that doesn’t send me the email using the customer’s email address but always shows the system email default. Is there another setting I may have missed that affects dynamic forms so that they behave the same way other system emails do? Thanks 😊


Using Kryptronic K9! smile
Previous Versions:
ClickCartPro 8
ClickCartPro 7
ClickCartPro 6
ClickCartPro 5.1

Offline

 

#10 03-10-2025 09:04:51

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19872
Website

Re: Change Link for Wholesale Application

The mail is dynamically created based on the form setup.  The main parameters are set up in the form definition using the Mail Message tab under Website / Dynamic Forms / Dynamic Forms.  Make sure you have those fields entered properly - including a valid 'to' email address.  Then you can override the 'from' address you set there by designating one field entered by the customer as an email field (using Website / Dynamic Forms / Dynamic Form Fields).


Nick Hendler

Offline

 

#11 03-10-2025 13:40:16

polarize
Moderator
Registered: 11-15-2004
Posts: 324

Re: Change Link for Wholesale Application

I wound up changing the Override From Address in system Mail Settings back to FALSE and think it's working now.  I thought this is where we started but will keep testing it to see if the issue is resolved now. Thank you smile


Using Kryptronic K9! smile
Previous Versions:
ClickCartPro 8
ClickCartPro 7
ClickCartPro 6
ClickCartPro 5.1

Offline

 

#12 03-11-2025 09:32:08

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19872
Website

Re: Change Link for Wholesale Application

Thank you.  Was it just a config issue on your side, or do you thing settings are conflicting within the software?  I'm not sure of exactly what your setup was, and if mail was being sent somewhere (just not where you were checking).


Nick Hendler

Offline

 

#13 03-11-2025 15:26:46

polarize
Moderator
Registered: 11-15-2004
Posts: 324

Re: Change Link for Wholesale Application

We weren't getting emails sent from the Dynamic Forms when we started.  I'm not sure where they went and not sure if it was a configuration setting or a software code conflict.  Everything is set back to the way it was before and seems to be working.  Here is what I remember of the settings changes while trying to diagnose the form...

1. Changed 'Email Indicator Field' to false.
2. Removed Captcha option.
3. Changed system Mail Settings for Override from Email to TRUE to not check for email origin security.
4. Reviewed settings and tested all of our other dynamic forms to see if the issue might be form related or global.  It seems like the "from" email address was site owner every time which sort of was a secondary issue after changing the system mail Override from Email settings to TRUE.
5. After changing settings back one at a time of the course of a few days while testing everything appeared to be working after changing the Override from Email Address back to FALSE.

There may have been some other things we tried that don't come to mind right now.  Should we debug to check the dynamic forms function on our sites? 

I doubt having multisites has anything to do with it but you're the "Most Excellent Guru" so I'll trust your judgement on this. big_smile


Using Kryptronic K9! smile
Previous Versions:
ClickCartPro 8
ClickCartPro 7
ClickCartPro 6
ClickCartPro 5.1

Offline

 

#14 03-12-2025 08:22:37

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19872
Website

Re: Change Link for Wholesale Application

Thank you for the explanation.  I think it may have been config, but I'm not sure where the issue was.  Perhaps a bad email was entered somewhere.


Nick Hendler

Offline

 

Board footer