modules/shop/html/index.ihtml

2

(5 replies, posted in phpShop Discussions)

Try modules/shop/html/index.ihtml.

The link is no longer around.  I am not sure how helpful it was to begin with, but I think you should take a look at this link to get a little bit of help:

http://www.nivar.com/phpshop/Amanda%20phpShop.html

Hi there, I checked and as it turns out that post is missing the code.  As you can tell, we have restored the previous forum software thinking that the code might have been lost during the conversion, but it simply is not there. 

You may want to post to that thread and see if the original poster would be kind enough to repost the code.

The broken link at http://www.phpshop.org/support has been fixed.  Thanks for pointing that out.

PM me.

6

(1 replies, posted in phpShop Discussions)

What is peer-to-peer commerce?

Sounds like your remote server may be complaining about something and you are not seeing it.

Try putting this at the top of your index.php file:

error_reporting(E_ALL);

See if this generates any output that will help you debug the issue on the remote server.

You chance payment methods in the admin area of the site.  What each payment method requires can be customized in the ps_checkout file in the checkout module. You may need to add code similiar to:

if payment method = bank transfer, then....

You get the idea!

Thanks.

8

(2 replies, posted in phpShop Discussions)

Take a look at the flypage.html in modules/shop/html.

You should see where the image is displayed and how the dimensions are set for the image.

9

(2 replies, posted in phpShop Hacks)

Hi there, at the moment, the software is not easily translatable.  The next release will be better prepared for translation. Stay tuned... :-)

10

(1 replies, posted in phpShop Hacks)

Not that I am aware of.

11

(3 replies, posted in phpShop Discussions)

Turn on DEBUG in your etc/config.php file.  Look at the execution time.  What's it show?

12

(2 replies, posted in phpShop Bug Reports)

As specified in the INSTALL.txt file:

!!Step 1.
Make sure you have PHP 4.3.4 or higher
a.  Make sure that magic_quotes_gpc is ENABLED.  This can be done by editing the php.ini file. For more information on how to do this, please refer to the PHP manual.


Is magic_quotes_gpc enabled in your php configuration?

Try http://trac.phpshop.org/wiki/UserGuide1 for clues. :-)

Turn on DEBUG in the WEB-INF/etc/config.php file.  Then watch the session ID, does it change at any point?

I do not recognize: product_s_desc_guardar & product_desc_guardar

I don't think that's part of the standard phpShop install.  What version of phpShop are you running?

16

(2 replies, posted in phpShop Discussions)

Turn on DEBUG in the config.php file.  This may reveal a bit more information about what the problem is.

Glad to hear you got it working!

I am not sure what's slowing things down.  It's not normal.  My suggestion would be to time the function somehow to see if you can determine what part is slow.   That may lead you to the cause.  But I find it very strange since a normal install does not have a delay on the checkout.  What OS, PHP version, etc. are you using?  Not sure if that will help any.  Try to narrow it down and i will see if I can help.

Instead of coding this logic in the thankyou.ihtml page, you should do this inside the checkoutComplete function.

The checkout complete function is executed in the checkout module's ps_checkout->add method. 

You could probably check the payment_method_id in the add() method and then set a variable that will be captured by the thankyou.ihtml page which redirects you.  Or you can simply redirect the user from inside the ps_checout->add method using a Header("location: $url") type of call.

The point is, that the ps_checkout->add method is the place to make any changes to the checkout process.  It will also allow you to specify which page to show after the checkout...

I hope this helps.

Hi there,
Permission denied error tells me it has to do with file permissions.  I don't know how to do this in windows, but you essentially need to make sure that the image files are writable by the web server user.  In UNIX, this could be accomplished by doing a

chmod -R 777 images

This would make the files writable by all users.  You need to do the equivalent in Windows.

I hope this helps.

Please have a look at the readme file included with phpShop.  It explains how page to page flows work. 

In essence:

1.  The func argument specifies which function to execute before the view.
2.  The page argument is what page to view.

You will notice that all forms have a hidden variable "func".  This specifies the function to run.  You can see what php class->method that function corresponds to by checking the modules in the admin area.

I hope this helps.

Thank you.

21

(12 replies, posted in phpShop News)

All you need to do is add .ihtml  to the list of files that Dreamweaver recognizes. 

See http://kb.adobe.com/selfservice/viewCon … ;sliceId=2

You need to follow the instructions very carefully. 

I do not know anything about the ihtml_tags.xml file.  Please ignore this.

Thanks.

22

(12 replies, posted in phpShop News)

effectwave wrote:

Hi,

Where exactly is this manual? I have tried reading the txt files in the docs folder, and I could get the cart installed on my server. But what next? How do I customize the cart and integrate it with my design? And how do I edit those .ihtml files? I am a newbie to this stuff. can you please help?

Try the following link: http://trac.phpshop.org/wiki/UserGuide1

Also, take a look at the FAQ thread in the forums:  http://forums.phpshop.org/viewtopic.php?id=3995

Cheers.

23

(12 replies, posted in phpShop News)

Please check the "Manual"  once again.  I have updated it with more information on getting help for using phpShop. Thanks.

24

(4 replies, posted in phpShop Discussions)

There is no support for multiple vendors in phpshop.

25

(2 replies, posted in phpShop Bug Reports)

Did you import the phpshop.sql file?  This is the file that creates the tables, etc.  Take another peak at the installer text and see if that step is in there :-)