Magento: Special Price not Visible in Product Information - magento-1.6

I am using Magento 1.6.1.0 and would like to use the special_price attribute (which is enabled for 'All Product Types'). Like so:
However the special price field, which I have seen visible on countless screen shots from other systems, is not visible. Here's a screen shot of my 'prices' tab in the product information editor:
What have I missed here? As you can see from the screen shot, the Tier Price is showing (and working) completely fine. Do I need to enable the special price attribute elsewhere?

I had the same issue, I found a fix that worked for me. Under the attributes list, I searched "price" found an existing "special price" attribute. I had to edit the "apply to" section to in my case "all product types" but would also work for any particular product type. Hope this helps someone else.

so, as i see you have attribute value set as required, but i dont see any red asterisk symbol (*) near to it. and actually i dont see on screenshot Special Price field either??
so all you need is:
create attribute.
name it Special Price with code special_price.
set to Display on product page.
Add it to your Attribute Set.
edit product and enter Special Price value.
then call it on product view.
there is no magic. i dont see what you have done exactly. But it looks like you did something wrong.
ps. by the way isnt it default Magento feature?? Special Price with dates From/To??
have you modified your core features somehow??

Related

Outputting Shopify product metafields as HTML

I'm working on a custom code block for the Tapcart app version of my e-commerce site on Shopify. They have the ability to add HTML, CSS and/or JS in a custom code block.
However, I cannot get the html to output the custom fragrance notes (my custom metafield) for the product. Matter of fact, I can't get anything to output- it's just blank.
Thoughts? Appreciate your help!
{{product.metafields.custom.fragrance_notes}}
I tried {{product.metafields.custom.fragrance_notes}} expecting it to output the plain text multi-line of each individual product's fragrance notes (which I have as a custom metafield for each product) but instead nothing displays at all.
When asking for metafield data you can often meet with success by asking for the value stored at that key.
{{product.metafields.custom.fragrance_notes.value}}
Since the namespace is custom, the key is fragrence_notes and what you want to use or display is the value. So it is a key:value thing.
Of course, if your metafield is empty, you won't see anything no matter what.

Custom shipping method admin form issues

I've created a custom shipping integration (based on this guide) that calculates the shipping price based on a percentage of the subtotal. This percentage is set in the shipping method settings.
Everything works fine on the frontend part, the shipping price is calculated correctly.
The problems I have lies in the admin backoffice, in the shipping method settings page. The first problem that I have is that the text box to set the percentage is preceded by the currency, which will confuse the user as it is expecting not a flat rate price, but a percentage of the order's subtotal.
I have the same problem on the list of added shipping methods, the value I set is preceded by the currency, and this is not good.
There is a "add a template" section in the guide which I followed, but the template doesn't seem to affect anything. I tried putting bogus letters in the template and clearing the cache, but they did not appear anywhere on the settings page.
What I would like to do here is either remove the currency indicator completely, or to replace it with a %.
The second problem I have is that the language isn't taken into account. I have created a messages.en.yml file and a messages.fr.yml file. Both follow the same structure of course, and all strings are translated. But if I set OroCommerce in French, I don't get my translated strings, but the english ones.
Here's a screenshot that shows both my problems :
(Strings like "Price percentage" should be translated)
Do you have an idea on how I could fix these issues? Thanks.
Currency is added in shipping-rule-method-view.js. You can override this JS view with the map section in jsmodules.yml configuration file.
Based on Andrey's answer, I managed to have something that works. I'll add a few more details for anyone that had the same issue.
For the issue with the translation, it seems that renaming the file by adding the locale messages.fr_FR.yml fixed the issue.
Concerning the currency part on the admin menu, you have to create a jsmodules.yml file in the Resources/config folder of your bundle, NOT Resources/config/oro, which is why none of my configs were taken into account.
When writing your jsmodules file, when using map, if you're overriding a JS file, you have to omit the file extension. When you're overriding something else, say an HTML file, you have to put the file extension.
This is how my file is written :
map:
"*":
oroshipping/js/app/views/shipping-rule-method-view: gdmshipping/js/shipping-rule-method-view
There is one caveat, though. This will replace the display for all shipping integrations, so the currency symbol will be replaced/removed for all other shipping types, such as Flat Rate, so keep this in mind.

new category appears near home page tite, why?

I installed PrestaShop 1.7.1.2 and I added many categories, one of them appears on the top menu of the front page, only a specific one of them. I don't know why, I didn't add any products to it.
you can see it by browsing to prestashop.tux-in.com and near the CLASSIC title which is a link to the homepage, DIFFERENT HOLDERS is also shown there which is an empty category. what am I missing? why is this category alone is shown there?
how can I remove it ?
It seems it coming from top horizontal menu module, please check it in admin under module section and remove it.

Custom odoo module - how to make a table

I am creating a custom module with additional part numbers on a separate tab in the products screen. I have built the module, but am having trouble figuring out how to display the information so it matches the layout in the attached image. I have tried tree view but have not been able to get the fields on the same line. Can this only be accomplished through css or is there a table view that I am not aware of?
I also need to make sure that all of the information in row 1 stays tethered together for additional forms, etc. My plan is to make the field names for each row end with a different number (i.e. x_mfrname1,x_mfrpn1,x_mfrname2,x_mfrpn2, etc.). Can somebody please just tell me if I am on the right track. This is the initial Odoo setup for a client of mine and I don't want them to come back to me down the line and find out I forgot something. I have been scouring the internet and reading a few books but I am not completely confident.
Here is a link to a layout of what I am talking about:
MFG Part Number Tab
Thanks!
class sub_part_details(models.Model)
_name='sub.part.detail'
primary_pn=fields.Boolean('Primary P/N')
obsolete=fields.Boolean('Obsolete')
pn=fields.Char('P/N')
desc=fields.Char('Description')
upgrade=fields.Char('Upgrade')
part_detail_id=fields.Many2one('part.details')
class part_details(models.Model)
_name='part.details'
cat=fields.Char('CAT')
sub_ass=fields.Char('Subassembly')
main_ass=fields.Char('Main Assembly')
notes=fields.Text('Notes')
sub_details_ids=fields.One2Many(''sub.part.detail','part_detail_id')
It might be helpful

Rally software cardboard with only a iteration dropdown and defects cards

How do I create a cardboard in Rally Software that has just an iteration dropdown and a defect list. I have tried the examples on the dev site and they give me user stories and defects. I just need the defects.
If you look at the example on this page, you will need to change this line:
types : ["Defect", "HierarchicalRequirement"],
to this
types : ["Defect"],
-- Mark
actually, not sure that page has the example tied to iteration dropdown. However, I went through this myself :) Check this post out, and take the above advice on that code. Rally Custom Kanban
on that code, you will want to replace the
a
b
c
etc
with the names to your column headers, and also assign it the proper field to look at (code uses KanbanState field.