magento flat rate not working - configuration

I am trying to add flat rate for products in magento from system -> configuration -> shipping methods -> flat rate. These are the setting :
But flat rate is not appearing on front end :

Check that the cart shipping quote estimator is showing. If it is then it will only add flat rate shipping to the total if you select it after getting quote and then click 'Update Quote'.
If thats not the issue then you must have modified something either in your theme to hide, or an extension is breaking your totalling.

Related

SSIS - Loop Through Active Directory

Disclaimer: new to SSIS and Active Directory
I have a need to extract all users within a particular Active Directory (AD) domain and import them into Excel. I have followed this: https://www.itnota.com/query-ldap-in-visual-studio-ssis/ in order to create my SSIS package. My SQL is:
LDAP://DC=JOHN,DC=JANE,DC=DOE;(&(objectCategory=person)(objectClass=user)(name=a*));Name,sAMAccountName
As you know there is a 1,000 row limit when pulling from the AD. In my SQL I currently have (name=a*) to test the process and it works. I need to know how to setup a loop with variables to pull all records and import into Excel (or whatever you experts recommend). Also, how do I know what the other field names are that are available to pull?
Thanks in advance.
How do I see what's in Active Directory
Tool recommendations are off topic for the site but a tool that you can download, no install required, is AD Explorer It's a MS tool that allows you to view your domain. Highly recommend people that need to see what's in AD use something like this as it shows you your basic structure.
What's my domain controller?
Start -> Command Prompt
Type set | find /i "userdnsdomain" and look for USERDNSDOMAIN and put that value in the connect dialog and I save it because I don't want to enter this every time.
Search/Find and then look yourself up. Here I'm going to find my account by using my sAMAccountName
The search results show only one user but there could have been multiples since I did a contains relationship.
Double clicking the value in the bottom results section causes the under pane window to update with the details of the search result.
This is nice because while the right side shows all the properties associated to my account, it's also updated the left pane to navigate to the CN. In my case it's CN=Users but again, it could be something else in your specific environment.
You might discover an interesting categorization for your particular domain. At a very large client, I discovered that my target users were all under a CN
(Canonical Name, I think) so I could use that in my AD query.
There are things you'll see here that you sure would like to bring into a data flow but you won't be able to. Like the memberOf that's a complex type and there's no equivalent in the data flow data types for it. I think Integer8 is also something that didn't work.
Loop the loop
The "trick" here is that we'll need to take advantage of the
The name of the AD provider has changed since I last looked at this. In VS 2017, I see the OLE DB Provider name as "OLE DB Provider for Microsoft Directory Service"
Put in your query and you should get results back. Let that happen so the metadata is set.
An ADO.NET source does not support parameterization as the OLE DB does. However, you can apply an Expression on the Data Flow which surfaces the component and that's what we'll do.
Click out of the Data Flow and back into the Control Flow and right click on the Data Flow and select Properties. In that properties window, find Expressions and click the ellipses ... Up pops the Property Expressions Editor
Find the ADO.NET source under Property and in the Expressions section, click the Ellipses.
Here, we'll use your same source query just to prove we're doing the right things
"LDAP://DC=JOHN,DC=JANE,DC=DOE;(&(objectCategory=person)(objectClass=user)(name=" + "a" + "*));Name,sAMAccountName"
We're doing string building here so the problem we're left to solve is how we can substitute something for the "a" in the above query.
The laziest route would be to
Create an SSIS variable of type String called CurrentLetter and initialize it to a
Update the expression we just created to be "LDAP://DC=JOHN,DC=JANE,DC=DOE;(&(objectCategory=person)(objectClass=user)(name=" + #[USer::CurrentLetter] + "*));Name,sAMAccountName"
Add a Foreach Loop Container (FELC) to your Control Flow.
Configure the FELC with an enumerator of "Foreach Item Enumerator"
Click the Columns...
Click Add (this results in Column 0 with data type String) so click OK
Fill the collection with each letter of the alphabet
In the Variable Mappings tab, assign Variable User::CurrentLetter to Index 0
Click OK
Old blog posts on the matter because I like clicks
https://billfellows.blogspot.com/2011/04/active-directory-ssis-data-source.html
http://billfellows.blogspot.com/2013/11/biml-active-directory-ssis-data-source.html

How to hide tax , shipping & handling from cart and checkout

I am using Magento version: 1.9.2.2
I want to hide tax, shipping and handling from cart and checkout page of my app but didn't get any success been trying from last two days.
Followed some solutions(links attached) from the forums and various Websites but not getting any success for this please help to find any solution for this.
links which I've followed for this:
didn't work:
https://magento.stackexchange.com/questions/31603/how-to-remove-tax-from-cart-page,
https://magento.stackexchange.com/questions/54375/how-do-i-remove-total-excl-tax-from-cart-review-page
almost done the trick but tax appeared as soon as I logged in https://magento.stackexchange.com/a/63352 ,
Worked for a short period of time tax magically reappeared after some time
http://michaelsavin.com/magento-hide-tax-summary-from-cartcheckout/
Open admin panel, go to system > configuration > sales > tax > order, Invoices, Credits Memos display settings
then set Display full Tax Summery : No

