how to remove [+£xxx] weight adjustment from product attributes on product detail page in nopcommerce 3.8 - nopcommerce-3.80

I want to remove the [+£xxx] weight adjustment from product attributes on product detail page in nopcommerce 3.8.
For more clear let see the image
the red box indicates the weight adjustment of product attribute which I want to remove.
Is there any admin setting or done by code.
If code then where I want to change?

Done. By removing [{1}] value from products.productattributes.priceadjustment resource name in language.

Related

Prestashop : Change product price from front

I want to create a product that we can change his price from the front .
There's a way to do this please?
This product will appear just in cart tpl so we can add him to the list by Ajax.
The fast way is add attributes (combinations) to product which will change the price. Then in front office the user change attribute for example "+10$" (this is a label) in this product.

spree ecommerce set minimum order amount for cart

We want to define a minimum order value. If line items total less than $500, it will show up error message when customer click on "checkout" button. Can we be able to find this setting under config for admin account?
Looks like spree doesn't have the minimum order value as configurable. You need to add some custom code to achieve this. Check this gist for an example of custom code.

price is not change based on product attribute prestashop 1.6.0.9

I am facing issue on my store.
I have Prestashop 1.6.0.9 Version on my product detail page.I have different attribute like color,size etc.Product price is not change based on attribute.
Can anyone have solution?
If u change combination and price still the same you should check your_theme/js/product.js and also check id="our_price_display". Maybe u have changed your code in tpl file and now Jquery cant find our_price_display?

TFS 2013 - Description HTML Field Can't Be Required

Fellow TFS users and/or junkies,
We are using TFS 2013. When I add required for Description HTML (Microsoft.VSTS.Common.DescriptionHTML), the default value still shows up as "As a I want so that ", THUS it doesn't require the user to fill anything in and it doesn't show up yellow. Sure, I could change the field, but we already have many things linked to Description HTML and can't risk changing the fields (reports and such are already setup). How would I change this so either:
A. It is empty and will show up required OR
B. It requires the user to change the value
Things I tried:
Setting the value to empty. Won't allow me to have both empty AND required.
Setting Default Value to empty. Won't allow me to that either.
Setting Prohibited Values to the default text it has. Not allowed for the field.
Applying a WhenNotChanged rule for the field and setting it to required. It already has a value so it doesn't matter if it's required or not.
I've just looked into a similar tfs machine.
It's just a defined "Default" rule but not in the "Fields" tab but in workflow tab.
In my case, it was in the initial transition rule.
To be specific:
Like you can guess, using Power Tools;
open the work item
go to the "Workflow" tab.
In the designer, double click the (most possibly) first transition element to view its settings
In the window opened, go to the "Fields" tab
If you see "Description" field there, double click it
Remove the "Default" rule
Now, you don't have a default text. You can set it "Required" and it'll be ok.
Close all, go to Fields tab of work item and set a required rule in a way as you expected initially.

Django admin : Expand all the entries in stackedinline by default

In my django application, I am using an admin interface to see all the products and each product can have several images. I have stacked the images into the Product Page using the below code
class ProductImage_Inline(admin.StackedInline):
model = ProductImage
extra = 3
formfield_overrides = {
ImageWithThumbnailField : {'widget' : AdminImageWithThumbnailWidget},
By default, in the Product Admin page I can't see all the images because all the entires in the StackedInline are collapsed by default. I have to manually click on each of them to expand so as to see the image.
How can I expand all the entries in a StackedInline by default?
P.S : I am using Grappelli theme and suspect that it is collapsing them by default
I realize that this is a bit late, but, as of Grappelli 2.3.7, you can now easily do what your trying to do with the "inline_classes" attribute of your Inline Class:
class MyInline(StackedInline):
model = MyModel
classes = ('collapse open',)
inline_classes = ('collapse open',)
This didn't seem to work in 2.3.5 (I had to upgrade to 2.3.7 to make it work). And since it isn't clear, 'classes' is the property of the collection of inlines, which can be collapsed or expanded, whereas 'inline_classes' is a property of the inlines themselves.
source: http://readthedocs.org/docs/django-grappelli/en/latest/customization.html#collapsibles
Probably the easiest way to do that is to inject some jQuery code in custom template for that change model.

Resources