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...Templates & UITemplates & UIResponsive, Review and modal pop-up.Responsive, Review and modal pop-up.
Previous
 
Next
New Post
4/6/2014 9:26 AM
 

Hi,

First, great job for your new dem web site. I really like it. And it shows in a better all the features your module provides and what we can do with it.

I am still trying to set-up the module and I have 3 troubles.

1 - REVIEWS (and TABS)

I would like, as on your web site to have review not inside tabs - as on your demo web site. I used Jquery to out the add a review link.

Is there a [REVIEW] token I can't find in the documentation? Same for [DESCRIPTION].

2 - AjaxAddToCart.

I have unchecked the "Enable modal pop-up for Ajax Cart". So the "This item was added successfully to your cart!" success message appears now in the top right corner. But "Variant option: xxx is required" still appears in a modal pop-up. Notmal? Do I need to change the "AjaxAddToCart.ascx" file to have the same behaviour as on your demo web site. Because I have troubles with the modal pop-up especially with tablets and smartphone. See point 3

3 - Modal pop-up - colorbox plugin.

I have trouble with the modal pop-up with picture. The pop-up is to far from the top and visitor can't see it. So they just see a black screen, that is quite disturbing.

Do you have feedback about this and how to fix it. Have you some advise about how to fix it. You can see my problem at this page.

 

Thanks by advance.

Regards.

Antoine.

 
New Post
4/8/2014 10:05 AM
 

Hi

Really like your site, its looks clean and beautify designed.

1. Reviews.
So by default CV will attempt to render the reviews inside the tab control. So what we did on the demo is just create a razor script which we can then use as token on the product details page to render these outside of the tabs.

To get you started I've uploaded my razor script which you can use by downloading and place into this folder 
http://www.cartviper.com/Portals/0/pr...

/Portals/0/CVStore/ResponsiveTemplates/Scripts

Once the file is in there you can load it in the product details page by using this token

[RAZOR:ProductReviews.cshtml]

Feel free to tweak the razor script as required!

2. Variants
You seem to have resolved this issue by removing the add to cart on the category page? It shouldn't show both notifications. So if you are still having this issue just add the button back to that page and we'll take another look.

3. Colorbox
This is due to the doc type of the page. Change it to this doctype

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

You can read more about this issue and doctypes here

http://www.jacklmoore.com/colorbox/fa...

Regards

Mark

 
New Post
4/8/2014 2:24 PM
 

Thank you for your reply and your positive comment

1 - Very good, it is what I thought. It provides me an example.

Your "Razor Support" is really awesome. For people like me, have some examples provided to learn and to understand all the possibilities would be great.

 2 - I think I don't make me understood correctly.

On detail page, by default when you click on "Add to Cart" without select a required option, a colorbox modal pop-up appears with the message "Variant option: Size is required".

But in your demo web site this message appears at the bottom of the web site with no pop-up. How do you set it up?

Hope my new explanation is better.

3 - Thank you so much. It works very well now.

Regards.

Antoine.

 
New Post
4/10/2014 9:05 PM
 

Hi Antoine

Glad we have got items 1 and 3 resolved. In time we hope to release a collection of razor scripts to give our customers an idea of the things you can do.

So you asked about how we did the popup effect on the demo store. The answer is we have to replace part of the standard CV functionality with a javascript function which we loaded on the skin of the site.

You can do the same if you wish. These would be the steps.

1. Add a HTML notification div to the skin

<div id="maniNotification" class="text-center">

Item has been added to the cart

</div>

2. Create some CSS to hide and style.

#maniNotification{

padding:20px;

background:#fc8321;

bottom:0px;

position:fixed;

z-index:9999;

width:100%;

display:none;

}

 

3. Then we just need some javascript.

<script type="text/javascript">

 

function AddToCart(productId, c) {

//we may be in the catalogue view so check we have a textbox 1st.

var qty = 1;

 

var boundary = jQuery(c).parents(".cvVariantBoundary");

if(boundary.size() == 0)

{

boundary = jQuery(document);

}

 

if (boundary.find(".StoreQuantityTextBox").length>0) 

{

qty = boundary.find(".StoreQuantityTextBox").val()

}

if(boundary.find(".ddlQtyRestrictions").length>0) 

{

//pulling qty from the dropdownlist

qty = boundary.find(".ddlQtyRestrictions").val()

 

 

var data = {};

data.quantity = qty;

data.productId = productId;

data.action = 'add_product_to_cart';

data.event = 'AddToCart';

if(boundary.find(".cvEventDateOptions").length > 0){

eval("data.eventDate=\"" + boundary.find(".cvEventDateOptions").find("input:checked").val() + "\"");

}

 

AddToCartAjax(data);

 

return false;

}

 

function AddToCartAjax(data) {

 

eval("data.language = \"en-US\"");

var event = data.event;

 

jQuery.ajax({

type: "POST",

async: true,

url: "/DesktopModules/CartViper/CvAjaxHandler.ashx",

dataType: "json",

data: (data),

success: function (data) {

 

if (data.result) {

 

if (jQuery(".StoreMiniCartWrapper")) {

  jQuery(".StoreMiniCartWrapper").show();

}

 

if (jQuery(".miniCartNumberItemsInCart")) {

jQuery(".miniCartNumberItemsInCart").text(data.TotalItemsInCart);

}

 

if (jQuery(".miniCartCartTotal")) {

jQuery(".miniCartCartTotal").text(data.FormattedCartTotal);

}

  

_gaq.push(['_trackEvent', 'Cart', event, data.sku]);

 

if (data.redirectUrl != "") {

window.location = data.redirectUrl;

}

else {

jQuery("#maniNotification").html(data.message).slideDown('slow').delay(1500).slideUp('slow');

}

 

 

} else {

jQuery("#maniNotification").html(data.message).slideDown('slow').delay(1500).slideUp('slow');

}

 

},

error: function (XMLHttpRequest, textStatus, errorThrown) {

},

beforeSend: function (xhr) {

},

complete: function (XMLHttpRequest, textStatus) {

}

});

}

</script>

 

This script assumes you are using Google Analytics since I've got some code in the script above "_gaq" that will record some events for tracking events.

Regards

Mark

 
New Post
4/13/2014 10:44 AM
 

Once again many thanks for all the responses.

 Regards.

Antoine

 
Previous
 
Next
HomeHomeIssues and Supp...Issues and Supp...Templates & UITemplates & UIResponsive, Review and modal pop-up.Responsive, Review and modal pop-up.


 

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