Close

Profile: Deni

Avatar

User posts

7 years ago

Marcos wrote:
Hello,

Thank you for your answer!

I still can't figure a way to make the top menu show the subcategories included in jackets. I added the categories to be shown on the main page and could remove the footer.

However I have a few more other questions:

1) How to make it to show the subcategories when hovering on the top menu.
2) How to put the contact us at the end of the top menu. (which file should I edit)
3) Is there a way to configure the number of products per page to be divisible by 3? (It's configured to 4, 8 and 12)
4) How to add the color boxes on the products colors instead of only the name of the attribute.

I was able to solve No. 1 and No. 3. So.... I'm adding No.5!

5) Is there any way to get rid of the tags appearing on the left side when searching for products?

Thanks!


Hi, 

2. I think you have managed to do it too as now I see the Contact Us link as a last menu item.

4. When adding an attribute to a product you can choose its control type - just select ColorSquares and you will see the colors. You can read more about product attributes here.

5. Go to this file: /Themes/Tiffany/Views/Shared/_ColumnsTwo.cshtml

and find this row (it is present on two places):
@Html.Action("PopularProductTags", "Catalog")


and comment it like this:
@*@Html.Action("PopularProductTags", "Catalog")*@


I hope this helped!

7 years ago

IvanSlater wrote:
Hi!!!

When this view is used? When customer add a product to wishlist? I have customized it and appears it is never called!

Latest 3.7 trial version.

Thanks.


Hi, 

Yes, it is used when a customer clicks on the Add To Wishlist button.

You can see it on our demo and see that the opened popup has class "productAddedToCartWindow", which is the same as in the ProductAddedToWishlistPopupDialog.cshtml view.

Also make sure the view is not overridden in any theme.


I hope this helped!

7 years ago

Hi, 

Yes, our stored procedure is locked, but we have created an extendibility point exactly for modifying the products sorting.

You can look at your database for the function "seven_spikes_ajax_filters_product_sorting".

You are free to modify it per your needs.


I hope this helped!

7 years ago

Hi Marcos,

I just checked your site. It looks like you have not set your home-page-text topic.
Please also check in your administration if you have set any products/categories to be shown on the home page.

The next thing you can check is the /Themes/Tiffany/Views/Home/Index.cshtml view. It should have structure similar to this one:

@{
    Layout = "~/Views/Shared/_ColumnsOne.cshtml";
}
<div class="page home-page">
    <div class="page-body">
        @Html.Widget("home_page_top")
        @Html.Action("TopicBlock", "Topic", new { systemName = "HomePageText" })
        @Html.Widget("home_page_before_categories")
        @Html.Action("HomepageCategories", "Catalog")
        @Html.Widget("home_page_before_products")
        @Html.Action("HomepageProducts", "Product")
        @Html.Widget("home_page_before_best_sellers")
        @Html.Action("HomepageBestSellers", "Product")
        @Html.Widget("home_page_before_poll")
        @Html.Action("HomePagePolls", "Poll")
        @Html.Widget("home_page_bottom")
    </div>
</div>


About the fax in the footer you have to open the /Themes/Tiffany/Views/Common/Footer.cshtml and search for this row and remove it: 
<li class="fax"><span>@T("SevenSpikes.Themes.Tiffany.Common.Fax")</span></li>



I hope this helped !

7 years ago

sermar wrote:
How can I had a slider in a specific topic page?


Hi, 

This requires a little bit of customizing the code in the views as currently there is no logic for knowing in which widget zone we are.

You have to open the /Views/Topic/TopicDetails.cshtml view and find the "page-body" element. In its end add the following code:
@if (Model.SystemName == "YOUR_TOPIC_SYSTEM_NAME")
        {
            @Html.Widget("custom_topic_body_end")
        }


Just replace the YOUR_TOPIC_SYSTEM_NAME with the system name of your topic.

Now go to this file: /Plugins/SevenSpikes.Nop.Plugins.AnywhereSliders/SupportedWidgetZones.xml and following the xml structure add this row:
<WidgetZone>custom_topic_body_end</WidgetZone>


Now go to the administration and Restart Application.

Then go to the Anywhere Sliders plugin administration and create a slider in the same widget zone.


This is it! Now you will have the slider only in the specific topic!

7 years ago

Marcos wrote:
I think I'm missing something because the subcategories should appear when I hover on the menu and they aren't appearing.

Cheers!


Hi, 

This sounds very strange. In order not to make any wild guesses please provide link to your site, so we can investigate your issue. If you do not want to expose your site here, please submit a ticket.

mstuart wrote:
Hello,

I'm using NopUltimatePluginCollection_3.7.148.18764 (RealOnePageCheckout).

