To show product on a particular category - magento

I am trying to show a customer his active subscription that he has purchased till a date. I have a category called my subscription what I want is that when a user logged in and he purchased a subscription further he goes to another category called my subscription where he can see his subscription I want to show his subscription (i.e virtual products) on that category. Right now neglecting the logged in condition I just want that user fetch sku from database and show at any category where I want.
I am not able to bring the product as a whole but able to collect product information.

Related

Hide Products from customers and view only for retaillers

Need hep about hiding new products from customers and view them only for retailers group. simply new products can be viewed for some time only for retailers. retailers can view all products but normal customer can view old products only. I have searched web but I could only find ad-min privileges and giving retailers price. Using Magento 1.8

Get quote id on admin new order create page

I want to add one price match textbox when admin try to create an order.
Like this:
so when customercare got a customer for price match they just enter amount difference then we give total discount to customer. But I am faceing big problem so when user add amount press enter I am pinging one controller but in that controller I am not able to get quote id I am using:
$session = Mage::getSingleton('adminhtml/session_quote')->getQuote();
echo $session->getId() or $session->getQuoteid();
But I am not able to get quote id. And is there any why we can do that. Because we don't want customer item price we want to give full cart discount which help our account team to do there work easily.
There is one more default way to do this.
1) When you create an order from backend, you enter the customer detailed first.
2) When order page opens, there is a button where says "Add Products", click on it, select the product you want to map with this order.
3) Later, customer will tell the price which means you want to have custom price. In this case there is a checkbox called 'Custom price' under every product item you have added with "Add Products" option (Inside "Items Ordered).
4) When you click on this checkbox, an input will be visible in which you can enter the discounted price. Once you enter the custom price, click on the button below called "Update items and qty's".
5) Item's price will get updated with your custom price. You can proceed with the further order processing now :)

Magento admin order minimum value based on customer group

I want to set a condition by which I can restrict my admin to create orders for specific customer group.
The condition is minimum order value.
If the customer group is 'wholesale' then they have to order minimum $50.
I have already set this in frontend. In cart.phtml I put up a condition by which customer cant see the "proceed to checkout" button. And also I disabled the "place order" button for a specific customer group if someone directly accesses the checkout page from the URL.
But I also have to set this up in the admin panel. Where we can manually create orders.
There I have to also set the condition so that wholesale customers have to purchase more than $50.

Magento - Notification of refund order

In magento, how do we send the client a notification from the website that an order has been refunded? and can we update the status to show that it was refunded?
Magento version : 1.7.0.2
From the Magento User Guide. See Step 6 below for e-mail notification.
Refunding
You can create a record of a product refund from an existing order by generating a
credit memo.
To view the list of refunds made in your web store:
From the Sales menu, select the Credit Memos option to display the Credit Memos page.
To refund a product from an existing order:
Note: You can create credit memos only for orders for which invoices were created. Without an invoice, an order is assumed not to be paid so that there is nothing to refund.
In the Admin Panel, select Sales > Orders to display a list of the existing orders.
Click the View link on the right side of the row of the desired order to display the
order view page.
Click the Credit Memo button to generate a credit memo.
Scroll down to the Items to Refund area, and in the Qty to Refund field of each
relevant product, specify the quantity of products to refund.
To specify that this product was actually returned to the web store, select the Return
to Stock check box.
6. (Optional) Select the Email Copy of Credit Memo check box to automatically send an email to the customer that the order has been refunded. You can also adjust the refund totals to match your business rules.
Managing Orders and Customers
Click the Refund button at the bottom of the page. The total of the order from which
this product was refunded is updated automatically.
Click the Back button to return to the orders page where you can create additional
orders, if required.
Note: Refunding an order in Magento CE does not cause an actual payment refund. You must refund the payment on your own. The credit memo is only a record used to track the refunds and to provide proper values in the reports.

Retrieve product subscription alerts from a customer in Magento

I'd like to create a new area on the «My account» section that shows to the customer all the products he's been subscribed to by clicking on the «Sign up to get notified when this product is back in stock» button in the product page (a product that is not in stock, of course).
There is other thing that I'd like to do related to this. When customers click on that button, it's still present on the product page, even when the customer has already clicked on it. How can I make this button disappear when the customer has already clicked on it?
I finally found the solution for this. It's really easy. To get the products that a customer has been subscribed to:
$customer_product_alerts = Mage::getModel('productalert/stock')
->getCollection()
->addFieldToFilter('customer_id', $customer_id);
This is for stock alerts. If it comes to price alert, just use the productalert/price model.

Resources