Coder Social home page Coder Social logo

nbrightproject / nbrightbuy Goto Github PK

View Code? Open in Web Editor NEW
21.0 19.0 15.0 205.1 MB

NBrightStore - E-Commerce for DNN (NBSv3)

Home Page: http://www.nbrightproject.org/

ASP 0.28% C# 29.97% HTML 19.95% XSLT 0.04% CSS 6.90% JavaScript 42.10% Shell 0.03% SQLPL 0.72%
dnn dotnetnuke ecommerce

nbrightbuy's Introduction

This project is not supported. Use OpenStore v4.

https://www.openstore-ecommerce.com

NBrightBuy

NBrightStore - E-Commerce for DNN (NBSv3)

Developer please read this to get started:

http://nbsdocs.nbrightproject.org/Documentation/Developerguide/DevSetup.aspx

v3.6.5

  • Allow shipping provider to adjust all shipping cost by a percentage.
  • Fix template to display document download name.

v3.6.5

  • Fix bug on category sort

v3.6.3

  • update JS file.

v3.6.2

  • Fix bug on Category removal and default.

v3.6.1

  • Fix to category Product Select.
  • Fix Tax Drop Down to display description, not value.
  • Add apply tax to all products in a category.
  • Redisplay missing add button for products.
  • Activate Richtext for bespoke model fields.

v3.6.0

  • Convert Product Admin to Razor.
  • BREAKING CHANGE TO CUSTOM PRODUCT FIELD - The file "producfield.html" is used to create bespoke field in the product admin. If you have used this file it will need to be converted to razor as "productfield.cshtml"
  • Allow custom field on the model, using the file called "modelfields.cshtml"
  • Convert Client Admin to Razor.
  • Add custom fields to Client Admin "clientfields.cshtml"
  • REQUIRED min. v8.2.0.0 on NBrightTS (Templating system)

nbrightbuy's People

Contributors

dnnmonster avatar leedavi avatar skamphuis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nbrightbuy's Issues

Sorting of Products in NBS_ProductDisplayLIst not working

Dave.
I was having an issue with products not sorting correctly. I tracked it down to it using the ModifiedDate as a default, which is strange because it was only doing it in my live system, and not dev.

I could only see it happening with the CatId returned wasnt' numeric.

I then went to show someone what I was doing to date, and it crashed. It crashes in Microsoft Edge for me, but if I use Chrome it works OK. It wasn't working for my supplier i Chrome either.

From my previous time, I had setup a debug log in the stored procedures, so I ran the pageload in Edge, then in Chrome.

Edge produced this SQL (which fails).

DECLARE @recct int SET @recct = 3 DECLARE @lbound int, @ubound int SET @lbound = 0 SET @ubound = @lbound + 76 IF @lbound >= @recct BEGIN SET @ubound = @recct + 1 SET @lbound = @ubound - (76) END SELECT NB1.[ItemId] ,ISNULL(NB2.[XMLData],NB1.[XMLData]) as [XMLData] ,ISNULL(NB2.[Lang],ISNULL(NB1.[Lang],'')) as [Lang] ,NB1.[PortalId] ,NB1.[ModuleId] ,NB1.[TypeCode] ,NB1.[GUIDKey] ,NB1.[ModifiedDate] ,NB1.[TextData] ,NB1.[XrefItemId] ,NB1.[ParentItemId] ,NB1.[UserId] FROM ( SELECT ROW_NUMBER() OVER( order by NB4.[XMLdata].value('(genxml/sort)[1]','int'), NB3.productname ) AS row, NB1.[ItemId] ,ISNULL(NB2.[XMLData],NB1.[XMLData]) as [XMLData] ,ISNULL(NB2.[Lang],ISNULL(NB1.[Lang],'')) as [Lang] ,NB1.[PortalId] ,NB1.[ModuleId] ,NB1.[TypeCode] ,NB1.[GUIDKey] ,NB1.[ModifiedDate] ,NB1.[TextData] ,NB1.[XrefItemId] ,NB1.[ParentItemId] ,NB1.[UserId] FROM dbo.[NBrightBuy] as NB1 left join dbo.[NBrightBuyIdx] as NB3 on NB3.ItemId = NB1.ItemId and NB3.[Lang] = 'en-AU' left join dbo.[NBrightBuyLang] as NB2 on NB2.ParentItemId = NB1.ItemId and NB2.[Lang] = 'en-AU' left join dbo.[NBrightBuy] as NB4 on (NB4.TypeCode = 'CATXREF' or NB4.TypeCode = 'CATCASCADE' ) and NB4.ParentItemId = NB1.ItemId and NB4.XrefItemId = Order by WHERE NB1.TypeCode = 'PRD' and (NB1.PortalId = '1' or NB1.PortalId = '-1') and (NB1.ModuleId = '483' or NB1.ModuleId = '-1') and NB1.[ItemId] in (select parentitemid from dbo.[NBrightBuy] where (typecode = 'CATCASCADE' or typecode = 'CATXREF') and XrefItemId = 27) and (NB3.Visible = 1) ) AS NB1 left join dbo.[NBrightBuyIdx] as NB3 on NB3.ItemId = NB1.ItemId and NB3.[Lang] = 'en-AU' left join dbo.[NBrightBuyLang] as NB2 on NB2.ParentItemId = NB1.ItemId and NB2.[Lang] = 'en-AU' left join dbo.[NBrightBuy] as NB4 on (NB4.TypeCode = 'CATXREF' or NB4.TypeCode = 'CATCASCADE' ) and NB4.ParentItemId = NB1.ItemId and NB4.XrefItemId = Order by WHERE row > @lbound AND row < @ubound