I'm trying to figure out how to show/hide the checkout attributes based on a selected shipping method.  

So for example...

I have three shipping methods
- FedEx
- UPS
- Other

If a users selects Other, I want the Checkout Attributes panel to be visible... else I want the Checkout Attributes to be invisible.

I'm new to AngularJs and I'm trying to figure out how to use ng-show in CheckoutAttributes.cshtml, but not sure how to check the selected shipping method like so.  vm.shippingData.selectedShippingMethod.name == 'Other'


Any advice would be greatly appreciated.



Hi, 

The easiest way to go to this file: /Plugins/SevenSpikes.Nop.Plugins.RealOnePageCheckout/Scripts/app/shippingMethods/shippingMethods.controller.min.js and replace its content with this code:
"use strict"; function ShippingMethodsController(n, t, i, r) { var u = this, f; u.shippingData = {}; u.configData = {}; u.configData.isVisible = !0; f = !1; i.load(!0); n.$on("togglePanel", function (n, t) { angular.isDefined(t.hasProductsRequiringShipping) && (f = t.hasProductsRequiringShipping); u.configData.isVisible = !t.pickUpInStore && f }); n.$on("refresh", function () { var n = i.get(); angular.copy(n, u.shippingData); r.hideOverlay(".shipping-methods-loader") }); n.$on("setShippingMethodsOverlay", function () { r.showOverlay(".shipping-methods-loader") }); t.$watch("vm.shippingData.selectedShippingMethod", function (n, t) { n && t && (i.set(n), $(".section.checkout-attributes").toggleClass("ng-hide", n.name === "Next Day Air")) }, !0); u.stringFormat = r.stringFormat; u.renderShippingDescription = r.trustAsHtml } angular.module("realOnePageCheckout.shippingMethods").controller("ShippingMethodsController", ShippingMethodsController); ShippingMethodsController.$inject = ["$rootScope", "$scope", "shippingMethodsContext", "objectUtility"];


Just on the place of the bold text place the system name of your shipping method, in your case maybe "Other".


I hope this helped !

7 years ago

nopnopgogo! wrote:
Hi, we experimenting a strange behavior with the autoscroll. From the last release (maybe the last in april 2016 ?) it doesn't work anymore. Can you show a flag to allow/disallow the autostart/autoscroll function? Thanks a lot  


Hi, 

Please find this file: /Plugins/SevenSpikes.Nop.Plugins.SaleOfTheDay/Scripts/SaleOfTheDay.js and make this row:
autoplay: false,

to be like this:
autoplay: true,


We will think about creating those settings in the administration.


Thanks for your feedback !

7 years ago

Bellgate wrote:
I installed the v3.7 trial version and receive the following error message when I try to view the cart or try to checkout:

'iexplore.exe' (Script): Loaded 'http://localhost:15536/Plugins/SevenSpikes.Nop.Plugins.RealOnePageCheckout/Scripts/angular/angular.min.js'.

Unsupported format of the sourcemap'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131066202514308796): Loaded 'C:\Users\Richard\AppData\Local\Temp\Temporary ASP.NET Files\root\ce354af9\fa5b3c92\App_Web_4enpwiwx.dll'.

'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131066202514308796): Loaded 'C:\Users\Richard\AppData\Local\Temp\Temporary ASP.NET Files\root\ce354af9\fa5b3c92\App_Web_qsx05fpk.dll'.

Unhandled exception at line 37, column 59140 in http://localhost:3732/0f99fe0d42a04d8c99c32a5becf59c5d/browserLink
0x800a139e - JavaScript runtime error: Syntax error, unrecognized expression: div[ng-show='vm.config['termsOfServiceOnOrderConfirmPage']']

Is this error have anything to do with the plugin?


Hi, 

I think this error is coming from the BrowserLink. I suggest you to disable it.

Then, restart your application and see if these errors are still present.

[email protected] wrote:
I would like to remove the "buy button" and "the price" from the products categories and from the featured producte.
I would like to replace it with a "Detail button"

 i cannot find the place in the code where i can change this.


Hi, 

Please go to this file: /Themes/Motion/Views/Shared/_ProductBox.cshtml.

The "add to cart" button is placed in the DIV element with class "buttons". Just find this code:
@if (!Model.ProductPrice.DisableBuyButton)
{
...
}

and comment it. On its place add this code:
<input type="button" onclick="window.location.href = '@Url.RouteUrl("Product", new {Model.SeName})'" class="button-2 product-box-add-to-cart-button" value="Details" />


If you want to hide the prices you can find the DIV element with class "prices" and comment it. Note that this may break the styling of the product box.


I hope this helped !