I hope someone has used Crinsane/LaravelShoppingcart.
I'm using it to create a shopping cart and I've read the documentation but haven't seen anything regarding putting the product image in the checkout page.
I've only managed to get title, qty and price. All I need is the image
You can pass the object of the item when adding it to the cart and then you'll be able to retrieve any extra information you might need from each item.
Related
I am creating a website with mailchimp integration using their API. I am using their drag and drop cart block content feature, it seems that the price that is reflected in that block is not the price of the cart but the price of the product.
My first solution is to get the price using a cart merge tag, I have been searching for merge tags but cant find any website that provides me this merge tags.
I would like to use the cart price instead, does anyone knows how can I put the cart price? I've been looking for solution for this problem all day. I hope one of you can help me.
Thank you.
Check this video as well
https://www.youtube.com/watch?v=nTi4nU8ZOj0
You can use the merge tag ABANDONED_CART to create custom html for abandoned cart emails.
Example:
<table>
*|ABANDONED_CART:[$total=3]|*
<tr>
<td><img src="*|PRODUCT:IMAGE_URL|*"/></td>
<td>*|PRODUCT:TITLE|*</td>
<td>*|PRODUCT:PRICE|*</td>
</tr>
*|END:ABANDONED_CART|*
</table>
Go to Cart
The $total=3 in the ABANDONED_CART tag changes the number of products that will be shown.
*|CART:URL|* - Generates the url for your cart.
This doesn't seem possible. Here's a very recent list of available tags from mailchimp . There's no CART block or CART_PRICE tag.
I contacted mailchimp support with a similar query.
ME:
I'd like to customize the contents of the cart
block. The test emails/ abandoned carts I have created use the
checkout_url as the product image link within the template. Is it
possible to have the cart block product image link url set to that of
the product or the product link variant?
If that is not possible is there an equivalent PRODUCT_CART tag to
PRODUCT_RECOMMENDATIONS as documented here
http://kb.mailchimp.com/merge-tags/all-the-merge-tags-cheat-sheet#Merge-Tags-for-Product-Recommendations
that I could use to construct my own abandoned cart email, not using the
predefined cart block drag and drop content block.
In summary:
1) Within the cart block is it possible to have the product images link
to the products and not the checkout_url?
2) Is there a tag not listed in
http://kb.mailchimp.com/merge-tags/all-the-merge-tags-cheat-sheet to
iterate over cart products?
SUPPORT:
There is not a way to change the URL linked to the product image. Additionally, those products must be pulled in using the abandoned cart content blocks, and cannot be populated using a merge tag.
That being said, I do agree these would be great options to have, and I would be happy to pass that feedback along for you. Our developers monitor these suggestions and often use that feedback for future versions of the application. So thank you for giving us your idea, as it may be very useful for a lot of our users in the future.
Let us know if you have any other questions on this, and have a great rest of your day.
I have a website and I need customers to upload images on our website for printing them on products. So, I have tried the custom option in magento but it did not work for me, it every times give me the following error
please specify the product's required option(s).
Here is the link for the product
Please provide a solution
Note : It is a simple product and I have added all the required option(s).
Firstly this error is not related to image uploading! it can happen under different circumstances mainly because one missing required parameter prevents Magento (or better to say add to cart controller) to add the product to the cart (this follows the logic that Magento should know what exact simple product is to be added to the cart). Have a look at these related questions: first this one: 1, then: 2, 3, 4. Eventually if you have used some code please add it to your question (what do you mean by you've tried the custom option?).
On the other hand if your case is just with uploading the image you can use: Varien_File_Uploader class in Magento (example).
IMPO You can change your current logic by removing the upload option from product page, first letting the customer to add the product to the cart and then in next step upload their image(s).
I have a question regarding Magento. I want to be able to add a quantity box to the products that show up in the 'related products' list that is shown on the product detail page. This way a visitor can order a related item multple times instead of only once per action. I have been looking for a solution for this for over 2 weeks, but I can't seem to find anything usefull. Can anyone help me out?
Thanks in advance!
Think you need to edit this template: your_package/your_theme/template/catalog/product/list/upsell.phtml. If you do not have that file already in your theme, simply copy it in your theme and package following the rest of the path.
There you can add you Qty input box and add Add to Cart button and change the URL to include the qty. You should bear in mind that you may have also configurable/bundle products displayed as an up-sell, so you should cover these too.
We have an external site that has our product with a few options, and we want to pass that data from that site to the product page of the store so that the customer can update more attributes and add an image. I know there is a way to add it directly to the cart but we want them to stop at the product page first to answer more questions before adding to cart.
Is this possible?
Thanks for any help in advance.
I would use an observer to capture the event before the add to cart, and grab the values needed and set them on the product option of the PDP.
More details on the observer pattern can be found here:
http://www.magentocommerce.com/wiki/5_-_modules_and_development/0_-_module_development_in_magento/customizing_magento_using_event-observer_method
We have a SOAP connection to magento that is working great - we're able to pull product info, skus, descriptions, etc. using the magento API. We've been able to successfully add products to the cart programmatically with custom options, and that works great. The problem is this:
When you create a custom option for a product, it is assigned a unique ID that has to be called in order to pass that option value to the cart. For example:
www.mysite.com/magento/checkout/cart/add?product=7&qty=1&options[OPTION ID]=robots
Assuming I have my custom option ID correct, this will add 1 product with the option "robots." Which is nice.
However, we have hundreds of products, and while they all use similar custom options, each option is given a unique ID. That means I need to be able to call the magento API and get custom options details (specifically the option ID) so that we can add them to the cart properly. I have been back and forth with Varien Support (Magento), but they are less than helpful, as usual. Now, I know I can find these options by using firebug in Firefox or Chrome, which I've done to test the "add to cart" script. However, that's not a proper solution. I need to be able to grab this data from magento based on product id.
Can this really be that hard? Shouldn't this be tied to the data for the product somehow? I've done a var_dump on the catalog_product.info and i see where it asks if there are options but doesn't provide any details on them. Thoughts?
Thanks in advance.
Do you need to get all options ids for specific products or just some particular? For the latter you can use this code:
$productEntity = Mage_Catalog_Model_Product::ENTITY;
$colorAttribute = Mage::getModel('eav/config')->getAttribute($productEntity, 'color');
$colorAttribute->getId();
For the first option code in this question might be useful How to get all super attribute options for a configurable item in Magento