Error is:
Msg 156, Level 15, State 1, Line 2 Incorrect syntax near the keyword 'Order'. Msg 156, Level 15, State 1, Line 2 Incorrect syntax near the keyword 'and'.

Chrome has this SQL

DECLARE @recct int SET @recct = 3 DECLARE @lbound int, @ubound int SET @lbound = 0 SET @ubound = @lbound + 76 IF @lbound >= @recct BEGIN SET @ubound = @recct + 1 SET @lbound = @ubound - (76) END SELECT NB1.[ItemId] ,ISNULL(NB2.[XMLData],NB1.[XMLData]) as [XMLData] ,ISNULL(NB2.[Lang],ISNULL(NB1.[Lang],'')) as [Lang] ,NB1.[PortalId] ,NB1.[ModuleId] ,NB1.[TypeCode] ,NB1.[GUIDKey] ,NB1.[ModifiedDate] ,NB1.[TextData] ,NB1.[XrefItemId] ,NB1.[ParentItemId] ,NB1.[UserId] FROM ( SELECT ROW_NUMBER() OVER( Order by ModifiedDate DESC ) AS row, NB1.[ItemId] ,ISNULL(NB2.[XMLData],NB1.[XMLData]) as [XMLData] ,ISNULL(NB2.[Lang],ISNULL(NB1.[Lang],'')) as [Lang] ,NB1.[PortalId] ,NB1.[ModuleId] ,NB1.[TypeCode] ,NB1.[GUIDKey] ,NB1.[ModifiedDate] ,NB1.[TextData] ,NB1.[XrefItemId] ,NB1.[ParentItemId] ,NB1.[UserId] FROM dbo.[NBrightBuy] as NB1 left join dbo.[NBrightBuyIdx] as NB3 on NB3.ItemId = NB1.ItemId and NB3.[Lang] = 'en-AU' left join dbo.[NBrightBuyLang] as NB2 on NB2.ParentItemId = NB1.ItemId and NB2.[Lang] = 'en-AU' WHERE NB1.TypeCode = 'PRD' and (NB1.PortalId = '1' or NB1.PortalId = '-1') and (NB1.ModuleId = '483' or NB1.ModuleId = '-1') and NB1.[ItemId] in (select parentitemid from dbo.[NBrightBuy] where (typecode = 'CATCASCADE' or typecode = 'CATXREF') and XrefItemId = 27) and (NB3.Visible = 1) ) AS NB1 left join dbo.[NBrightBuyIdx] as NB3 on NB3.ItemId = NB1.ItemId and NB3.[Lang] = 'en-AU' left join dbo.[NBrightBuyLang] as NB2 on NB2.ParentItemId = NB1.ItemId and NB2.[Lang] = 'en-AU' WHERE row > @lbound AND row < @ubound

Which runs, but is using the Modified date.

I had changed the setting to a static list to see if that would use a different path and resolve my issue.

What is strange is that using a different browser generates different SQL!

Changing the settings so not to use Static, stops the SQL crash.

Now when running on Edge I get

