Thanks Dr. Byte... it must be so much easier to do this stuff when you know what you're doing.![]()
Thanks Dr. Byte... it must be so much easier to do this stuff when you know what you're doing.![]()
Currently using ZEN CART v. 1.3.6
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
[quote=Webbo1969;243588]BEWARE: Newbie Zenner!![]()
I have a requirement whereby I wish to minimise the front-end of my shop ...(cut here)...
... Could somebody please advise me if it is possible to simply: (i) add product name, quantity available, price and shipping options to the database ONLY (ii) Turn off all front-end category and product details (iii) Acquire a product URL to add the product to the cart...? ... That's all I need.. but is it simple to do on Zen? If it is and somebody can explain the minimal process required I would be eternally grateful.
Webbo1969: you have a great idea! I saw you have resolved the first req, but haven't seen your answer to the above (2nd) part - Just add product name, quantity, price and shipping info to database ONLY -- cool! Can you post your finding here? thx!
gwu888
hi,
i am new to zen-cart. need your expertise on this.
i have follow the method that u give:
<form action="http://[your domain name]/index.php?main_page=product_info&cPath=[your cPath]/&products_id=[your products_id]/&action=add_product" method="post" enctype="multipart/form-data" name="cart_quantity" id="cart_quantity">
<input type="hidden" name="cart_quantity" value="1" maxlength="6" size="4" />
<input type="hidden" name="products_id" value="[your products_id]" />
<input name="image" type="image" title=" Add to Cart " src="includes/templates/template_default/buttons/english/button_in_cart.gif" alt="Add to Cart" />
</form>
i have change all the neccessary name, and paste this into the Text Editor.
but when i save or update to the database the & was replace with & in the action section as shown below
action="http://[your domain name]/index.php?main_page=product_info&cPath=[your cPath]/&products_id=[your products_id]/&action=add_product" method="post" enctype="multipart/form-data" name="cart_quantity" id="cart_quantity">
hence, it causes the product not added into the shopping cart.
how can i make the changes that the & remains the same.
Please help . Need this urgently.
Thanks ;)
I needed to do the same.
Here's what I did. I went to the product detail page, and looked at the source code.
I copied and pasted the following onto a static page outside of the cart:
<!--bof Form start-->
<form name="cart_quantity" action="http://www.wheeleez.com/cart/index.php?main_page=product_info&cPath=1&products_id=1&action=add_pr oduct" method="post" enctype="multipart/form-data">
<!--eof Form start-->
<!--bof Add to Cart Box -->
<div id="cartAdd">
<p>Quantity in Cart: 1</p>Add to Cart: <input type="text" name="cart_quantity" value="1" maxlength="6" size="4" /><br /><br /><input type="hidden" name="products_id" value="1" /><input type="image" src="/cart/includes/templates/template_default/buttons/english/button_in_cart.gif" alt="Add to Cart" title=" Add to Cart " /> </div>
<!--eof Add to Cart Box-->
</form>
It seems to work. I'm debugging it right now.