katrinamonarco Posted May 20, 2015 Share Posted May 20, 2015 I have an Cigarette item in osCommerce that includes product attributes. When I click the Add to Cart button from the product_info.php page it should go directly to the shopping_cart.php page. However, it only keeps redirecting the customer back to the product_info.php page. Link to comment Share on other sites More sharing options...
Dan Cole Posted May 20, 2015 Share Posted May 20, 2015 I don't know for sure but I seem to recall reading that it does that if the attribute is not selected....see if it makes any difference when the attribute is selected. Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
auzStar Posted May 21, 2015 Share Posted May 21, 2015 @@katrinamonarco Hi Katrina, Have you checked this setting in "admin->configuration->my store->Display Cart After Adding Product"? It is true that you should be re-directed to the shopping cart when adding a product to the cart from the product info page (with or without attributes) when Display Cart After Adding Product is set to "true". The only time this is not the case is if you add to cart a product that has attributes from any where other than from within the product info page, in this case you will be sent to the product info page. Which osC version are you running? Has any code been modified or have you added an attribute add-on? Does the problem only happen with this particular product, have you created other product attributes to test? Can you supply a link to the site for us to look at? cheers My Add-onsAdvanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download SupportAjax Product Listing for osC 2.3.4 (bootstrap) Download SupportCategory New Products Carousel for osC 2.3.4 (bootstrap) Download SupportCategory Popular Products Carousel for osC 2.3.4 (bootstrap) Download SupportCustomer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportFront Page New Products Carousel for osC 2.3.4 (bootstrap) Download SupportIndex Nested - Product Listing for osC 2.3.4 (bootstrap) Download SupportMatch Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download SupportModular Category Page for osC 2.3.4 (bootstrap) Download SupportNEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download SupportNEW Equal Height Module for osC 2.3.4 (bootstrap) Download SupportProducts Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download SupportTwitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportUpcoming Products Modules for osC 2.3.4 (bootstrap) Download Support Assisted Add-onsScroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support Bootstrap Add-ons created by other membersosCommerce Bootstrap Addons and Code Link to comment Share on other sites More sharing options...
katrinamonarco Posted May 21, 2015 Author Share Posted May 21, 2015 Hi auzStar, I have set Display Cart After Adding Product is set to "true"...but Still Geting Same Problem... ► Which osC version are you running? I have use Oscommerce V2.3.4 ► Has any code been modified or have you added an attribute add-on? NO ► Does the problem only happen with this particular product, have you created other product attributes to test? it's Problem with All Products ► Can you supply a link to the site for us to look at? http://www.vapoorzon.com/1453-atomizer-p-106.html Link to comment Share on other sites More sharing options...
auzStar Posted May 21, 2015 Share Posted May 21, 2015 @@katrinamonarco Katrina, It looks like your product_info.php page has been modified to the extent that the "Add to Cart" button isn't capturing the attributes. The "cart_quantity" form is missing, possibly due to modifications or add-on addition to create the non-standard "Quantity" field. The "cart_quantity" form has been ripped out, and that's what normally captures the attributes when the "Add to Cart" is clicked. The background processes are spitting this "Add to Cart" attempt back out (for good reason) because they recognise that the product is supposed to have an attribute selection included with it when being added to the cart. Can you get who ever made the changes to correct the problem? My Add-onsAdvanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download SupportAjax Product Listing for osC 2.3.4 (bootstrap) Download SupportCategory New Products Carousel for osC 2.3.4 (bootstrap) Download SupportCategory Popular Products Carousel for osC 2.3.4 (bootstrap) Download SupportCustomer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportFront Page New Products Carousel for osC 2.3.4 (bootstrap) Download SupportIndex Nested - Product Listing for osC 2.3.4 (bootstrap) Download SupportMatch Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download SupportModular Category Page for osC 2.3.4 (bootstrap) Download SupportNEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download SupportNEW Equal Height Module for osC 2.3.4 (bootstrap) Download SupportProducts Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download SupportTwitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportUpcoming Products Modules for osC 2.3.4 (bootstrap) Download Support Assisted Add-onsScroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support Bootstrap Add-ons created by other membersosCommerce Bootstrap Addons and Code Link to comment Share on other sites More sharing options...
katrinamonarco Posted June 23, 2015 Author Share Posted June 23, 2015 Thanks auzStar, It's done Thank you so much Link to comment Share on other sites More sharing options...
katrinamonarco Posted June 23, 2015 Author Share Posted June 23, 2015 @auzStar Hi auzStar, One more Issue with ocPOS - OllaCart Point of Sale.. I have Integrate ocPOS - OllaCart Point of Sale in my osCommerce website and i have integrate Separate Pricing per customer in my main website. it's Working fine but don't show SPPC in ocPOS - OllaCart Point of Sale. Link to comment Share on other sites More sharing options...
auzStar Posted June 24, 2015 Share Posted June 24, 2015 @auzStar Hi auzStar, One more Issue with ocPOS - OllaCart Point of Sale.. I have Integrate ocPOS - OllaCart Point of Sale in my osCommerce website and i have integrate Separate Pricing per customer in my main website. it's Working fine but don't show SPPC in ocPOS - OllaCart Point of Sale. @@katrinamonarco Hi Katrina, Sorry, but I'm not familiar with these add-ons. Post an new topic for that or post in the support threads for those addon-ons, someone maybe able to help. In regards to the original question, I see that the cart "cart_quantity" form is back. The product link that you provided above doesn't have attributes, have you tested the attributes now? Also, the quantity doesn't work. I'll try to give a fix for that shortly. cheers My Add-onsAdvanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download SupportAjax Product Listing for osC 2.3.4 (bootstrap) Download SupportCategory New Products Carousel for osC 2.3.4 (bootstrap) Download SupportCategory Popular Products Carousel for osC 2.3.4 (bootstrap) Download SupportCustomer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportFront Page New Products Carousel for osC 2.3.4 (bootstrap) Download SupportIndex Nested - Product Listing for osC 2.3.4 (bootstrap) Download SupportMatch Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download SupportModular Category Page for osC 2.3.4 (bootstrap) Download SupportNEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download SupportNEW Equal Height Module for osC 2.3.4 (bootstrap) Download SupportProducts Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download SupportTwitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportUpcoming Products Modules for osC 2.3.4 (bootstrap) Download Support Assisted Add-onsScroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support Bootstrap Add-ons created by other membersosCommerce Bootstrap Addons and Code Link to comment Share on other sites More sharing options...
auzStar Posted June 24, 2015 Share Posted June 24, 2015 @@katrinamonarco To enable adding products to cart using quantity: In the file catalog\includes\"application_top.php" (back it up first), around line 354 (under the section "case 'add_product' :") find and replace the line below: $cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $attributes))+1, $attributes); with this: $cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $attributes)) + (isset($HTTP_POST_VARS['quantity']) && is_numeric($HTTP_POST_VARS['quantity']) ? $HTTP_POST_VARS['quantity'] : 1), $attributes); try that cheers My Add-onsAdvanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download SupportAjax Product Listing for osC 2.3.4 (bootstrap) Download SupportCategory New Products Carousel for osC 2.3.4 (bootstrap) Download SupportCategory Popular Products Carousel for osC 2.3.4 (bootstrap) Download SupportCustomer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportFront Page New Products Carousel for osC 2.3.4 (bootstrap) Download SupportIndex Nested - Product Listing for osC 2.3.4 (bootstrap) Download SupportMatch Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download SupportModular Category Page for osC 2.3.4 (bootstrap) Download SupportNEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download SupportNEW Equal Height Module for osC 2.3.4 (bootstrap) Download SupportProducts Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download SupportTwitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportUpcoming Products Modules for osC 2.3.4 (bootstrap) Download Support Assisted Add-onsScroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support Bootstrap Add-ons created by other membersosCommerce Bootstrap Addons and Code Link to comment Share on other sites More sharing options...
katrinamonarco Posted June 24, 2015 Author Share Posted June 24, 2015 @auzStar Thank you so much again.... :) Link to comment Share on other sites More sharing options...
auzStar Posted June 26, 2015 Share Posted June 26, 2015 I have an Cigarette item in osCommerce that includes product attributes. When I click the Add to Cart button from the product_info.php page it should go directly to the shopping_cart.php page. However, it only keeps redirecting the customer back to the product_info.php page. @@katrinamonarco Hi Katrina, Is it working with product attributes now? My Add-onsAdvanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download SupportAjax Product Listing for osC 2.3.4 (bootstrap) Download SupportCategory New Products Carousel for osC 2.3.4 (bootstrap) Download SupportCategory Popular Products Carousel for osC 2.3.4 (bootstrap) Download SupportCustomer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportFront Page New Products Carousel for osC 2.3.4 (bootstrap) Download SupportIndex Nested - Product Listing for osC 2.3.4 (bootstrap) Download SupportMatch Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download SupportModular Category Page for osC 2.3.4 (bootstrap) Download SupportNEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download SupportNEW Equal Height Module for osC 2.3.4 (bootstrap) Download SupportProducts Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download SupportTwitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportUpcoming Products Modules for osC 2.3.4 (bootstrap) Download Support Assisted Add-onsScroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support Bootstrap Add-ons created by other membersosCommerce Bootstrap Addons and Code Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.