Magento migration from 1.9.1.0 to Magento 2 doesn' show product in front end

I have installed Magento 1.9.1.0 with sample data, without error. After that installed magento 2x without error. Then i migrate content from 1.9.1.0 to 2x with data migration tool, and it completed. Products and almost all informations are migrated, and i can see product in Admin side. But couldn't visible for other users.It showing 'We can't find products matching the selection.'. What would be the problem???
To show the product, check if the product following options:
General->Status = Enabled
general->Visibility = Catalog,Search
Inventory->Qty > 0
Inventory->Stock Availability = In Stock
Websites = checking your site
Catgories = checking your category.
If you want checking product to subcategory, go to Catalog->Manage Categories->Select your category, open tab Display Settings and change option "Is Anchor" to "Yes". Save category

Prestashop csv import - multiple images on single product

I am attempting to mass upload products via csv import and using images that are stored on the host server however(URL Links) once the products upload i will get multiple images for one product that are not associated to the product.
I am running Prestashop 1.6.1.3
While uploading I have set my language on my Window PC to use semicolon separators instead of the comma so that my csv files work with prestashop.
I have had no problem doing this in the past with comma separated csv files and changing the separator value to the comma as instructed by prestashop but that upload list did not contain commas in the product description. This new list i am having trouble with does contain commas in the product description hence why I changed to a semicolon separated file.
What I learned after failed uploads:
Quotation marks will cause the descriptions to not load properly - solution was to replace 5" and 6' to 5in and 6ft when describing measurements.
Problem:
Import works fine but only uploads a certain number of products I have about 250 and probably 15 upload. When viewing the product in the admin portal everything is looking good except when you look at the images uploaded. Multiple images that do not correspond to the product appear. Images are saved by their ID/SKU number and end in .jpg
What I think is the problem:
Some image names contain a "-" in them for example XR1234-S.jpg
I believe that the dash "-" is causing the failure but cannot seem to resolve this even after removing the "-". Other possible problem could be since i change the separator value to semicolon the forward slash in the URL is not being recognized.

Is there any way to reorder fields in an SSIS flat file source?

I have an SSIS package using a tab delimited flat file source with a TON of fields. Recently the provider of the tab delimited flat file has decided to change the format of the flat file by sprinkling a couple dozen new fields at random into the file. Needless to say, this hosed the package.
Rather than rebuild another flat file source and redefine all the fields, types, and lengths all over again, is there a way to reorder the fields in the flat file source? Sure would have been nice if Microsoft allowed you to move the fields around in the Advanced Columns pane, but noooooo.
Any help is appreciated.
If you only need to add columns to your file, you can do that in the Flat File connection editor. In the advanced window, you can select the field next to the new one and click the chevron next to the New button. It will give you the choice insert before or insert after.
If you truly have to move things around, you'll need to edit the XML source. If you use the existing file definition as a guide, you can build the new one in Excel or T-SQL relatively easily. Easier than typing everything in all over again at least.
I had a similar issue: I needed to change the order of columns in my flat file destination. The time-saving approach I settled on:
Delete the FF destination and FF connection manager (note down file name/location!),
Clear the check boxes that enable output columns in the source component
Re-enable the columns in the order you want
Add a new FF destination and FF connection right from the FF destination's connection manager drop-down.
Review/sanity check column sizes in FF connection, as usual
Not a direct answer to the question, but I came here looking for advice on "how to rearrange flat file destination columns", perhaps this will help someone.
I haven't seen an solution for that problem. SSIS isn't very strong in changing metadata. You could try to do it in notepad, but that is very tricky and very buggy. I would not recommand that to you.
In the connection managers below of your IDE you can double click your file name and edit everything you want.
This is still a "feature" of SSIS. To work around this I create a flat file connection called "NULL" with a single column named "NULL". Use the "New" button to add the column. I change the default column name from "Column 0" to "NULL". This column name must not match any column name in the list to be re-populated. If you have a real column named "NULL", pick something else for the column name that's not in use. You can keep the "NULL" flat file connection in the project for later use. (I expect to need it a few more times in this project.)
For this example, I use a flat file destination. Change the Flat File Destination to use the NULL connection.
Check the mapping to see there are no columns mapped. Saving this resets the metadata stored for the mapping.
Finally, change the Flat File Destination back to the correct connection to get a new mapping without metadata interference.
My example is a flat file destination. It should work for a flat file source for resetting the metadata. It is similar to the trick of changing a query to "select 1 as [NULL]" and back to purge metadata when using a ODBC source or such.
you could probably try something, but i havent tested.. use expressions to set everything for your flat file source? turn design time validation off