DECLARE @recct int SET @recct = 3 DECLARE @lbound int, @ubound int SET @lbound = 0 SET @ubound = @lbound + 76 IF @lbound >= @recct BEGIN SET @ubound = @recct + 1 SET @lbound = @ubound - (76) END SELECT NB1.[ItemId] ,ISNULL(NB2.[XMLData],NB1.[XMLData]) as [XMLData] ,ISNULL(NB2.[Lang],ISNULL(NB1.[Lang],'')) as [Lang] ,NB1.[PortalId] ,NB1.[ModuleId] ,NB1.[TypeCode] ,NB1.[GUIDKey] ,NB1.[ModifiedDate] ,NB1.[TextData] ,NB1.[XrefItemId] ,NB1.[ParentItemId] ,NB1.[UserId] FROM ( SELECT ROW_NUMBER() OVER( order by NB4.[XMLdata].value('(genxml/sort)[1]','int'), NB3.productname ) AS row, NB1.[ItemId] ,ISNULL(NB2.[XMLData],NB1.[XMLData]) as [XMLData] ,ISNULL(NB2.[Lang],ISNULL(NB1.[Lang],'')) as [Lang] ,NB1.[PortalId] ,NB1.[ModuleId] ,NB1.[TypeCode] ,NB1.[GUIDKey] ,NB1.[ModifiedDate] ,NB1.[TextData] ,NB1.[XrefItemId] ,NB1.[ParentItemId] ,NB1.[UserId] FROM dbo.[NBrightBuy] as NB1 left join dbo.[NBrightBuyIdx] as NB3 on NB3.ItemId = NB1.ItemId and NB3.[Lang] = 'en-AU' left join dbo.[NBrightBuyLang] as NB2 on NB2.ParentItemId = NB1.ItemId and NB2.[Lang] = 'en-AU' left join dbo.[NBrightBuy] as NB4 on (NB4.TypeCode = 'CATXREF' or NB4.TypeCode = 'CATCASCADE' ) and NB4.ParentItemId = NB1.ItemId and NB4.XrefItemId = 27 WHERE NB1.TypeCode = 'PRD' and (NB1.PortalId = '1' or NB1.PortalId = '-1') and (NB1.ModuleId = '483' or NB1.ModuleId = '-1') and NB1.[ItemId] in (select parentitemid from dbo.[NBrightBuy] where typecode = 'CATXREF' and XrefItemId = 27) and (NB3.Visible = 1) ) AS NB1 left join dbo.[NBrightBuyIdx] as NB3 on NB3.ItemId = NB1.ItemId and NB3.[Lang] = 'en-AU' left join dbo.[NBrightBuyLang] as NB2 on NB2.ParentItemId = NB1.ItemId and NB2.[Lang] = 'en-AU' left join dbo.[NBrightBuy] as NB4 on (NB4.TypeCode = 'CATXREF' or NB4.TypeCode = 'CATCASCADE' ) and NB4.ParentItemId = NB1.ItemId and NB4.XrefItemId = 27 WHERE row > @lbound AND row < @ubound

Which is what I expect.

Models Not working correctly in tab

The NBS_ProductDisplayDetail.cshtml template doesn't work for models.

  1. It displays the product best price, not the model best price
  2. Because it's a table, when it tries to show on a screen of less than 991px width, the whole Product Detail disappears because of this CSS line .productdetail {overflow:hidden;line-height:normal;}

I actually don't need this so will just remove the tab from my template.

I also found a problem with this line of code

if (product.Models.Count >= 1 && product.Options.Count >= 1)

it should be

if (product.Models.Count >= 1 || product.Options.Count >= 1)

Product option not carrying across

We've added an option to a product which has no values, on the front end it shows a textbox that allows the user to enter their own option value. However this value doesn't get passed across to the cart/order. It doesn't appear on the front end or in the XML in the database.

Empty Basket Text not showing

The following code is in NBS_MiniCart.cshtml
`
@ResourceKey("General.basket")

@if (info.GetXmlPropertyDouble("genxml/totalqty") > 0)
{
    <a href="/tabid/@Model.GetSetting("carttab")/Default.aspx">@info.GetXmlPropertyDouble("genxml/totalqty") @ResourceKey("General.txtitems"): @NBrightBuyUtils.FormatToStoreCurrency(info.GetXmlPropertyDouble("genxml/appliedtotal"))</a>
}
else
{
    @ResourceKey("General.txtemptybasket")
}`

The Empty basket text is not showing.

There wasn't an entry in the General Resource File. I add it to the General.ascx.resx file and to the General.en-AU.Portal-0.ascx.resx file. And still it isn't showing.

I also noticed there isn't a "General.txtitems" resource either.

It doesn't show if I change the theme to ClassicRazor either.

i can't see nb-template in site wizard local install

hi
i installed
1 latest nb-sys
2 latest nb-package
and the copy nbs-example-setup.template to _defualt folder and run site wizard from admin menu but in select skin page i can't see nb template!
please help me
thankyou

Unable to compile PaymentProvider

I've download and created the PaymentProvider project.

The Namespace is DPSPaymentProvider.

It won't compile. I get the error: Error 1 Could not load type 'DPSPaymentProvider.DPSPaymentProviderPayment'. C:\inetpub\wwwroot\dnn8\DesktopModules\DPSPaymentProvider\Payment.ascx 1

Payment.ascx contains:

`<%@ Control language="C#" Inherits="DPSPaymentProvider.DPSPaymentProviderPayment" AutoEventWireup="true" Codebehind="Payment.ascx.cs" %>
<asp:Repeater ID="rpDataH" runat="server" OnItemCommand="CtrlItemCommand" >/asp:Repeater

Payment.ascx.cs contains:
`
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI.WebControls;
using DotNetNuke.Common;
using DotNetNuke.Entities.Portals;
using NBrightCore.common;
using NBrightCore.render;
using NBrightDNN;

using Nevoweb.DNN.NBrightBuy.Base;
using Nevoweb.DNN.NBrightBuy.Components;
using DPSPaymentProvider;
using DataProvider = DotNetNuke.Data.DataProvider;

