We understand that your ecommerce site is crucial to the success of your business, from time to time issues and questions can arise and you need to have the assurance there will be someone on hand to help resolve these in a timely fashion so you can spend your time driving your own business forward.

So if you are looking for faster responses to your questions or would like the assurance there is someone on hand for you to contact, fear not we have a number of paid support options that are available to you that can give your organisation the peace of mind knowing a member from the Cart Viper team will always be available to assist!

Purchase a Support Plan

Community Support

HomeHomeIssues and Supp...Issues and Supp...Installation & ...Installation & ...DisplayOrders.ascx not using portal to show Order PDFDisplayOrders.ascx not using portal to show Order PDF
Previous
 
Next
New Post
3/22/2018 5:23 PM
 
Hi,

I found a small issue you all may want to know about. When you select Order PDF files from the little popup menus, you get a blank page. When viewing a pdf with a do_postback with a button in the admin area it works.

But, when you have a direct url it will not work if you have a child portal. For example:

/DesktopModules/CartViper/GenerateOrderPdf.ashx?orderId=1002 generates no data and shows an error in the error logs.

But doing a small edit to DisplayOrders.ascx fixes it.

window.location.replace("<%= GeneratePdfUrl %>" + orderId + "&portalid=1");

Notice how I hard coded the portal. The URL then works when it is outputted like this:

/DesktopModules/CartViper/GenerateOrderPdf.ashx?orderId=1002&portalid=1

We are using a child portal for the site... and it is not a full domain, but a domain url like http://www.mysite.com/my_2nd_portal

You may need to get the portal ID somewhere and add it to the URL.

We are still on our test server, so this is nothing urgent and there is a workaround. But I thought you all would want to know!

Thanks,

Steve
 
New Post
3/22/2018 7:19 PM
 
Hi Steve

Thanks for posting this information, I'll take a look at implementing that change to Cart Viper.

Regards

Mark
 
New Post
3/22/2018 11:26 PM
 
Hi Steve

Out of interest what version of CV are you running?

Looking at the code we pass in an encrypted cookie which contains the portal ID so it should work fine as it is in the latest version of CV.
I normally develop using a child portal for that reason, if you running into issues its normally on a child portal.

Regards

Mark
 
New Post
3/23/2018 5:47 PM
 
Hi Mark,

It is 3.8.1. I just downloaded it.

Could it be from an invalid https certificate? I added a browser exception because the testing subdomain is not listed in the certificate. Just the www is valid in the cert.

CV_Store_Portal_Cart_1 is there in cookies with the encrypted cart data.

Thanks,

Steve

 
New Post
3/26/2018 1:47 AM
 
Hi Steve

It could be the SSL issue.

Adding the parameter portalID=X to the query string shouldn't have any effect since we are only loading the portalID from the encrypted cookie.
Are you still having the same issue now?

Regards

Mark
 
Previous
 
Next
HomeHomeIssues and Supp...Issues and Supp...Installation & ...Installation & ...DisplayOrders.ascx not using portal to show Order PDFDisplayOrders.ascx not using portal to show Order PDF


 

We use cookies on our website to improve our service to you, by continuing you agree to our use of cookies. However you are able to update your settings at any time.

Cookie Policy

A cookie, also known as an HTTP cookie, web cookie, or browser cookie, is a piece of data stored by a website within a browser, and then subsequently sent back to the same website by the browser. Cookies were designed to be a reliable mechanism for websites to remember things that a browser had done there in the past, which can include having clicked particular buttons, logging in, or having read pages on that site months or years ago.

Strictly Necessary Cookies

These cookies cannot be disabled

These cookies are necessary for the website to function and cannot be switched off. They are normally set in response to your interactions on the website e.g. logging in etc.

Cookies:
  • .ASPXANONYMOUS
  • .DOTNETNUKE
  • __RequestVerificationToken
  • authentication
  • CV_Portal
  • CV_Store_Portal_Cart_0
  • CV_USER
  • dnn_IsMobile
  • language
  • LastPageId
  • NADevGDPRCookieConsent_portal_0
  • userBrowsingCookie

Performance Cookies

These cookies allow us to monitor traffic to our website so we can improve the performance and content of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited or how you navigated around our website.

Cookies:
  • _ga
  • _gat
  • _gid

Functional Cookies

These cookies enable the website to provide enhanced functionality and content. They may be set by the website or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.

Cookies:

Currently we are not utilizing these types of cookies on our site.

Targeting Cookies

These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Cookies:

Currently we are not utilizing these types of cookies on our site.

Feedback