agshoward
Members-
Posts
19 -
Joined
-
Last visited
Profile Information
-
Activity
User/Merchant
agshoward's Achievements
Newbie (1/14)
2
Reputation
-
Hi, I'm limited in my php abilities and need some direction (prefer working example) of how I can have a function that adds two products from my catalog into the cart, one of the products is what the customer ordered the other is a custom item that needs to be added automatically. I currently do this thru a mod in the ajax-cart.js under the BlockCart module, it works to a point but at times it misses adding the second product - I need something that is a little more repeatable. I'm using cookies to do this and use the same cookies to make some other custom attribute changes such as custom text. thanks in advance to any help you can give. regards Andre
-
How to: add two products at the same time with ajaxcart.add?
agshoward replied to agshoward's topic in Core developers
Thanks Math_PHP, that is the idea I want a different product to be added to the cart without the user having to select it. I'm using the double call today and it works but it not elegant as you say - also at times the additional or even original product never makes it to the cart. How did you do the override? I have never looked at that so would be interested. To give some context: I have a T-Shirt shop that has a jquery popup for selecting type of sayings and colours as well as whether front or back or both are printed. If the clients pick both sides I add an additional product from the catalog that is for customisation which also has a small fee associated with it. Once all the right selections are made the client saves the information and with using cookies I then add the respective items to the cart. I have thought about packs, but I'm looking for my jquery popup to handle the multiple selections not the store itself. thanks for any direction/input you can give. Andre -
Hi Is it possible to have one ajaxcart.add call add two products from your catalog at the same time? I can see how to make it work for one, but cannot work out what to do to add an additional product id so two differing products appear in the cart. My current method has issues and doesn;t always work. thanks Andre
-
Add custom price to product during 'add to cart' process
agshoward replied to agshoward's topic in Core developers
Still no update- anyone ever come across this need?- 5 replies
-
- cart development
- price
-
(and 1 more)
Tagged with:
-
Add custom price to product during 'add to cart' process
agshoward replied to agshoward's topic in Core developers
Any one been able to review this? I'm still having the issue...- 5 replies
-
- cart development
- price
-
(and 1 more)
Tagged with:
-
Hi, Looking to find out how I can drive business up thru showing on sale imagery on the front page home featured block? It works fine on the products pages themselves but nothing on the home page to show customers we have sales. thanks Andre
- 1 reply
-
- 1
-
Add custom price to product during 'add to cart' process
agshoward posted a topic in Core developers
Hi All, I'm looking for methods that are better than the current solution I have. The issue I have is that I wish clients to order and customize a product, any customisations are an additional cost (in this instance $2), however on some instances of this process I see the additional fee product added and then it is automatically removed, thereby changing the price. (To demonstrate try http://www.itsapreemiething.com and look at the print on demand shirts and using the T-Shirt Wizard use any double sided setup) Today, I do the following in AJAX-CART.JS, it works well enough by adding to products into the cart for the customer one of which is the custom fee product. You'll notice the product id = 80 and I do two instances of the ajaxCart.add function to get them into the cart. var pid = 80; var idcomb = ""; var qtywant = $('#quantity_wanted').val(); var si_customcost = " <strong>Additional Customization Ordered</strong>"; ajaxCart.add( pid, idcomb, true, null, qtywant, null, si_customcost); var si_instructions = "<br /><strong>*** Double Sided *** </strong><br /><br /><strong>Custom Front: </strong>" + si_FBCC_F + "<br /> <strong>Front Text Color: </strong>" + si_ColourFBF + "<br /><br /> <strong>Custom Back: </strong>" + si_FBCC_B + "<br /> <strong>Back Text Color: </strong>" + si_ColourFBB; //Additional Fee setup //End Additional Fee setup ajaxCart.add( $('#product_page_product_id').val(), $('#idCombination').val(), true, null, $('#quantity_wanted').val(), null, si_instructions); So the question is??? Is there a better way than what I'm doing above, if the above is the only way how would I add a delay so that I can ensure that both items are added to the cart and minimize the removal piece that happens? thanks Andre- 5 replies
-
- cart development
- price
-
(and 1 more)
Tagged with:
-
Thanks Marty, In the attached image is a snapshot of my cart, as you see I have 2 products the are identical other than the text colour and saying are different. For the one labelled 'standard saying' it is a fixed price. The other is a 'custom saying' for this one I add an additional product called 'Custom Saying Ordered'. What I'm trying to achieve is that when a client picks a custom saying (thru the 'Shirt Configurator' popup) then the price of $2 is added to that product, therefore removing the need to add an additional product called 'Custom Saying Ordered'. The popup stores the customer selection in cookies and then I re-read these back into the AJAX-CART.JS file to process, these following lines is how I get the additional product added. var idcomb = ""; var qtywant = $('#quantity_wanted').val(); var testcartdata = ":" + pid + ":" + idcomb + ":" + qtywant; var si_instructions = "Custom Saying: " + si_instructions2 + " | Text Color: " + si_instructions1; var si_customcost = "Custom Saying Ordered" ajaxCart.add( pid, idcomb, true, null, qtywant, null, si_customcost); ajaxCart.add( $('#product_page_product_id').val(), $('#idCombination').val(), true, null, $('#quantity_wanted').val(), null, si_instructions); I was hoping to just change something here to just add $2 to the actual product cost, but this is where I'm stuck. thanks
-
All, Our new site is still under development but I have, I believe, a simple ask but I can't see how to implement it. We have a custom T-shirt printing business and we allow for some custom orders, for those orders I have a custom product item which is added to the cart once the customer selects the sayings/colours they need. The problem is, even though I can add this extra product item (the cart has 2 products for the one ordered item) with it's own price $2, it doesn't stop someone removing that additional product and the $2 is then removed from the total. So the ask is: How can I add an additional price to a product, without having to have a product? I'm looking thru blockcart.js as I believe it there but not sure as I can't see many references to price. An example: Product 1 - $18.95 Product 2 - $2 Both get added to cart making a total of $20.95, but I can remove Product 2 and reduce the price, all I need to do is add $2 to product 1 so the cart only has one product of $20.95, I can handle all the other customizations I need. Hope this makes sense I can provide images etc if needed, as site is offline till I'm complete. thanks Andre
-
Hi, Our new site is still under development but I have I beleive a simple ask but I can;t see how to implement. I have a custom T-shirt printing business and we allow for some custom orders, for those orders I have a custom product item which is added to the cart once the customer selects the sayings/colours they need. The problem is, even though I can add this extra product item (the cart has 2 products for the one ordered item) with it's own price $2, it doesn't stop someone removing that additional product and the $2 is then removed from the total. So the ask is: How can I add an additional price to a product, without having to have a product? I'm looking thru blockcart.js as I believe it there but not sure as I can't see many references to price. e.g. Product 1 - $18.95 Product 2 - $2 Both get added to cart making a total of $20.95, but I can remove Product 2 and reduce the price, all I need to do is say Product 1 is a custom order and add $2 to it so the cart only has one product of $20.95. Hope this makes sense I can provide images etc if needed, as site is offline till I'm complete. thanks Andre
-
Hi, I'm Using PS 1.4.4 and have applied some core modifications that Tomer provided (Presto-Changeo), this enabled me to get drop downs for selective additional items on products, this is wokring great and I'm making some changes to allow certain products to get the drop downs and other not dependent on what they are. I now have a need to be able to add an extra product to the cart based on a product selection automatically. e.g. Client selects various items for the shirt, such as colour, size, print colour etc they also want a custom saying. So they select a radio button for the custom saying instead of the provided sayings in the drop down, they then fill in the custom saying - on add to cart - this text and the other product items are added to the cart - what I also want to do is add an extra product that covers the cost of the extra work for the custom saying. i.e. Blue Shirt, Size Large, Qty x 2, Print Colour Blue, Custom Saying of "PS Rules!" - when they add to cart, there would be two products - one for the shirt and the other for the costs for the custom saying as an example, the shirt would cost $23 and I want to add $2 for the custom saying. (It's this latter piece I want to have done automatically) thanks in advance Andre
-
Hi, I'm looking to add a new field to our products listings, however this new field should not be linked to stock quantity or combinations. We have a T-Shirt business and print variable sayings, the same list of sayings can go on any size/colour shirt, for example: Col: Green Size: M Col: Blue Size: L Each of these can have a different saying (selectable from a dropdown list), but I only want to have stock for the colour and size. So the question is, how do I get this new field to be shown for someone to order and then have that same field show on orders and invoices and not have to create huge amounts of combinations or be continually moving stock? Note: I looked at AWP from Presto-Changeo, while that a super module it does not do this one function. thanks in advance Andre
-
Hi, I'm looking to add a new field to our products listings, however this new field should not be linked to stock quantity or combinations. We have a T-Shirt business and print variable sayings, the same list of sayings can go on any size/colour shirt, for example: Col: Green Size: M Col: Blue Size: L Each of these can have a different saying (selectable from a list), but I only want to have stock for the colour and size. So the question is, how do I get this new field to be shown for someone to order and then have that same field show on orders and invoices and not have to create huge amounts of combinations or be continually moving stock? thanks in advance Andre Solved: Used Presto-Changeo's core modification and have what I needed working, would be great as a module but still it works!!