Zen Cart Logo
Forums / General Questions / Javascript product pages and php basket?

Javascript product pages and php basket?

Views: 655

Results 1 to 3 of 3
9 Oct 2014, 9:09 AM
#1
mattjb avatar

mattjb

New Zenner

Join Date:
Oct 2014
Location:
Peterborough
Posts:
1
Plugin Contributions:
0

Javascript product pages and php basket?

Hi,

Does Zen Cart support JavaScript code for use on the product pages? I want to use Javascript because I want to keep the product pages as HTML pages. I do not mind having a PHP basket page.

Does Zen Cart support this JavaScript coding for product pages?

Thanks,

Matt.

9 Oct 2014, 9:27 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Javascript product pages and php basket?

mattjb:

Hi,

Does Zen Cart support JavaScript code for use on the product pages? I want to use Javascript because I want to keep the product pages as HTML pages. I do not mind having a PHP basket page.

Does Zen Cart support this JavaScript coding for product pages?

Thanks,

Matt.

Curious if I understand correctly. You want to replace the current files for products that are written in php for html pages that use javascript to perform all of the functions that the current php does like recognize sales for products, attributes of different prices and settings, image handling etc...

And what is meant about keeping html pages? All content is displayed as html, so without any "replacement" ZC supports Javascript already. Php allows the content to be displayed to be transient (constantly changing) where as a typical html page is constant text and information. Javascript can offer some of the same maleability, but. To use it to completely replace the existing structure of the store? I'm not against change, but I don't really see the benefit.

9 Oct 2014, 9:42 AM
#3
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Javascript product pages and php basket?

I suspect you want to keep your current website, and use zen-cart as an add-on cart system.
Zen-cart is NOT designed to be used this way.
It is designed to BE THE website