namespace DPSPaymentProvider
{

/// -----------------------------------------------------------------------------
/// <summary>
/// The ViewNBrightGen class displays the content
/// </summary>
/// -----------------------------------------------------------------------------
public partial class DPSPaymentProviderPayment : NBrightBuyAdminBase`

Any ideas?

Access to the path '/Portals/0/NBStore' is denied

In a new installation, following DNN8 Basic Setup from http://nbsdocs.nbrightproject.org/Documentation/Downloads.aspx when I save my Admin > Setting always get:

Access to the path '/Portals/0/NBStore' is denied.

The form data is saved but the message Store Configuration needs to be done. is always there and the directory /Portals/0/NBStore doesn't exist.

Even if I created NBStore Directory in 'File Management' - and this works fine - I'm getting the same error.

This is probably something with permissions, but I'm in Azure and don't know which one. Any suggestion?

Full event log message:

AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:d4c4203c-eef0-4d4a-b13e-055c3bb8022b
AssemblyVersion:8.0.4
PortalId:0
UserId:1
TabId:429
RawUrl:/Store
Referrer:http://xxxxxxxxxxx.azurewebsites.net/Store
UserAgent:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
ExceptionHash:Wgm62z54aPCjkVwamQGLJQ==
Message:Access to the path '/Portals/0/NBStore' is denied.
StackTrace:
InnerMessage:Access to the path '/Portals/0/NBStore' is denied.
InnerStackTrace:
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
   at System.IO.Directory.CreateDirectory(String path)
   at Nevoweb.DNN.NBrightBuy.Admin.Settings.Update()
   at Nevoweb.DNN.NBrightBuy.Admin.Settings.CtrlItemCommand(Object source, RepeaterCommandEventArgs e)
   at System.Web.UI.WebControls.Repeater.OnItemCommand(RepeaterCommandEventArgs e)
   at System.Web.UI.WebControls.Repeater.OnBubbleEvent(Object sender, EventArgs e)
   at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
   at System.Web.UI.WebControls.RepeaterItem.OnBubbleEvent(Object source, EventArgs e)
   at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
   at System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e)
   at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Source:
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:

Upgrading from NBStore

I'm currently using the old NBStore.

Is there an upgrade path, or do I have to start again?

Is the Direct Payment Solutions Payment Gateway supported with the new product? This wasn't on the list

Broken links after last update

Links to product detail show error now
system.collections.generic.keynotfoundexception:%20The%20given%20key%20was%20not%20present%20in%20the%20dictionary.%20%20%20at%20System.Collections.Generic.Dictionary2.get_Item(TKey%20key)%20%20%20at%20Nevoweb.DNN.NBrightBuy.Components.NBrightBuyUtils.GetEntryUrl(Int32%20portalId,%20String%20entryid,%20String%20modulekey,%20String%20seoname,%20String%20tabid,%20String%20catid,%20String%20catref)%20%20%20at%20NBrightBuy.render.NBrightBuyRazorTokens1.EntryUrl(NBrightInfo%20info,%20NBrightRazor%20model,%20Boolean%20relative,%20String%20categoryref)

here is sample
http://v2.stroy-svet.ru/ru/

Model Causing Some Complaints

I'm not sure if I'm just not setting up the models correctly. But for example if I'm selling shirts, with models set for the different sizes (rather than options because we want to track inventory), if I set the retail price to $20 but leave the sale price at zero, I'm getting some complaints from customers. The "Models" tab at the bottom of the product view shows $20 (struck through) followed by $0.

Some folks are seeing this and are saying "Hey, that should be free. You're advertising it as free."

I have "solved" the issue by putting in the same price for Sale and for Retail. But then the item is flagged as being on sale.

I've searched in the details.html for a way to remove the Models tab (the way I did the social media tab). But I've had no success yet. I don't really see a need to have the Models tab down below if it already displays on main product detail. Any advice on how to remove it?

Or is there a more correct way to do what I'm trying to do?

Thanks!

New Install stuck in

Installed with Site Wizard new DNN site used nbs-example-setup.template
per http://nbsdocs.nbrightproject.org/Documentation/Integratorguide/Installation.aspx
Installed
34794_0_NBrightDNN_TemplateSys_v03.03.00.zip
34794_0_NBrightStore_03.01.00.00_Install.zip
Only installed the higher version of like names
With Site Wizard run again using nbs-example-setup.template
that takes me info myURL/Home/ctrl/settings
I have SET Store Configuration> Back Office Exit Page=Home
change & Save Back Office Exit Page=Basket still goes into myURL//Basket
I only have db's = NBrightBuy , NBrightBuyIdx , NBrightBuyLang , NBrightData

I can not do the next step as hung in Exit not working
After creating the site structure with the DNN wizard. Enter the NBS Back Office through the Admin>NBS Back Office page.

Error on Basket Module Product Link

We have a new install V3.5 on DNN 8

We are receiving this error on the item's Product Link within the Basket view:
it is a quiet error as it only appears within the 'link's output' without any Event Viewer item

system.nullreferenceexception: Object reference not set to an instance of an object.
at Nevoweb.DNN.NBrightBuy.Components.ProductData.get_SEOName()
at Nevoweb.DNN.NBrightBuy.Components.NBrightBuyUtils.GetEntryUrl(Int32 portalId, String entryid, String modulekey, String seoname, String tabid, String catid, String catref)
at NBrightBuy.render.NBrightBuyRazorTokens`1.EntryUrl(NBrightInfo info, NBrightRazor model, Boolean relative, String categoryref)

A couple of issues /questions after testing

Hi guys

Have been using the old nb store for a while now and so have been waiting semi patiently for the v3 release. Installed and had a p[lay around in it this afternoon and came accross a few things I thought I'd share.

I followed your instructions for installation, creating a new portal from the template files provided which is a brilliant way to get up and running btw.

First impressions was that the new user interface looks so much cleaner and user friendly. Also pretty excited about everything being responsive now.

OK so onto the concerns/questions.

  1. I have added 2 products and they appear in the shop front but do I can not see them in the BO. "Products" shows the search tools and not much else. I have even managed to do a transaction and purchase one of them. I do seem to be able to edit the product by going into the orders section finding an order that contains the product and then "edit product in store"
  2. Paypal - please tell me this is a setting I just need to engage and then set the values much like we are used to?
  3. import - I see an option for XML imports, are we going to get a csv option as well.
  4. templates - the old version had a bunch of templates at easy reach we could customise per portal, how do we handle this going forward? Perhaps by creating "themes" in the desktopmodule?
  5. adding images - When originally creating my products I tried adding images and the loading bar flashed up for a second and that was about it.
  6. Buy button - appears to be missing on product details page. Is present on list view

happy to help out with testing when I can.

DNN 7.04.01 on local host

ps I have an open question on Codeplex around category imports in the old nb store and would really appreciate if someone could take a look for me https://nbstore.codeplex.com/discussions/642342 I was kinda hoping that I might just ditch that store and start again w v3 but don't think we are there yet.

Thanks heaps
Bryan

Collect from store

In the Checkout settings there is a checkbox 'Collect from store'
What I expected it to do is:

  • to have an extra shipping option (either choosing shipping address oor on the review order page)
  • shipping costs go to zero

Right now, I have checked the option but nothing seems to have happened.

Tycho

Setting up Tax for NBrightstore

I'm just implementing this and upgrading to DNN8.

I need to have it setup so that 10% GST applies to transactions where the customer is from Australia, and for the tax to be removed.

In NBStore the TaxApplies.List setting enabled me to do this.

I can't find any documentation on setting up the tax

Is this the correct forum to ask questions about how the store operates?

I am a newbie to NB Store and GitHub. I see most of the dialogue on this site is related to "issues" in which thing are not working correctly. I have some questions that are not addressed in the online Manager Guide and was wondering if this is an appropriate forum to ask those questions. These are general questions about the operations of the store and are probably not issued related to coding problems. For example I have store data from a previous store and would like to import that into NB Store but cannot determine the correct schema/format for the input file. Also I am not getting anything in the "Details" view of the Product Viewer on the Details page and cannot determine why. Thanks in advance.

Can not install Extension Could not find file NBS.dnn

I get error message
Message:Could not find file 'D:\Development\DevNBrightBuy\Install\Temp\0t4bkrxb\NBS.dnn'.
It is there in dir listed below
D:\Development\DevNBrightBuy\Install\Temp\0t4bkrxb\NBrightBuy-master\Installation

I have Unblocked the downloaded ZIP

It occurs from my desktop and on the dedicated server.

Thanks in advance for any help

Changing Order Emails

I have to things I'm trying to do and can't figure it out.

I would like to send a different email to the store admin email than I do to the customer. This is because the store admin email comes into ConnectWise and creates a ticket. CW doesn't handle the HTML very well, so would like this email to be different to the one the customer gets (the default one is fine).

I would also like to change the email subject so it includes at least the order confirmation, and possible the customer name in the subject. This is so when I'm looking at the tickets that each order has a unique subject. It's much easier to manage.

Thanks for your help.

Uploading Transparent PNG images

Hi,

I uploaded transparent background PNG images and all are coming with a black background on the product details page for the main product picture. Please, can you advise, if we can not upload transparent PNG images for the product images?

What can I do for this? Please, can you advise?

Thank You!

problem with images not showing up

Hi, I have downloaded the 34794_0_NBrightStore_03.01.14.00_Install.zip from dnnstore.

There is a problem with images of products not showing up in the images list.

I think that the problem is with the "{Settings":

<div class="image" style="height:">
<img src="/DesktopModules/NBright/NBrightBuy/NBrightThumb.ashx?src=/Portals/xxxx/NBStore/images/5fOKb7s8.jpg&w={Settings" title="description">
</div>

Sorry I'm new to N

Importing Products

I'm trying to use the import feature.
First thing I tried was to import using the xml format from nbstore v2.
When I do that the page flashes, the filename disappears, and then nothing happens. No messages and nothing imported.
So next step was I created a product and attempted to export it so I can see the XML file, and it just throws an error (in the url) that it can't find a file path.
http://localhost/Default.aspx?tabid=3224&error=Could+not+find+a+part+of+the+path+%27C%3a%5cinetpub%5cwwwroot%5cgoldrushtechnology%5cPortals%5c2%5cNBStore%5cuploads%5cexport.xml%27.&content=0

I can't find any documentation on this either.

Customisations required.

Is it possible to set this store up as follows:

  1. Client sells vintage audio equipment all over the world. Has a price for each product but sets the shipping cost once someone shows an interest in a product. Therefore would like to show a simple product catalogue (4 categories) with just an image, product name, brief description and price. And then a button that offers 'request quote for shipping' or similar.
  2. Each item is a one off but it is VERY important that products remain visible even after purchase as he gets many visitors to the site just looking for spec's etc. on a listed item. Therefore we would like to be able to mark an item as 'sold' so that it remains in the list but drops to the bottom.

Is this possible and if so, how do I do it. I'm finding your documentation confusing and inconsistent with the what I see on the screen.

I'm sure this is all just growing pains and I look forward to getting my head around the new system. It shows great promise.

cheers
MartyNZ

Creating Categories & Page Redirection

Hi David

I'm still having 500 errors. This time when I try to create a category. I can assign products, but can't save any other details such as name, code etc.

Also, page redirection is not working on min-cart and basket. The module settings appear correct, but the tabid in the url seem not to have aligned

Kind regards
Christine

Classic theme has hardcoded image width

Hi, The classic theme "NBright\NBrightBuy\Themes\Classic\Default\List.htm" has a hard coded value for productimg of 294px, setting it to width:[Settings:classicitemwidth]px allows the image and the overlay to resize but alas not the the required size.

Shipping Charges Doubling Up in Paypal

Hi David,

I've noticed a problem with how shipping is being calculated. At first, I set up my shipping to be based on pricing. So for example,
0-120=6.00
120-220=12.00
etc

So when I would order one tee shirt at $ 20.00, the cart would show the total with shipping to be $ 26.00. But when this got to PayPal, it would show $ 32.00.

So I changed my shipping to be based on weight. But I got the same thing.

It's like it is sending the total with shipping to paypal as just the total, and then sending the shipping along also.

Can we get this fixed? I've got customers who are losing sales due to this issue.

Thanks!

Microsoft Azure SQL DB Deploy error

The table NBrightBuyIdx doesn't have a primary key. I set the column ItemId to the tables primary key. After doing so I was able to deploy

When trying to deploy to Azure I got this error:

One or more unsupported elements were found in the schema used as part of a data package.
Error SQL71564: Table Table: [dbo].[NBrightBuyIdx] does not have a clustered index. Clustered indexes are required for inserting data in this version of SQL Server.
(Microsoft.SqlServer.Dac)

Categories

Still having troubles with categories edit.

  1. Press add several times to have amount of fields to fill in. Fill them in and decide you need more. Press add button and loose all data you already filled in.
  2. Do it again - press "add" many times (remember not to press add before save this time) but just double click on fields where mozilla already remember you previous text for field (so you just double click on field and choose value). Press save and loose all predefined fields (store saves only fields that was modified my keyboard - not by double click and select)

Discounts do not pass to PayPal

When allowing a discount in the cart, for an example, the total is $89 and you have a promotional $30 off, thereby making the total $59. When passed to PayPal then the original total without the discount is sent.

Trimming the BackOffice view by Permission

We have the V3.5 running on DNN8 and would like to trim the Backoffice functionally by a User's permission. The target use case is such that a security role called ProductRep would have a product view within BackOffice excluding other views available to the ManagerRole or EditorRole.
We had noticed there is some code commented referring the Client role
// anyone only in the client role is only allowed in the products control
if (UserInfo.IsInRole(StoreSettings.ClientEditorRole) && (!UserInfo.IsInRole(StoreSettings.EditorRole)
&& !UserInfo.IsInRole(StoreSettings.ManagerRole)
&& !UserInfo.IsInRole("Administrators")))
{
// ctrl = "products";
}
Does this accomplish our target use case?

Issue installing

Hi I have tried downloading the zip for the project and installing through the 'Install extension wizard' but get the critical error: Could not find file 'C:\inetpub\vsites\DEVELOPMENT SITES\NBStore\Install\Temp\yhbl2fou\NBS.dnn'.

I then extracted the zip and rezipped the contents of the NBrightBuy-master folder, tried again and got the same error.

I can see the file in the installation folder but I don't know what I am doing wrong, could you advise?

Regions not working properly with saved addresses

There is an issue with how the region works on the address stage of the checkout.

Firstly, it wasn't saving the region to the userdata for the user,

I fixed this in the NBS_CheckoutAddress.cshtml by updating the following code and adding region to it.

` @if (info.UserId >= 0)
{


@ResourceKey("General.ChooseAddress")

@AddressSelectList(info,"genxml/dropdownlist/selectaddress", ".checkoutbillform", "firstname,lastname,company,unit,street,postalcode,city,country,telephone,email,region", "class='chooseaddress'")

}

So now the region/state is saved, but when the address is selected it isn't returned.

I had a bit of a look but couldn't really work it out.

It also keeps adding addresses to the saved addresses because of this.

One other thing, if there is a saved address, it would be good to preselect it rather than having to select the address each time. If there is more than one address, you could have it selected as default shipping, or default billing etc.

Another nice to have would be to be able to change the label, particularly for Region, based on the country selected. not sure how hard this would be. For example in Australia you would use States, rather than region, and UK, it would be Counties.

I just installed the AddressAdmin module. It's not displaying regions on the first page. Also, I can't see how to change the primary address.

Creating a new theme

Dave,

I need to create a new theme.

I copied the ClassicRazor theme, edited it replacing ClassicRazor with GRT.Razor

However I'm getting this error:

System.InvalidOperationException: The same key was already used for another template! at RazorEngine.Templating.DelegateTemplateManager.<>c__DisplayClass5_0.b__0(ITemplateKey k, ITemplateSource oldSource) at System.Collections.Concurrent.ConcurrentDictionary2.AddOrUpdate(TKey key, TValue addValue, Func3 updateValueFactory) at RazorEngine.Templating.RazorEngineServiceExtensions.RunCompile(IRazorEngineService service, String templateSource, String name, Type modelType, Object model, DynamicViewBag viewBag) at Nevoweb.DNN.NBrightBuy.Components.NBrightBuyUtils.RazorRender(Object info, String razorTempl, String templateKey, Boolean debugMode)System.InvalidOperationException: The same key was already used for another template! at RazorEngine.Templating.DelegateTemplateManager.<>c__DisplayClass5_0.b__0(ITemplateKey k, ITemplateSource oldSource) at System.Collections.Concurrent.ConcurrentDictionary2.AddOrUpdate(TKey key, TValue addValue, Func3 updateValueFactory) at RazorEngine.Templating.RazorEngineServiceExtensions.RunCompile(IRazorEngineService service, String templateSource, String name, Type modelType, Object model, DynamicViewBag viewBag) at Nevoweb.DNN.NBrightBuy.Components.NBrightBuyUtils.RazorRender(Object info, String razorTempl, String templateKey, Boolean debugMode)System.InvalidOperationException: The same key was already used for another template! at RazorEngine.Templating.DelegateTemplateManager.<>c__DisplayClass5_0.b__0(ITemplateKey k, ITemplateSource oldSource) at System.Collections.Concurrent.ConcurrentDictionary2.AddOrUpdate(TKey key, TValue addValue, Func3 updateValueFactory) at RazorEngine.Templating.RazorEngineServiceExtensions.RunCompile(IRazorEngineService service, String templateSource, String name, Type modelType, Object model, DynamicViewBag viewBag) at Nevoweb.DNN.NBrightBuy.Components.NBrightBuyUtils.RazorRender(Object info, String razorTempl, String templateKey, Boolean debugMode)

Someone also reported this on codeplex.

I guess there is a template key defined somewhere, but I can't find it!

Help much appreciated.

Sort on properties

I didn't get an answer on this before David closed the previous issue. Perhaps I didn't ask clearly enough.
I have figured out how to create a property, and add that property to a product. I can filter on that property in the ProductView module. What I want to know is how I can sort on the property in product view. The goal being to sort so that items 'For Sale' are listed before items 'Sold' in the product view.
Is this possible?

cheers
MartyNZ

The given key was not present in the dictionary.

So I set up the NB Store v3 and added two products.
While testing and attempting to "buy" one of the products, an error occurs and the message is: "The given key was not present in the dictionary."

Do you know of anyway to fix such an error?

Timeout message on Checkout

Getting Request Failed: timeout on Checkout on my production server.

image

If it's on step 2 displaying the address. If I got to the page with the basket, then go next and go to the checkout step 2 it works OK. However if I go directly via checkout it fails.

I removed all the countries bar three thinking it might be that.

I increased the timeout setting on the Host Settings from 90 to 180, but it still fails in the same amount of time. TBH it isn't very long.

Any ideas?

PS. Got the DPS Payment Provider working well if your interested.

Illegal characters in path

After I installed the PayPal plugin, I get an "Illegal characters in path" error message on the basket/checkout page.
I did put in 2 settings in BO> Admin> Paypal Payment, the verifyURL and PayPal ID - first I used my paypal email for ID then I tried the Merchant account ID from my paypal account, same results.

Basket Not Updating

Dave,

As I mentioned in a previous issue, I've made a copy of the ClassicRazor so I can create my own design.

It mostly seems to work fine, except the basket in the MiniCart is not updating when an item is added. It is being added to the basket ok, it's just the minicart details aren't changing.

I'm guessing it may be simple if you could point me in the right direction.

John

PS. Love the new product.

Object reference not set to an instance of an object. when trying to save module settings

This seems to be happening with some NBS modules. I tested them all and these failed.
NBS_CategoryMenu, NBS_MiniCart, NBS_ProfileForm, NBS_DisplaySearch

However, it's all my my new live site, not on my development one.

Any ideas?

at DotNetNuke.Security.Permissions.PermissionController.<>c__DisplayClass8_0.b__0(PermissionInfo p) at System.Linq.Enumerable.WhereListIterator1.MoveNext()
at System.Linq.Buffer1..ctor(IEnumerable1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) at DotNetNuke.Security.Permissions.PermissionController.GetPermissionsByModule(Int32 moduleId, Int32 tabId) at DotNetNuke.Security.Permissions.Controls.ModulePermissionsGrid.GetPermissions() at DotNetNuke.Security.Permissions.Controls.PermissionsGrid.CreateChildControls() at DotNetNuke.Security.Permissions.Controls.ModulePermissionsGrid.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.Control.FindControl(String id, Int32 pathOffset) at System.Web.UI.Control.FindControl(String id, Int32 pathOffset) at System.Web.UI.Control.FindControl(String id, Int32 pathOffset) at System.Web.UI.Control.FindControl(String id, Int32 pathOffset) at System.Web.UI.Control.FindControl(String id, Int32 pathOffset) at System.Web.UI.Page.FindControl(String id) at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Tax

How do I configure the tax so that customers from Australia are taxed, and everyone else is tax exempt?
Tried some different options on the settings and all it did was removed the tax for Australia.

Buy Button

I have products with multiple options where the buy button seems no to operate. It won't let me add to the cart. mi1Printing.com

More info on the ListView Grid

I'm trying to add more information about an item in each of the GridView cells from product information entered in Admin. For example we'd like to display the SEO TITLE data below the ProductName.
image
Right now I have added a line to the NBS_ProductDisplayList.cshtml template line 111 like this:
<div class="description"> <h4><a href="@EntryUrl(info,Model)">@ProductName(info)</a></h4> <h6>@ProductName(info)</h6>
My question is;"what can I do to pull the SEOTITLE data into the heading 6 location?"

I've tried scouring the code, and random variations like '@SEOTitle(info)' without luck.

Uploading Images

Just tried to upload an image.
It goes through the process, and then no image appears. Just the icon showing that there is no image.
I then delete the image
If I try and add the image, all the images I deleted (except they aren't there) reappear. So I now have 4 images, but nothing in them.

Shipping method. Checkout step problem

Dear Sir!
I'm trying to develop my own Shipping provider, I took default shipping provider as base and it works, but now I need to add custom checkout options at the stage Summary ("Order process"->"Basket"->"Addresses"->"Summary") (like Chronopost). Could you provide any ideas or a parts of the Cronopost Shipping Provider c# / html/xml code

Thanks for your help.

Classic theme model list correction

The testof for the model list is looking for a type double and so always evaluates as false. I believe that this needs to be evaluated as an int.

i.e.

[<tag type='testof' xpath='genxml/textbox/txtsaleprice' testvalue='0' display='{OFF}' />]

rather than

[<tag type='testof' xpath='genxml/textbox/txtsaleprice' testvalue='0.00' display='{OFF}' />]

Added to Basket Message on Product Detail page

at line 25 of the ClassicRazor theme, NBS_ProductDisplayDetail.cshtml template, if you add the 'message' class "addbasketmsg@(info.ItemID)" then clicking the 'Add to Basket' button will display the confirmation (as it does in the grid list)

class="addedtobasket" could be
class="addedtobasket addbasketmsg@(info.ItemID)"

Several issues with the new store

  1. When adding products, after adding a product I have to exit BO and clear the cache, then go back in to BO to add the next product.
  2. I've added one product and forgot to add it to the relevant category, I went back in and added it to the category but now the parent category shows in the store front even though it is not listed in that category.
  3. I have added ONLY a retail price to each product. The retail price displays in list view but in detail view the price displayed is $0.00.
  4. Detail view displays 'itemlistfield Wishlist: itemlistcount' above product image
  5. List view displays 'Wishlist: itemlistcount' above each item.
  6. I want to be able to display the categories on the store front and drill down to product lists. Used to be able to do this by setting up an 'All Products' parent category in the old store. Is this possible in this new one?

Feature Properties

Dave,
I'm keen on using the Feature Properties.

However I see that the Product Display isn't yet setup to show these.
I'm happy to develop this but what I can't find in the database is where the Products are linked to the features. I can find the features, and the products, but not the link between them. I'm sure it's there somewhere!

Installation issues with new store

Hi Dave

Looking in the Event Viewer, this is one of the page load exception error messages. If it will make things easier, I can add a super user account for you?

Kind regards
Christine

AbsoluteURL:/bapsh/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:a6d2e40c-278b-4159-bae8-1cd5f44e09ef
AssemblyVersion:7.4.1
PortalId:0
UserId:1
TabId:198
RawUrl:/bapsh/Admin/NBSBackOffice.aspx
Referrer:http://bapsh.qsdesigns.co.uk/bapsh/Admin/Pages.aspx
UserAgent:Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)
ExceptionHash:pRCrRYkIOWxH979QCxxevA==
Message:Object reference not set to an instance of an object.
StackTrace:

InnerMessage:Object reference not set to an instance of an object.
InnerStackTrace:
at Nevoweb.DNN.NBrightBuy.Components.PluginData.GetPluginList()
at Nevoweb.DNN.NBrightBuy.Components.PluginData.GetProviders(String providerType, Boolean activeOnly)
at Nevoweb.DNN.NBrightBuy.Base.NBrightBuyBase.OnInit(EventArgs e)
at Nevoweb.DNN.NBrightBuy.Admin.BackOffice.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at System.Web.UI.ControlCollection.Add(Control child)
at DotNetNuke.Framework.DefaultPage.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.